TestStand Semiconductor Module Code Module VIs Help

Get Pin Names (TSM)

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

Get Pin Names (TSM)

Requires: TSM

Returns all DUT and system pins available in the Semiconductor Module context that are connected to an instrument of the type you specify in the Instrument Type Id parameter. This VI returns only the pins specified on the Options tab of the Semiconductor Multi Test step. Pass an empty string to the Instrument Type Id parameter to return all available pins.

GetPinNames.vi
crn.gif Semiconductor Module Context is a valid ActiveX reference to a Semiconductor Module context object.
cstr.gif Instrument Type Id specifies the type of instrument for which you want to return DUT and system pins. For instruments that TSM natively supports, right-click the Instrument Type Id parameter, select Create Constant from the shortcut menu, and select the type of instrument you need. All custom instruments defined in the pin map specify an associated type ID. Typically, this type ID is an instrument driver name or other ID that is common for instruments that users program in a similar way. For custom instruments, you must pass the type ID associated with the instrument in the pin map file. For model-based instruments, pass the string you passed to the Set Custom Session VI to store sessions for the instruments.
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.
cstr.gif Capability limits the filtered pins to those connected to a channel that defines the capability you specify. Use this parameter to differentiate between pins in the same instrument with different capabilities, such as NI-HSDIO Dynamic DIO channels and PFI lines. If a pin is connected to channels in which the capability is define only for a subset of sites, the VI returns an error. Pass an empty string to return all pins that match the type you specify in the Instrument Type Id parameter.
irn.gif Semiconductor Module Context Out returns the Semiconductor Module Context parameter unchanged.
i1d28.gif DUT Pins returns an array of strings that contains the DUT pins in the Semiconductor Module context that are connected to an instrument of the type you specify in the Instrument Type Id parameter.
i1d28.gif System Pins returns an array of strings that contains the system pins in the Semiconductor Module context that are connected to an instrument of the type you specify in the Instrument Type Id parameter.
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