Returns the interface type of a specified Driver's name.
[ lType = ] GetDriverType ( [ sDriverName ] )
The GetDriverType procedure syntax has the following parts:
Name |
Type |
Description |
lType |
Driver type |
|
sDriverName |
Val BString |
Name of the Driver in the Driver table |
enumAInterfaceType can be one of the following:
Name |
Value |
Description |
aioNone |
0 |
None |
aioGpib |
1 |
GPIB |
aioCom |
2 |
COM |
aioVxi |
3 |
VXI |
aioFile |
4 |
File |
aioIsa |
5 |
ISA |
aioWinSock |
6 |
Winsock |
aioUsb |
7 |
USB |
The Driver's name must be specified according to its definition in the Driver shortcut Property page. Otherwise, the function returns -1.
Print GetDriverType("sVxiDriver")
! This will print 8 if sVxiDriver is a VXI Driver
ADriver, ADriver.InterfaceInfo, ADriver.InterfaceType, ADriver.ModuleType, ASystem, Driver Variable, enumAInterfaceType, GetDriverAddress, GetDriverModule, GetDriverName