Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Connecting/Disconnecting Multiple Routes or Route Groups from One Step in TestStand 3.1

Primary Software: TestStand
Primary Software Version: 3.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I am using National Instruments Switch Executive with TestStand 3.1. Is there a way to connect or disconnect multiple routes or route groups from within one single TestStand step? What is the correct syntax to accomplish this?

Solution:
You can connect more than one route and route group from within one single TestStand step. The syntax of a route specification string consists of a series of routes delimited by ampersands (&). As an example, suppose you have a Switch Executive Virtual Device with two routes named PowerUUT and ScopeToOutput among others. Follow these steps to connect or disconnect the two routes from the same step:
  1. Double-click a step to open the Properties dialog box.

  2. Click the Switching tab and select your Switch Executive Virtual Device and Operation (Connect or Disconnect).

  3. Under Route(s) to Connect or Route(s) to Disconnect type one of the following:
    • Using a string constant:
      Type: PowerUUT & ScopeToOutput
      Note: Each route name is separated by an ampersand (&).

    • Using string variables that hold the name of the routes to connect:
      Type: Locals.MyRoute1 + "&" + Locals.MyRoute2
      Where: Locals.MyRoute1 = PowerUUT and Locals.MyRoute2 = ScopeToOutput

      Note: For more information about valid route specification strings, please refer to the following documentation:
      • TestStand 3.0 users: Refer to the TestStand Help. You can launch the TestStand Help by clicking on the Help button located at the bottom of the Switching tab of the Properties dialog box.
      • TestStand 2.0.1 users: Refer to page 101 of the IVIStepTypes.pdf file located in the <TestStand>\Doc directory.


  4. After filling out all other fields on the Switching tab, click OK to close the Properties dialog box.


Related Links:
KnowledgeBase 2RCDMN2H: Why Does My Switch Not Connect When I Call a Connect/Disconnect in a TestStand Step?

Attachments:





Report Date: 02/23/2004
Last Updated: 03/05/2009
Document ID: 36MC5DO6

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit