AnalogBusSharingEnable Property
- Updated2023-02-21
- 3 minute(s) read
Gets or sets a value that indicates whether an analog bus line is shared, so that multiple NI SwitchBlock devices may connect to it simultaneously. To enable multiple NI SwitchBlock devices to share an analog bus line, set this attribute to trueTruetruetrue (True in Visual Basic) for each device on the channel that corresponds with the shared analog bus line. The default value for all devices is falseFalsefalsefalse (False in Visual Basic), which disables sharing of the analog bus.
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 Property AnalogBusSharingEnable As Boolean |
C# |
---|
public bool AnalogBusSharingEnable { get; set; } |
Property Value
Type: System..::.Boolean trueTruetruetrue (True in Visual Basic) if the channel is enabled as a shared analog bus line; otherwise, falseFalsefalsefalse (False in Visual Basic). The default value is falseFalsefalsefalse (False in Visual Basic).
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The AnalogBusSharingEnable was accessed after the associated NISwitch object was disposed. |