How best to halt an execution when the emergency stop is pressed or the door opens with TestStand?

Hi all,
I am creating a test set that needs to be halted when the emergency button is pressed or the door is opened (note: data about the door open status is read in via a door latch using a PXI-6514). The way that the sequence is going to be structured is that each test (approx. 11 tests) is going to be a step in a TestStand sequence. The steps that are going to run the tests are going to be of type Pass/Fail. These steps will call a DLL written in C# that will perform one entire test.
What I want to do is for some tests when the door opens, the step in the sequence is aborted and then when the door is closed the step is rerun. However, for a few tests the door needs to be opened for the operator to make changes and then once the operator closes it again then that test should continue testing.
As I am new to both TestStand and development of test equipment, I am unsure which method is better:
Method 1:
Let TestStand handle the door opening, thus TestStand would need to know which test to halt and which to abort. I don't know which callbacks are required to do this.
Method 2:
Let each DLL handle the software trigger that the PXI-6514 "throws" when the door opens. This would mean that for each test you can either halt it until the door close. Or for the necessary test you can abort the execution of that test by shutting in a safe manner and returning a bit to TestStand, which indicates that the test was aborted. Then is there a callback that will rerun the step or will I just use Goto statements.
Is there another method that would be more appropriate to use?
Thank you
Elnaz

Hi Elnaz,
I have faced a very similar issue before. The best option is to have your code modules handle the signal. So when a test when someone open the doots, you code modules should be able to keep up that signal and be able to act on it. So essentially your code modules should have some sort of a signal handler that automatically executes code to halt the code module when it receives the external signal. You have to pass a parameter back into teststand informing that an external signal was received by the code modules. So you can use Post Actions for this. Every step in TestStand has Post Action in the Step Properties. So you can change the execution flow based on the parameter passed in.
For example, if your code module received the external signal then it will pass a flag. In your post Actions based on this flag you can either goto a differnt step or you can jump back to your current step, thus re-running itself.
I hope this helps
SijinK
National Instruments.

