TestStand Semiconductor Module Code Module VIs Help

Pin to NI-RFSA Session(s) (TSM)

  • Updated2024-02-02
  • 5 minute(s) read

Pin to NI-RFSA Session(s) (TSM)

Requires: TSM

Returns the NI-RFSA session required to access one pin. You must manually select the polymorphic instance you want to use. Select the single instrument or multiple instrument polymorphic instance based on the number of instruments you expect the pin to be connected to in the pin map. Use the multiple instrument polymorphic instances to ensure that code modules work with any pin map. Use the single instrument instance only when you know the code module will never be used with a pin map that has more than one instrument connected to the specified pins.

Single Pin - Multiple Ports

Returns the NI-RFSA instrument sessions required to access the pin. If any instrument has more than one port connected to that pin in other sites within the given context the VI returns an error.

PinToNIRFSASessions.vi

crn.gif Semiconductor Module Context is a valid ActiveX reference to a Semiconductor Module context object.
c28.gif Pin specifies the name of the pin or pin group to translate to instrument sessions.
cerrcodeclst.gif error in (no error) describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out.
i102.gif Pin Query Context is the pin query context object that tracks the sessions and channels associated with a pin query. TSM uses this object to publish measurements and extract data from a set of measurements.
irn.gif Semiconductor Module Context Out returns the Semiconductor Module Context parameter unchanged.
i1dvsrn.gif Instrument Sessions returns the NI-RFSA instrument sessions for the instruments connected to the pin for all sites in the Semiconductor Module context.
i1dstr.gif Ports returns the port information for the associated instrument sessions connections to the pin.
ierrcodeclst.gif error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.

Single Pin - Single Port

Returns the NI-RFSA instrument session required to access the pin. If more than one instrument is required to access the pin, or if the instrument has more than one port connected to that pin in other sites within the given context, the VI returns an error.

PinToNIRFSASession.vi

crn.gif Semiconductor Module Context is a valid ActiveX reference to a Semiconductor Module context object.
c28.gif Pin specifies the name of the pin to translate to an instrument session. If multiple sessions are required, the VI returns an error.
cerrcodeclst.gif error in (no error) describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out.
i102.gif Pin Query Context is the pin query context object that tracks the sessions and channels associated with a pin query. TSM uses this object to publish measurements and extract data from a set of measurements.
irn.gif Semiconductor Module Context Out returns the Semiconductor Module Context parameter unchanged.
iivrn.gif Instrument Session returns the NI-RFSA instrument session for the instrument connected to the pin.
istr.gif Port returns the instrument port connected to the pin.
ierrcodeclst.gif error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.

Log in to get a better experience