05-29-2006 08:30 PM
05-30-2006 04:53 PM
05-31-2006 05:51 AM
I looked at several of the examples on the web site, but they are all using PostUIMessage in the sequence. The TS 3.5 help file says that that is an obsolete call and the I should use PostUIMessageEx.
The example that you are pointing me to doesn't seem to do anything at all. I run it with the suggested sequence (uimessage.seq) but there is no obvious result. Nothing in the report window. All I see in the execution window is that the Action, Call Thread PostUIMEssage is 'Done'. It is supposed to be counting; but where does it put the count value?
After someone answers the above questions, I have more...
I am using TestStand 3.5 and LabView 8.01
I am looking for an Event driven example with PostUIMessageEx that works?
How do you populate the ActiveX parameter?
What kind of data is it looking for?
How do you read that parameter in the Event handler?
Can I display the string variable in a Text Indicator?
So far I have modified the Simple OI and added the UIMessage event handler to pick up the string variable. But it doesn't pick it up, as far as I can tell. I tried to put a breakpoint in the VI to take a look at it, but that is evidently a bad idea because it hangs the Labview runtime enginer or server and I have to kill the application.
So there are a multitude of questions about writing this kind of coded (Event handlers) that I can't seem to get answered in any of the documentation.
If there were an up-to date TS 3.5, LV8.0 example that really worked, then maybe ...
05-31-2006 06:20 AM
06-01-2006 04:06 PM
06-01-2006 05:58 PM
Ok, I see how that works.
So, if I want to have 10 controls of various types, like LEDs, Text Controls/Indicators, Numeric Controls/Indicators ...
then all I need to do is expand your approach. That is a lot of wires going into the Configure Event Callbacks VI. Would you then suggest that I build an array of these items and pass in the array?
06-02-2006 05:36 PM