RfpmSwitchPathDescription.Parse Method
- Updated2023-12-28
- 1 minute(s) read
RfpmSwitchPathDescriptionParse Method
Parses a channel pair string of the form "channel1->channel2"
and returns a new RfpmSwitchPathDescription object.
Namespace: NationalInstruments.ModularInstruments.NIRfpmSwitch
Assembly: NationalInstruments.ModularInstruments.NIRfpmSwitch.Fx40 (in NationalInstruments.ModularInstruments.NIRfpmSwitch.Fx40.dll) Version: 2023
Syntax
public static RfpmSwitchPathDescription Parse( string channelPair )
Public Shared Function Parse ( channelPair As String ) As RfpmSwitchPathDescription
Parameters
- channelPair
- Type: SystemString
The channel pair string to parse.
Return Value
Type: RfpmSwitchPathDescriptionA new RfpmSwitchPathDescription object representing the channelPair.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | channelPair was . |
FormatException | channelPair was not of the form "channel1->channel2". |