Visual Basic (Declaration) | |
---|---|
Public MustOverride Sub Disconnect() |
C# | |
---|---|
public abstract void Disconnect() |
C++/CLI | |
---|---|
public: abstract void Disconnect(); |
Exception | Description |
---|---|
System.InvalidOperationException | An InvalidOperationException will be thrown if an error occurs while disconnecting from the hardware. |
This method stops the measurements associated with this hardware. The measurement is stopped (if it is running) and does not communicate with the input channel hardware until the measurement is restarted. The input channel hardware is reinitialized when the measurement is restarted, because the state of the hardware is now unknown. This method is used if you want to access the input channel hardware directly.
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)