Application Running & Testing
You can test the application using the following commands:
Note
You must configure config.json
and vars.json
to align with your app requirements.
Run example in python:
cd $HOME/edgesdkexample
python3 main.py
For debugging, we suggest testing your application against an external Modbus Server (not HCC2) to make sure that the application is able to read and write data and that it performs the calculations correctly.
You may use the Modbus Simulator detailed in the SDK Overview section or use an external Modbus simulator of your preference. Once you are certain that your application runs, then you must prepare the application to be deployed to the HCC2 Hardware target.