11-22-2006 04:28 AM
Hi,
I have customized TestStand simple operator interface however I need to add option to give ability to hide or display some of the controls like 'execution view' or 'report view' while executing a test. Could somebody please let me know how this is achievable?
I am using
TestStand 3.5
Labview 8.20
Many Thanks
Mehran Fard
11-27-2006 05:41 AM
11-27-2006 09:07 AM
Hi Hannah,
Thanks for your reply.
As you said it is possible to create a property node and set it to visible by writing a boolean value, before executing the vi.
Please correct me if I am wrong but my understanding is 'TestStand Simple GUI' uses event structure while executing only after initializing all the controls and indicators. I have no problem setting event structure and write boolean value, however the Boolean value won't get updated outside this event structure at runtime but it will get updated next time I execute the GUI.
What I need to know is how to refresh the screen to pass this new boolean value to the controls outside the event structure?
Many Thanks
Mehran Fard
11-27-2006 09:20 AM
Hi Mehran.
I've attached a screen shot of the example 'Simple OI' in LabVIEW, which I have modified to add an extra event to the event structure. This event handles a boolean on the front panel called 'visible'. Whenever I toggle the switch on the front panel it either hides or shows the report viewer, at any point in the execution.
To do this, firstly create a boolean switch on the front panel, and then on the block diagram just right click on the event structure, and select the option to add another event case. In the dialog that pops up, configure this event to work on the 'value change' event of your 'visible' boolean. In the event case that is created, you can place the property nodes, plus the terminal for the 'visible' control.
I think that this is what you mean, if not can you post back with more details.
Regards
Hannah
NIUK & Ireland
11-27-2006 11:39 AM
Thanks Hannah
You solved my problem. ::
Mehran Fard
11-28-2006 09:36 AM
11-28-2006 11:18 AM
12-01-2006 05:22 AM
12-01-2006 06:57 PM
12-01-2006 07:03 PM
Also, you can add the method 'CommitGlobalsToDisk' to make sure you save your StationGlobals once you change the valUe...