neMESYS SDK  20150729
Initialisation

Initialize communication to device. More...

Functions

NCS_Func long __stdcall NCS_CloseDevice (ncs_hdl hDevice)
 Closes connection and frees all resources. More...
 
NCS_Func long __stdcall NCS_OpenDevice (unsigned char bShowStatusWnd, ncs_hdl *phDevice)
 Opens a connection for sending and receiving data. More...
 

Detailed Description

Initialize communication to device.

This group defines all required functions to initialize a correct communication to the device.

See also
Example neMESYS_Init.cpp

Function Documentation

NCS_Func long __stdcall NCS_CloseDevice ( ncs_hdl  hDevice)

Closes connection and frees all resources.

Parameters
[in]hDeviceValid device handle
Returns
Error code
Examples:
neMESYS_Init.cpp.
NCS_Func long __stdcall NCS_OpenDevice ( unsigned char  bShowStatusWnd,
ncs_hdl phDevice 
)

Opens a connection for sending and receiving data.

Parameters
[in]bShowStatusWndIf true it displays a status window during initialisation search for dosing units.
[out]phDeviceIf the error code is ERR_NOERR then this parameter returns a valid device handle to a neMESYS dosing system consisting of multiple neMESYS devices.
Returns
Error code - ERR_NOERR indicates success
Examples:
neMESYS_Init.cpp.