Example
Proview Designer's Guide Chapter 13
Open Proview
- Ctrl+E
- MB1 $Hier
- MB2 right panel
- right key on Oxx $Hier
- ObjectName application
- MB1 ProjectReg
- MB2 in application $Hier
- right key on Oxx $ProjectReg
- ObjectName cpp
- Ctrl+E
- Yes
- Yes
- MB3 cpp Open Project...
- Next
- Next
- No
- Next
- Next
- Next
- Next
- Yes
Configure RootVolume
- Next
- Next
- Next
- MB1 Plant -> $PlantHier
- MB2 right panel
- right key on Oxx $PlantHier
- ObjectName plant
- MB1 AllClases -> pwrb -> XyCurve
- MB2 in plant $PlantHier
- right key on Oxx XyCurve
- ObjectName curve
- Ctrl+E
- Yes
/usr/local/pwrp/cpp/src/appl/ra_myappl.cpp
#include <math.h> |
On terminal
$ sdf cpp $ cd /usr/local/pwrp/cpp/src/appl/ $ g++ -g -c ra_myappl.cpp -o $pwrp_obj/ra_myappl.o -I$pwr_inc -DOS_LINUX=1 -DOS=linux -DHW_X86=1 -DHW=x86 $ g++ -g -o $pwrp_exe/ra_myappl $pwrp_obj/ra_myappl.o $pwr_obj/pwr_msg_rt.o -L$pwr_lib -lpwr_rt -lpwr_co -lpwr_msg_dummy -lrt
On proview
- Shift+Ctrl+B Node + B
- Tools -> Runtime Monitor
- Start Runtime
- File -> Start Runtime Navigator
- right key Database
- right key plant
- MB3 curve Object Graph
On terminal