NI-SWITCH 19.0 .NET Framework 4.0 API Reference

Table of Contents

InstrumentModel Property

  • Updated2023-02-21
  • 2 minute(s) read
InstrumentModel Property
Gets the model number or name of the NI-SWITCH device that is currently in use.

Namespace:  NationalInstruments.ModularInstruments.NISwitch
Assembly:  NationalInstruments.ModularInstruments.NISwitch.Fx40 (in NationalInstruments.ModularInstruments.NISwitch.Fx40.dll) Version: 19.0.0.49152 (19.0.0.49152)
Visual Basic (Declaration)
Public ReadOnly Property InstrumentModel As String
C#
public string InstrumentModel { get; }

Property Value

Type: System..::.String
Returns a String that contains the model number or name of the NI-SWITCH device that is currently in use.

Exceptions

ExceptionCondition
ObjectDisposedException The InstrumentModel was accessed after the associated NISwitch.NISwitch object was disposed.

See Also

Log in to get a better experience