08-01-2014 07:26 AM
HI all
I want to pause my current sequence execution throguh sequence only.I am able to acheive same by giving option to user for Pause.
But once my Pause step gets executed teststand goes to Pause state and it does not execute the next step where I want to give user another option to resume the execution.
How can i handle this situation?
08-04-2014 02:28 AM
I am not sure if i understand your request correctly. But it sounds as if a Message Popup step with timeout could handle this.
Norbert
08-04-2014 02:35 AM
HI
Can you explain it bit more.
Actually I want to programmatically pause my sequence by giving user an option in the form of msgbox. When user clicks on the pause button in msgbox sequence gets paused. Now once it is paused , user should also get option to resume it through msgbox. But as my whole sequence is now paused , the step of the msgbox (with resume button) is not getting executed and hence user has to resume it from file menu.
How the timeout to msgbox can handle this situation?
08-04-2014 04:47 AM
If an execution is paused, it does not execute anymore. So trying with modules which are called by the execution will not work. Never.
What i have a hard time to understand:
This is a standard functionality the GRAPHICAL USER INTERFACE has to provide. Even the "Simple UI" examples provided from NI do have this feature.
Why don't you use it?
Norbert
08-28-2014 05:40 AM
HI
UI is one of the option but our sequences we are not going to run through UI .hence the requirement.
Thanks for the help.
08-28-2014 05:47 AM
Still, i recommend you to use a graphical UI.
You can, however, modify the process model to create a parallel running thread which displays/controls the popup dialogs. This thread has to be synchronized with your actual test sequence, so the test sequence itself has to contain appropriate synchronization steps. In that setup, the effort to create and maintain test sequences is far higher compared to a solution with a "standard UI".
Norbert
08-28-2014 06:08 AM
Never thought of it!! I will look into it and at the same time will try to go for a UI option