NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Posting UIMessages using the Batch Model

I am using the LV OI provided with TestStand. When posting User Defined UIMessages (10000 and up), the OI does not seem as if it is getting the posted message. When I replace the user defined message with a ProgressText message, it works fine. I have a case(s) for each of my user-defined messages, but the flow is not evem getting there. I am using the Batch Model.
0 Kudos
Message 1 of 3
(3,104 Views)
Hi,

The LV OI and I dont think any of the other IO are handling any event above Display Report. You have to add this to the default code in 'TestStand - UI Message Handler.vi'

For interest follow thread http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000D7670000&USEARCHCONTEXT_CATEGORY_0=_8_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_8_&UCATEGORY_S=0

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 3
(3,104 Views)
Hi,

I'd recommend that you take a look at the following example:

"LabVIEW/TestStand Simple Operator Interface with Yield Information"

URL: http://ae.natinst.com/devzone/explprog.nsf/41ee12ddba6c766a8625684700691463/629757fed41f531c06256824005d1f26?OpenDocument

This examples shows how to correctly post and handle custom UIMessages. In general, there are 2 things that need to be done to accomplish this:
1) Post the UIMessage from your sequence
2) Modify the OI to handle that custom UI Message

I doubt that the problem you are seeing has anything to do with using the Batch Process Model. I think you are simply not handling the UIMessages correctly. However, if after checking the example AND verifying that your modifications don't work with the Ba
tch Process Model but they do with the Sequential Model for example, then let us know by describing exactly what you've done.

Best regards,

Carlos Leon
Message 3 of 3
(3,104 Views)