pvbrowser ®

Process Visualization, HMI and Scada on Linux / Unix / OS-X / Windows / Maemo and OpenVMS
Main Menu: [Home] [Screenshots] [Server Programming] [Data Acquisition] [Documentation] [Download] [Links] [License] [News]
 06.09.2010
Intro
Project file
pvapp.h
main.cpp
mask1.cpp
mask1_slots.h
modbusdaemon.cpp
modbusdaemon.h

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.

visu

This is a screenshot of the running simple visualization.

pvdevelop

This is a screenshot of pvdevelop.

designer

This is a screenshot of the integrated designer within pvdevelop.


This page has NOT been optimized for a special browser. Valid HTML 4.01!

© 2000-2010 pvbrowser community discussion forum: http://tech.groups.yahoo.com/group/pvbrowser/