Programming a pvserver
pvserver programming is done with the pvdevelop IDE.
pvdevelop allows you to edit the sourcefiles and to graphically design your masks.
Also you can compile and run your pvserver from within pvdevelop.
pvdevelop will generate and update most of the sourcecode a pvserver is consisting of.
The task of the pvserver programmer is to code the "slot"-functions.
Also you can insert some code within the main() file.
Here we show the sourcecode for a simple pvserver with access to modbus.
The simple demo has only 1 mask.
The only code that was not automatically generated is within the "slot"-functions.
This is a screenshot of the running simple visualization.
This is a screenshot of pvdevelop.
This is a screenshot of the integrated designer within pvdevelop.
|