LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

show panel from dll in Test Stand

I have created a LabView dll that I call from TestStand, this passes parameters ok. However I want the LabView panel within the dll to be shown when it is called; how can this be achieved? 
0 Kudos
Message 1 of 7
(2,968 Views)

Hi steve h,

it should be possible if you implement the "show front panel" into your dll code.

 

Hope it helps.

Mike

0 Kudos
Message 2 of 7
(2,960 Views)

I would like to think so; but how can this be done?

 

 

0 Kudos
Message 3 of 7
(2,945 Views)

Hi steve h,

insert a property node with "show front panel" inside the vi which you export as function. Connect a true to it and it should work. Who did you try it til now?

 

Mike

0 Kudos
Message 4 of 7
(2,938 Views)

I have not used (or needed) property nodes before and have just been passing parameters between LabView & TestStand using the standard dll parameter list; this works ok but I need to see the LabView panel in this case. 

 

Can you give me more detail on how you achieve this property node within the LabView dll?

 

 

0 Kudos
Message 5 of 7
(2,933 Views)
No need for property nodes or anything else complicated. You do most of the work in the VI Properties>Window Appearance>Customize. At the very least, you want to check the 'Show front panel when called' and 'Close afterwards if originally closed'. When I make a custom edit step, I usually just select the 'Dialog' option on the Window Appearance screen. You should also make a modification to the VI. Add the TestStand - Start Modal Dialog as the very first thing and use TestStand - End Modal Dialog as the very last operation in the VI. You'll have to add the sequence context control and pass this to the dll.
Message 6 of 7
(2,926 Views)

Great, thanks for that.

 

 

0 Kudos
Message 7 of 7
(2,919 Views)