NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

uiTestStand -> LV comm. via UIMessage event

Hello,


I try to make application in LV which will start from TS and will receive callbacks from TS as standard UIMessage.
All examples which I found was when LV application started TS and then register callback. This is in “simple UI example”.
But I want to lunch panel after sequence in TS was started and then register callbacks.

Normally to register callback “Application Manager” is using, but I don’t know how to connect this control to TS context.
Also I try to use TS.IEngine obcject and connect this with TS via RunState.Engine but still nothing.

Could anyone help me to move next step?

This is my simple application example.

Thank in advance adn best reagrds.

 

 

LV.JPG

 

 

 

TS.JPG

 

0 Kudos
Message 1 of 3
(3,260 Views)

Hello,

 

Can you please attach the printscreens as jpg or any files that can be opened. I can not zoom in and see what exactly you are trying to do.


Also, you can attach directly your VI and sequence file.


Best regards,

Ion R.

0 Kudos
Message 2 of 3
(3,169 Views)

I concur with Ion that your screenshot is not readable. Please attach a readable version.

 

From what i am seeing, i would expect you to misunderstand the way TestStand should be used.

Am i correct if i expect you to open a graphical user interface within your client sequence file execution? If so, please change your setup to use a graphical user interface which invokes the execution. That way, you can use the default execution model of TestStand esp. regarding the UI Message interface.

 

Additionally, from what i am seeing in the (badly readable) screenshot of the VI's block diagram, you have race conditions in the code which can lead to unexpected behavior.

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 3 of 3
(3,163 Views)