<< Click to Display Table of Contents >> Navigation: NmxDLL Reference Guide > HowTo > Closing a connection |
A connection is closed using NMX_DeviceClose_1.
Before closing an application, which used the NMX DLL, it must be ensured that all connections are closed. It is common practice to call NMX_DeviceClose_1 always before closing the measurement application. If no connection is established, nothing happens.
C / C++
NMX_DeviceClose_1(&pHandleNmx);
Delphi
NMX_DeviceClose_1(pNmxHandle);
C# / .Net
cNmx.DeviceClose_1(ref pDevice);