Retrieves the maximum number of channels for the analog output. This function supports multi-process.
Ret = AioGetAoMaxChannels ( Id , AoMaxChannels )
Id
[ VB.NET : Short ] [ C, C++ : short ] [ C# : short ] [ Python : ctypes.c_short
]
Specifies the ID retrieved from AioInit function.
AoMaxChannels
[ VB.NET : Short ] [ C, C++ : short * ] [ C# : out short ] [ Python :
ctypes.POINTER(ctypes.c_short) ]
Specifies the address of the variable that stores the maximum number of
channels.
Ret [ VB.NET : Integer ] [ C, C++ : long ] [ C# : int ] [ Python : ctypes.c_long ]
Return values |
Content |
0 |
Normality completion |
7 |
Execute AioResetDevice function because the device has recovered from standby mode |
10001 |
Invalid
Id was specified |
10002 |
AIO
driver can't be called |
13080 |
Pointer
to AoMaxChannels is NULL |
20002 |
Can
not use while by another device works |
The maximum number of channels differs by the device that you use.
If the device is in operation, the function cannot be performed.
AIO-163202G-PE |
AoMaxChannels = 2 |
AIO-160802L-LPE |
AoMaxChannels = 2 |
DA16-16(LPCI)L |
AoMaxChannels = 16 |
DA16-8(LPCI)L |
AoMaxChannels = 8 |
AO-1604L-LPE |
AoMaxChannels = 4 |
DA12-16(PCI) |
AoMaxChannels
= 16 |
AO-1604CI3-PCI |
AoMaxChannels = 4 |
AIO-160802AY-USB |
AoMaxChannels = 2 |
AIO-163202FX-USB |
AoMaxChannels = 2 |
AIO-121602LN-USB |
AoMaxChannels = 2 |
AO-1604VIN-USB |
AoMaxChannels = 4 |
AD12-16(PCI)EV |
AoMaxChannels = 1 |
CPS-AO-1604LI |
AoMaxChannels = 4 |
CPSN-AO-1602LC |
AoMaxChannels = 2 |
DEMO DEVICE |
AoMaxChannels = 256 |
Retrieves the maximum number of channels for the analog output.
VB.NET |
Dim
Ret As Integer |
C, C++ |
long
Ret; |
C# |
int
Ret; |
Python |
Ret
= ctypes.c_long() |