Understanding the Pin Map Service
- Updated2025-10-03
- 2 minute(s) read
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.
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.
Related Information
- Setting an Active Project Pin Map
- Using Driver Sessions in TestStand
The session management service manages instrument driver sessions that are associated with the pin map. Because this action relies on the pin map, you must first register your pin map with the pin map service.
- Pin Map Service Proto File