Hi Claes,
ok, i configured my class with popup menu, $buffer type is ok;
when use the class in my project, add the new object function in plc editor and when build the program in terminal window the following c-compiler errors appear:
In file included from /usr/local/pwrp/maurizio2/common/tmp/plc_m000_001_001_002_0000001b.gc:22:
/usr/local/pwrp/maurizio2/common/tmp/plc_cod000_001_001_002_0000001b.gc: In function 'M000_001_001_002_0000001b_exec':
/usr/local/pwrp/maurizio2/common/tmp/plc_cod000_001_001_002_0000001b.gc:2: error: 'plc_t_rtdbref' has no member named 'In1'
/usr/local/pwrp/maurizio2/common/tmp/plc_cod000_001_001_002_0000001b.gc:2: error: 'plc_t_rtdbref' has no member named 'In1P'
/usr/local/pwrp/maurizio2/common/tmp/plc_cod000_001_001_002_0000001b.gc:3: error: 'plc_t_rtdbref' has no member named 'In2'
/usr/local/pwrp/maurizio2/common/tmp/plc_cod000_001_001_002_0000001b.gc:3: error: 'plc_t_rtdbref' has no member named 'In2P'
/usr/local/pwrp/maurizio2/common/tmp/plc_cod000_001_001_002_0000001b.gc:5: error: 'plc_t_rtdbref' has no member named 'Out'
/usr/local/pwrp/maurizio2/common/tmp/plc_cod000_001_001_002_0000001b.gc:5: error: incompatible types in assignment
** Plc window compiled with errors for x86_linux Maurizio2_Plant-Processi-prg1-W
%GSX-F-CCERROR, Error from c compilator, see terminal window
I'm trying to build a function with c-code.
Good afternoon.
/Maurizio