NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Sub-menus Configuration Entry Point

From the configure Menu in Teststand, I want to generate a pop-up or a sub-menu whereby a user can input a time that would be read in by Teststand
sequence.  Is this possible?  By default, I want the time to be set to 8:00AM, in case of the user not making any selection.  How can I go about doing this? I was told that this may be possible via Configuration Entry points in the Sequential Model.  Can some experienced forum members shed some light on this matter?

0 Kudos
Message 1 of 5
(3,507 Views)

Would they need to set it during every execution?  if so then it makes sense to override the Process Setup Callback.

 

Otherwise, it sounds like you would need to store this to disk somehow.  I wrote an example:

http://forums.ni.com/t5/NI-TestStand/Saving-User-Config-file/m-p/1723094#M34630

 

I hope you find it helpful.

 

Regards,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 5
(3,505 Views)

Thanks for the suggestion.  Yes, it is similar to what I want to do.  However, I would like to have the user enter the time in a pop-up box that is launched from the Configure menu.  Also, I am a Teststand newbie, so I am trying to understand how callbacks work.  When you execute a command from the Configure menu, which is Configure Settings in this case, will it proceed to execute the "Configure Settings" sequence in the ConfigSettingsExample.seq file?

0 Kudos
Message 3 of 5
(3,492 Views)

No, they would not have to set it during every execution.  The operators would need to have the flexibility to change this daily calibration time according to their needs.

0 Kudos
Message 4 of 5
(3,491 Views)

The flow is this:

 

Configure>>Configuration Settings...

The Configuration Entry Point in the process model gets called.

It has a sequence call step which calls the callback.

If the callback is in the client sequence file (in this case it is) then it calls that one instead of the one in the Process Model.

 

 

So in a round about way it does call Configure Settings in the ConfigSettingsExample.seq.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 5 of 5
(3,482 Views)