Starts DA conversion based on the condition settings.
Ret = AioStartAo ( Id )
Id
[ VB.NET : Short ] [ C, C++ : short ] [ C# : short ] [ Python : ctypes.c_short
]
Specifies the ID retrieved from AioInit function.
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 |
20001 |
This function can't be used by this device |
20002 |
Can
not use while by another device works |
20003 |
Can
not use because another process is using the device |
23320 |
Data aren't established, or memory can't be secured |
23321 |
Data aren't established |
23326 |
A user buffer isn't set up |
When this
function is executed, DA conversion is started based on the set condition.
The generating clock period error and DA conversion error are automatically reset,
but the other state and status aren't reset.
The device action stops when all of output is completed on the setting condition.
This function
cannot be used on devices without the analog output function.
This function cannot be executed if the device is in operation.
If external
clock is specified by function AioSetAoClockType, by executing this function,
the number of generatings (AioGetAoSamplingCount) or the transfer count
(AioGetAoTransferCount) will increase by 1.
This is because, even if one data has been sent to DA converter by the
gate open, the actual output will not performed until an external trigger
is input.
Start DA conversion.
VB.NET |
Dim
Ret As Integer |
C, C++ |
long
Ret; |
C# |
int
Ret; |
Python |
Ret
= ctypes.c_long() |
AioStopAo AioSingleAo AioMultiAo