Similar Messages

  • How do i fix my ipod when the screen cracks

    how do i fix my ipod when the screen cracks

    Have Apple, a third-party place or fix it yur self.
    Apple - Support - iPod - Repair pricing
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    DigiExpress.us - The iPad Repair Professionals
    iPod Touch Glass Replacement

  • How can I retrieve my password when the retrials email was not recoverable? I also can't use or pass the othere menace of recovery? Not being able to pass or answer the security questions?

    How can I retrieve my password when the retrials email was not recoverable either? I also can't use or pass the othere means of recovery? Not being able to pass or answer the security questions?
    I created a new ID but never being able to update the iTunes that were purchased/saved using the old id?
    I can't also delete.

    Hi Kazmania89,
    Welcome to the Support Communities!
    If you require additional assistance with this, click on the link below for guidance:
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Once you are able to gain access to the old Apple ID, this article may be helpful:
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    I have purchased music, apps, or books with multiple Apple IDs. How can I get all of this content onto my iOS device?

    First, you need to copy all of your purchased content so it is on the same Mac or PC with iTunes. This computer should be the one you sync your device with. For more information on how to move your content, see these articles:
    Mac:  iTunes for Mac: How to copy purchases between computers
    PC:  iTunes for Windows: How to copy purchases between computers
    Next, authorize your computer to play content with each Apple ID in iTunes. Once your computer is authorized for all your content, it can be synced to your iPhone, iPad, or iPod touch. 
    Cheers,
    - Judy

  • How can i fix a clip when the video and audio are not matching up?

    How can i fix a clip when the video and audio are not matching up? I imported the video from a junkdrive in a .VOB format and concerted to a .mov the videos were filmed on a miniDVD recorder.

    I would try detaching the audio and the dragging the audio to the left or right until it lines up.

  • How to move cursor to a particular field in a form when the form opens

    Hi All,
    Using Forms Personalization how to move the cursor to a particular field in a form when the form opens.We are using Oracle Applications 11.5.10.2
    Please let me know as soon as possible.
    Thanks,
    --John.                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Satya,
    Try the following
    Open the forms personalization window
    Seq: 10
    description : Move cursor
    Level : Function
    On Condition Tab-
    Trigger Event : when-new-item-instance
    Trigger Object:- (The field on which the cursor is appearing now when you open the form ) for eg : If I am working on a vendor Master form in that case it would be -VNDR.VENDOR_NAME_MIR.
    Processing Mode : Both
    Context:
    whatever context you want to do it respoansibility level or user level.
    On the Actions Tab
    Seq: 1
    Type: Bulletin
    Bulletin type : GO_ITEM
    Argument : The field to which you want to navigate to. (In my case I want to navigate to Alternate name on the Vendor master form so it would be VNDR.VENDOR_NAME_ALT_MIR).
    see if it works for you.
    cheers,
    Ankur

  • My ipod went to the ''connect to itunes mode'' and i want to use my itunes backup but how can i do that. also when the ''recover your ipod screen'' appeared i accidentally chose not to show it anymore.

    My ipod went to the ''connect to itunes mode'' and i want to use my itunes backup but how can i do that. also when the ''recover your ipod screen'' appeared i accidentally chose not to show it anymore. please help i just had it for half a day.

    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...  Be sure to Follow ALL the Steps...
    Take your time... Pay particular attention to Steps 3 and 4.
    Some users have reported as many as 8 or 9 attempts were necessary before success.
    If the issue persists...
    Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
    Be sure to make an appointment first...

  • I emailed a PDF form and when the receiver opens it, the document has errors on it. How do I fix this problem?

    I emailed a PDF file and when the receiver opened it there were errors in the file. Words on the document appeared different and weren't what they were supposed to be. How do I fix this problem?

    What did the errors say? Can you post a copy of the pdf so we can test out. The presets embed the font, but might be a unicode issue, or one of the few fonts which are copyrighted and do not allow embedding.
    What application was the pdf was created from, what settings were used, and if you can outline the fonts. What font or font(s) are the ones reflowing?

  • How to access my hard drive when the system does not work

    how to access my hard drive when the system does not work

    Startup - Gray, Blue or White screen at boot, w/spinner/progress bar
    Startup Issues - Resolve
    Startup Issues - Resolve (2)

  • How can you download premier pro when the icon doesn't exist in cloud?[was:pr]

    how can you download premier pro when the iucon doesent exist in cloud???

    In order to download the software, your computer must meet the system requirements to run the software.
    http://helpx.adobe.com/x-productkb/policy-pricing/system-requirements-premiere-pro.htmlhttp://www.adobe.com/products/premiere/tech-specs.html
    The usual reason for not being able to download is that Premiere Pro (and other video apps such as After Effects) are 64 bit only so they require a 64 bit computer and a 64 bit operating system.
    If you're running a 32 bit computer and operating system then you will not see the Premiere Pro icon since the software will not run on your computer.

  • How to focus a row directly when the search found the result....in active w

    how to focus a row directly when the search found the result....in active widget

    Considering that I don't understand what you're talking about - does altering the selection of the widget and requesting the focus help?

  • How do I install InDesign CC when the app overview says "up to date" even though I haven´t installed anything yet?

    How do I install InDesign CC when the app overview says "up to date" even though I haven´t installed anything yet?

    It sounds like maybe you installed a trial at some point in the past and trashed the application folder rather than doing an uninstall?
    Have you tried the cleaner tool:
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • How best to screen junk mail in the mail application?

    How best to screen junk mail in the mail application?

    With the Mail program running, select Preferences from the Mail menu and then select the Junk Mail tab. Turn it on. This is a decent junk mail filter and fills the needs of many people. If you find too much junk mail still making its way into your in basket, there's a third party program called SpamSieve that takes filtering to another level.

  • How does c:url tag know when the session is cookieless and thus to redirect

    i have been looking at the source code for c:url tag and can't figure out how they are doing that. I need a way to do that in a jsp, to check if the cookies are allowed or not.

    how does c:url tag know when the session is cookieless and thus to redirecthuh?
    What do cookies have to do with redirecting?
    Cookies get encoded into a URL using the method in HttpServletResponse: response.encodeURL() or encodeRedirectURL().
    That method determines whether or not it prints out the session id as part of the url, or it gets uses cookies.
    You can try: request.isRequestedSessionIdFromCookie().
    If that is true, you know that session cookies are supported (or at least that one was)

  • HT201371 How can I remove touch ID when the handset is turned off?

    How can I remove touch ID when the handset is turned off?

    Off it off. The only thing you can do when the phone is off is turn it on either by plugging it into power or by pressing the power button...
    Please rephrase the question.

  • How do i turn off talkback when the screen is locked?

    How Do I Turn Off Talkback When The Screen Is In Locked Mode? It Will Not Allow Me To Get To The Accessibility Icon.....

    Hi
    I’d be happy to help you disable talkback on your Moto E! If you have inadvertently enabled Talkback, you can quickly pause it, and then go back to disable this feature.
    Anywhere on the screen, swipe down then right in a single motion, as if you were drawing an “L”.
    Note: This should work whether the phone is on the lock screen or unlocked.
    You will then see 2 options in the top corners of the screen, select “Pause Feedback”.
    When the Suspend Talkback message appears, double tap “OK”.
    You can now normally go into Settings > Accessibility and disable talkback.
    I hope this helps!
    Charise

Maybe you are looking for

  • The Difference Between?

    Ok so I believe I know the answer here but asking anyway. What is the difference between the adobe creative cloud team license vs the adobe creative cloud enterprise license? is the team licence basically individually licences products per account us

  • How to make exit class unicode complaint

    Hi Experts, I am trying to make class of category 'Exit class' unicode complaint as it shows me error message as "The program "ZCL_EX_DEF_STP_GATEWAY========CP" is not           Unicode-compatible, according to its program attributes." But in propert

  • Real Finish Date and Task Completion Percentage

    Hi, Working With Project Server 2013, User enter Task Progress setting the fields: Percent Complete: 100% But also changes the Finish Date to a later day. And Hit "Send" This is the information the PL gets, accepts and publishes. If the user sees the

  • From Podcasts to MacBook

    Is any way to copy files from Podcasts to MacBook without iPod ? The problem is,friend of my,ask me for some stuff from Podcasts. He can't have it on his really old PC. And I don't want to risk his 80 Gig iPod full of important stuff... So,any ideas

  • Time Machine Service Page in Server App says "Error Reading Settings"

    I have a Mac Mini running 10.8.3. For some reason the Time Machine Page in the Server App refuses to work properly.  If I reboot the server it looks fine for about 10 minutes.  It displays the backup location and the list of individual backups.  Then