DigitalPinAndChannelMap.CreatePinMap Method
- Updated2023-11-24
- 1 minute(s) read
DigitalPinAndChannelMapCreatePinMap Method
Creates and loads a pin map. Use this method if you are not loading a pin map file using
LoadPinMap(String).
Namespace: NationalInstruments.ModularInstruments.NIDigital
Assembly: NationalInstruments.ModularInstruments.NIDigital.Fx40 (in NationalInstruments.ModularInstruments.NIDigital.Fx40.dll) Version: 2021
Syntax
public void CreatePinMap( string[] dutPins, string[] systemPins )
Public Sub CreatePinMap ( dutPins As String(), systemPins As String() )
Parameters
- dutPins
- Type: SystemString
An array of DUT pin names to include in the pin map. DUT pins are duplicated for all sites and are used in patterns. - systemPins
- Type: SystemString
An array of system pin names to include in the pin map. System pins do not scale with the number of sites and are not used with pattern functions.
Exceptions
Exception | Condition |
---|---|
ArgumentException |
|
Remarks
Once you have called this method to create a pin map, you can use the pins, named in the
dutPins and systemPins parameters, in other methods
on the DigitalPinAndChannelMap object.
For example, you can use MapPinToChannel(String, Int32, String)
to associate pin names and channels or use CreatePinGroup(String, String)
to create an alias for a group of pins.