Retrieves the list of available devices. This function supports multi-process.
Ret = AioQueryDeviceName(Index, DeviceName, Device)
Index
[ VB.NET : Short ] [ C, C++ : short ] [ C# : short ] [ Python : ctypes.c_short
]
This parameter should be zero for the first call and then be incremented
by 1 for subsequent calls.
DeviceName
[ VB.NET : String ] [ C, C++ : char * ] [ C# : out StringBuilder ] [ Python
: ctypes.c_char_p ]
Returns the device name. (For example: "AIO000")
Device
[ VB.NET : String ] [ C, C++ : char * ] [ C# : out StringBuilder ] [ Python
: ctypes.c_char_p ]
Returns the board name. (For example: "AD12-16U(PCI)EV")
Ret [ VB.NET : Integer ] [ C, C++ : long ] [ C# : int ] [ Python : ctypes.c_long ]
Return values |
Content |
0 |
Normality completion |
10006 |
Device
not found |
10007 |
Pointer
to DeviceName is NULL |
10008 |
Pointer
to Device is NULL |
This function can be used when you are creating
a general-purpose application about the selected device to be used.
Index is incremented by 1 from 0 in order for subsequent calls until the
function returns error.
Retrieves the information of the device by Index=0.
VB.NET |
Dim
Ret As Integer |
C, C++ |
long
Ret; |
C# |
int
Ret; |
Python |
Ret
= ctypes.c_long() |