DigitalPinAndChannelMap.EndChannelMap Method
- Updated2023-11-24
- 1 minute(s) read
DigitalPinAndChannelMapEndChannelMap Method
Completes the channel map configuration. No further changes can be made to the channel
map or connections after calling this method.
Namespace: NationalInstruments.ModularInstruments.NIDigital
Assembly: NationalInstruments.ModularInstruments.NIDigital.Fx40 (in NationalInstruments.ModularInstruments.NIDigital.Fx40.dll) Version: 2021
Syntax
public void EndChannelMap()
Public Sub EndChannelMap
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | EndChannelMap is called before calling CreateChannelMap(Int32). |
Remarks
Call this method to indicate that the channel map configuration is complete after you
create channel map connections using MapPinToChannel(String, Int32, String).
You must use CreateChannelMap(Int32) to begin creating a channel map, and you must call EndChannelMap to finalize the creation of that channel map.