NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

setting up hidden debug mode

I'm using TestStand 3.5 and LabVIEW 8.20.  In TS, when you create a sequence, and you specify a module if it's a LabVIEW module, you can chose to either display or not display the VI's front panel when executed.
 
For the most part, our sequence will step through, test after test, and not display any front panels.  On occasion, the user may be prompted to enter some value or disconnect a cable and click OK.  We want to be able to somehow enter a mode where certain engineers (not the customer) can run tests, but if desired, see the front panels of the individual tests, so as to be able to control/configure all desired tests/signals.
 
What are some ways this could be done?  I know I can, after each test begins, read the user priveledge, and whether the user selected TEST UUTs or Run Selected Tests.  Is there a way to read/set a variable such that we can (based on the user) display the front panel
 
Or, is there a different way, entirely, that this type of thing can be done?
0 Kudos
Message 1 of 3
(3,134 Views)

Hi mrbean,

You can get to this property at 'TS.SData.ShowFrntPnl'

for example if you want the next step to show it front panel, the lookup string would be "RunState.NextStep.TS.SData.ShowFrntPnl".

You could use the CurrentUserHasPrivilege(privName), have a look under the Customize Tools Menu to see how some of the Tools menu items are enable / disabled, eg for the Import/Export Properties, in the Enable Expression, CurrentUserHasPrivilege ("Develop.EditSequenceFile") is used.

Hope this helps

Ray Farmer

Regards
Ray Farmer
Message 2 of 3
(3,130 Views)
Hi Ray,
 
In TS 3.5, that property changes its name to 'TS.SData.ViCall.ShowFrnPnl'. Therefore, if front panel of next step will be shown, lookup string should be 'RunState.NextStep.TS.SData.ViCall.ShowFrnPnl'.
0 Kudos
Message 3 of 3
(3,092 Views)