From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-12-2006 02:00 PM
Solved! Go to Solution.
07-13-2006 03:53 AM
07-13-2006 07:13 AM
07-13-2006 10:44 AM
Paul,
One way you can do this is to make a small modification to the Process Model so that the Entry Point becomes disabled when an execution is running. I used the following steps to make the behavior you wanted.
1) Create a StationGlobal called ExecutionRunning.
2) Add a step to the setup and cleanup of each Entry Point. This step should set StationGlobals.ExecutionRunning to true and false respectively.
3) In your Process Model, for each entry point change the "Enabled Expression" to be !StationGlobals.ExecutionRunning.
This should give you the behavior you want. However, if you Abort an execution, rather than Terminate, the Cleanup group will not run, and the StationGlobal will never be reset. If you are using an Operator Interface, you may want to not allow users to Abort an execution or have a Configuration Entry point that allows (certain) users to reset that Station Global.
Allen P.
NI
07-13-2006 11:03 AM
Thanks for the help,
What I ended up doing was using the PostUI message in the custom user message range (above 10000). Then I created a callback vi to handle user messages. I passed a reference to the Test UUT entry point button and enable or disable it. Basicly I can have my sequence handle the state of this button. The Post UI messages happen in the process setup and cleanup of my sequence files.
I attached a snapshot of the callback vi.
Paul
06-24-2010 05:03 AM
Hello AllenP,
"3) In your Process Model, for each entry point change the "Enabled Expression" to be !StationGlobals.ExecutionRunning."
where can I find this in the Process Model? I need this for the ENTRYPOINT2.
thankyou
schwede
06-29-2010 10:34 AM
Schwede,
You can get this by opening the process model, select the Single Pass sequence (ENTRYPOINT2), and then from the menubar, select Edit -> Sequence Properties...
In the Single Pass Properties dialog, select the Model tab to get to the Entry Point Enabled Expression. You can then modify it as described.
Hope this helps.
-Jack
08-13-2012 05:12 PM
I'm trying to do something similar but I want to programmatically hide/disable the Terminate All and Abort All buttons. I know these can be removed from the Sequence Editor interface but we have 3 different test stands and 7 different users that would be required to change it and then it's just a matter of resetting the interface to get them back.
I read this " I passed a reference to the Test UUT entry point button and enable or disable it"
But I'm not sure which path to go down to figure out how to get this reference.