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 2017/12/14 12:43:52 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_API int TDC_CC TDC_getDeviceInfo(unsigned int devNo, TDC_DevType *type, int *id, char *serialNo, Bln32 *connected)
Inspect a Device.
#define TDC_CC
Calling convention.
Definition: tdcdecl.h:34
TDC_API int TDC_CC TDC_addressDevice(unsigned int devNo)
Address a Device.
TDC_API int TDC_CC TDC_getCurrentAddress(unsigned int *devNo)
Current Device Address.
TDC_DevType
Type of the TDC device.
Definition: tdcbase.h:53
TDC_API int TDC_CC TDC_disconnect(unsigned int devNo)
Disconnect from a Device.
TDC_API int TDC_CC TDC_connect(unsigned int devNo)
Connect to a Device.
__int32 Bln32
integer used as boolean
Definition: tdcdecl.h:57
#define TDC_API
External DLL interface.
Definition: tdcdecl.h:38
TDC_API int TDC_CC TDC_discover(unsigned int *devCount)
Find Devices.
Technical declarations for the DLL interface and basic type defs.