11-03-2011 05:16 PM
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?
11-03-2011 05:32 PM
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,
11-04-2011 09:50 AM
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?
11-04-2011 09:51 AM
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.
11-04-2011 06:40 PM
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.