NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Tab contol in the Simple UI but they lock during execution

Solved!
Go to solution

Hello, I have a complex UI that I have created for a new project. Since there are a lot of data graphs to come back to the user I have to use tab controls on the UI Front panel. I have UI messages that will switch the tabs during the sequence execution but when the sequence is complete the front panel and tab controls are locked until exit is pressed. I would like for the tabs to be accessible for the user to go back to the data and graphs to see who the part tested. I have attached a screen shot of the front panel so you can see what it looks like. The seq will start and switch to the measure tab show a measurement graph but when the seq ends it is not possible to access any of the controls.

 

How do you unload the seq programmatically to allow the user to access the tabs again or do you modify a callback to access them? All without stopping the UI from running.

Bill Lewis
0 Kudos
Message 1 of 5
(3,119 Views)

Hi Bill_Lewis

I don't have the answer but can you clarify:
-"are locked until exit is pressed." Is there an exit button on your UI? What differences it has with your other controls?
-"seq ends it is not possible to access any of the controls" Can you change tabs?

 

Unload Sequence File Programmatically:

0 Kudos
Message 2 of 5
(3,082 Views)

"are locked until exit is pressed." Is there an exit button on your UI? What differences it has with your other controls?

 

Reply:

the standard TS exit button is the button that I'm referring to. This will end the UI running and stop everything. The difference it that it is a TS control not a LabView control I would say. When I select the sequence to run and press "Run Sequence" all of the tabs and other controls are locked. The only way to access them is to close the vi and restart the UI. All tabs are accessible until the "Run Sequence" button is pressed.

 

"seq ends it is not possible to access any of the controls" Can you change tabs?

 

Reply:

When the sequence test ends no tabs are able to be selected or switched. I tried adding them to the event structure for value change and reference the tab control but that is not working either.

 

I need the option of allowing the user to access the tabs after the test so that they can see the test results and graphs on the measure tab. I have used UI messages to switch the tabs during the execution and that works by the UI message writing to the tab property the value of the tab I want to go to but like I have explained after the during and after the execution of the seq file there is no switching tabs with the mouse, all is locked. Its a strange problem

Bill Lewis
0 Kudos
Message 3 of 5
(3,080 Views)

video of it

 

Notice when the sequence stops running (logout button becomes enabled) I cannot access the other tabs unless I exit the UI. Tabs will not work at anytime while the UI is running unless I send the UI message to change the from the seq file

Bill Lewis
0 Kudos
Message 4 of 5
(3,077 Views)
Solution
Accepted by topic author Bill_Lewis

I found my issue. I had written a startup value into the tab control which changes it from a control to a indicator.... rookie mistake

Bill Lewis
Message 5 of 5
(3,075 Views)