I have written a TS UI, where I registered a UserMessage event. I pass a station global through the ActiveXDataParam as property object. In the UserMessage callback I just read the station global and writhe its values to the UI's indicators. I'm not sure, whether this has an influence to my problem.
The problem is,when I try to write the station global values in another code module, which is an engine, started in the Process Setup Callback in my process model. I pass the same property object reference to this module (labview VI), and I try to write new values in the station global on triggered events. In this code module, I get an error code 1 from any attempt to call any method of the property object, as GetValString, GetNumSubProperties etc.
If I run my Test UUTs from the sequence editor, I don't get this error, so I access the station globals always without error. The error occures only if I run it from my UI.
I would appriciate any ideas and hints to overcome this problem.