The Measurement Plug-Ins pin map service retrieves information from a registered pin map. This information is used by the Measurement Plug-Ins session manager service. Do not call into the pin map service directly (except to register or unregister the pin map). Instead, use the session manager service, which wraps around the pin map service. The pin map service can retrieve lists of pins, pin groups, or relays; session or resource names; or instrument channels for a pin.

Note Activating a pin map in software does not interact with the pin map service. Instead, activating a pin map allows the software application to specify the pin map to be used with a measurement.

Accessing Pin Maps in Measurement Logic

When a pin map is configured properly in InstrumentStudio or TestStand, those applications will pass a PinMapContext object to your measurement service. This object contains an identifier for the pin map as well as a target site number. The PinMapContext object is a required input for many session management API methods.

Using Pin Maps with Measurements in InstrumentStudio

To register a pin map for a measurement in InstrumentStudio, ensure that the project contains an active pin map. Refer to the related information section for more information about setting an active pin map in InstrumentStudio.

Using Pin Maps with Measurements in TestStand

Refer to Using Driver Sessions in TestStand for more information about setting an active pin map in TestStand.

Measurement Plug-Ins Pin Map Service: Supported Instruments

Refer to the Related Information section on this page to access the Measurement Plug-Ins Pin Map service *.proto file, which lists supported instruments.