NISE - Pin to Sessions Step

Use the NISE - Pin to Sessions step to return the NI Switch Executive virtual device sessions, switch routes, and new Pin Map context objects required to access a switched pin and a switched instrument channel.

Note The NISE - Pin to Sessions step must be used inside of an ECU Multi Test or ECU Action step with its module adapter configured as Sequence. The NISE - Pin to Sessions step requires the Pin Map context passed from these steps as an input.

Use the NISE - Pin to Sessions step edit tab in the TestStand Sequence Editor to specify the Pin Map context and the pins to query to obtain their associated NI Switch Executive instrument sessions.

NISE - Pin to Sessions Step Settings Tab

The NISE - Pin to Sessions Step Settings tab contains the following options:
  • Pin Map Context—Specifies a reference to a Pin Map Context object. This object describes a subset of pins, sites, and instruments from the pin map file and provides data pertinent to each site executing during a test.
  • Pin—Specifies the name of the pin to switch in order to obtain its associated NI Switch Executive virtual device session for each site in the Pin Map context.
  • Instrument Type ID—Specifies the instrument type ID of the NI instrument to switch. The NISE - Pin to Sessions step uses the specified instrument type ID and the specified pin to generate the route/route group name for each site in the Pin Map context.
  • NISE Site-Based Info Array—Returns an array of NI Switch Executive site-based information. Each element in the returned array includes the new Pin Map Context object, the virtual device session, and the route/route group name required to access the switched pin and switched instrument channel on a site in the above specified Pin Map context. You can create an array of NI_ECUToolkit_SwitchExecutivSiteBasedInformation type to store the returned values.