Hi,
I have a problem with multi userobject,
when I have data in the first userobject (like temperature ), I never see my data away from all userobjects, but the data is still exist in the line and not to display!
plz help
this is an example
"false" exists in the last userobject but not in the external "alphanumeric"!
Edited by: panther on Dec 9, 2014 10:20 AM
I have a problem with multi userobject,
when I have data in the first userobject (like temperature ), I never see my data away from all userobjects, but the data is still exist in the line and not to display!
plz help
this is an example
"false" exists in the last userobject but not in the external "alphanumeric"!
Edited by: panther on Dec 9, 2014 10:20 AM
If you click on the 'show execution flow' icon in the menu bar, you can see that your program is never exiting from the nested user object, because you have an On Timer obect within pinging every second.
Because the user object is never exited, the data does not propagate to the output terminals.
I believe this is normal behaviour for VEE, so you need to change your program. Look into using threads if you need to use an On Timer object, but want other code to be processed in the meantime.
EDIT: Or add an 'Exit Thread' object to the 'Else' output of the If/Then object, like you have on the If output, so the user object exits.
Cheers, Simon C.
Edited by: simon_coleby on Dec 10, 2014 10:42 AM