Elatec GmbH TWN3A1 User Manual

Page of 44
Elatec GmbH 
Page 41 of 44 
7.2.5.8  Retrieving System Information 
byte GetConnection() 
Retrieve the physical type of connection (V24 or USB). 
Parameter: 
None. 
Return: 
Either one of the defined constants: 
V24
The TWN3 reader is connected via a V24 cable to 
   
the host. 
USB
The TWN3 reader is connected via a USB cable to 
   
the host 
 
byte GetUSBMode() 
Retrieve the information if the TWN3 reader is emulating a keyboard or if it is emulating a virtual COM 
port. 
Parameter: 
None. 
Return: 
Either one of the defined constants: 
USBVCOM
The TWN3 reader is emulating a virtual COM port. 
USBHID
:  
The TWN3 reader is emulating a keyboard. 
 
byte GetDeviceType() 
Retrieve the information, which family of transponders this device supports. 
Parameter: 
None. 
Return: 
Either one of the defined constants: 
DEVTYPE_MULTI125
 
Multi125 
DEVTYPE_MIFARE
 
Mifare 
DEVTYPE_HIDPROX
 
HID Prox 
DEVTYPE_LEGICPRIME
:  
Legic Prime (obsolete) 
DEVTYPE_HIDICLASS
:   
HID iClass 
DEVTYPE_LEGICADVANT
Legic 
 
7.2.5.9  Miscellaneous 
void Reset() 
Restart the execution of the script. 
Parameter: 
None. 
Return: 
None.