TDCBase

tdcmultidev.h
Go to the documentation of this file.
1 /******************************************************************************
2 *
3 * Project: TDC Control Library
4 *
5 * Filename: tdcmultidev.h
6 *
7 * Purpose: Multi Device Handling for TDC devices
8 *
9 * Author: NHands GmbH & Co KG
10 */
11 /*****************************************************************************/
28 /*****************************************************************************/
29 /* $Id: tdcmultidev.h,v 1.1 2020/09/03 13:57:02 trurl Exp $ */
30
31 #ifndef __TDCMULTIDEV_H
32 #define __TDCMULTIDEV_H
33
34 #include "tdcdecl.h"
35
48 TDC_API int TDC_CC TDC_discover( unsigned int * devCount );
49
50
64 TDC_API int TDC_CC TDC_getDeviceInfo( unsigned int devNo,
65 TDC_DevType * type,
66 int * id,
67 char * serialNo,
68 Bln32 * connected );
69
70
80 TDC_API int TDC_CC TDC_connect( unsigned int devNo );
81
82
91 TDC_API int TDC_CC TDC_disconnect( unsigned int devNo );
92
93
101 TDC_API int TDC_CC TDC_addressDevice( unsigned int devNo );
102
103
111 TDC_API int TDC_CC TDC_getCurrentAddress( unsigned int * devNo );
112
113 #endif
TDC_DevType
TDC_DevType
Type of the TDC device.
Definition: tdcbase.h:52
tdcdecl.h
Technical declarations for the DLL interface and basic type defs.
Bln32
__int32 Bln32
integer used as boolean
Definition: tdcdecl.h:57
TDC_CC
#define TDC_CC
Calling convention
Definition: tdcdecl.h:34
TDC_API
#define TDC_API
External DLL interface.
Definition: tdcdecl.h:38
TDC_discover
TDC_API int TDC_CC TDC_discover(unsigned int *devCount)
Find Devices.
TDC_disconnect
TDC_API int TDC_CC TDC_disconnect(unsigned int devNo)
Disconnect from a Device.
TDC_getDeviceInfo
TDC_API int TDC_CC TDC_getDeviceInfo(unsigned int devNo, TDC_DevType *type, int *id, char *serialNo, Bln32 *connected)
Inspect a Device.
TDC_addressDevice
TDC_API int TDC_CC TDC_addressDevice(unsigned int devNo)
Address a Device.
TDC_connect
TDC_API int TDC_CC TDC_connect(unsigned int devNo)
Connect to a Device.
TDC_getCurrentAddress
TDC_API int TDC_CC TDC_getCurrentAddress(unsigned int *devNo)
Current Device Address.