Find out the type of a device. This function supports multi-process.
Ret = AioGetDeviceType ( Device , DeviceType )
Device
[ VB.NET : String ] [ C, C++ : char * ] [ C# : string ] [ Python : ctypes.c_char_p
]
Specifies the device name.(For example: "AD12-16U(PCI)EV")
DeviceType
[ VB.NET : Short ] [ C, C++ : short * ] [ C# : out short ] [ Python :
ctypes.POINTER(ctypes.c_short) ]
Specifies the address of a variable that receives the type of device.
0 |
Reserved |
1 |
PCI |
2 |
PC Card |
3 |
USB |
4 |
Reserved |
5 |
Demo Device |
6 |
Card Bus |
20 |
NET |
Ret [ VB.NET : Integer ] [ C, C++ : long ] [ C# : int ] [ Python : ctypes.c_long ]
Return values |
Content |
0 |
Normality completion |
10013 |
Could not get device type |
10014 |
Pointer
to Device is NULL |
10015 |
Pointer
to DeviceType is NULL |
Retrieves the type of device "AD12-16(PCI)EV".
VB.NET |
Dim
Ret As Integer |
C, C++ |
long
Ret; |
C# |
int
Ret; |
Python |
Ret
= ctypes.c_long() |