NMX_DeviceClose_1

<< Click to Display Table of Contents >>

Navigation:  NmxDLL Reference Guide > API (programming interface) > Connecting / Disconnecting >

NMX_DeviceClose_1

This function is used to close a connection to a device (measurement system).

See also the HowTo-Guide.

 

Definition


NMX_STATUS NMX_DeviceClose_1(

 NMX_PHANDLE *ppHandle);

 

Parameter


ppHandle

Pointer to Connection Handle.

 

Typical function call (C example)


NMX_DeviceClose_1(&pHandle);

 

.Net DLL specific implementation


NMX_MSTATUS DeviceClose_1(System::IntPtr %ppHandle);

 

Comments


If the connection is not established, nothing happens except that NST_HANDLE_INVALID is returned.

An established connection must be closed before terminating your application. It is good practice calling this function in any case before terminating.