Sets the wait time for generating start. It is no need to execute this function usually.
Ret = DioDmSetTransferStartWait ( Id , Time )
Id
[ VB.NET: Short ] [ C, C++: short ] [ C#: short ] [ Python: ctypes.c_short]
Specify the device ID retrieved from DioInit.
Time
[ VB.NET: Short ] [ C, C++: short ] [ C#: short ] [ Python: ctypes.c_short]
Specify the wait time in [ms]. The default is 10msec. Usually it is specified
to 0 or 10.
Ret [ VB.NET: Integer ] [ C, C++: long ] [ C#: int ] [ Python: ctypes.c_long ]
Definition |
Value [Dec] |
Description |
DIO_ERR_SUCCESS |
0 |
Normal completed. |
DIO_ERR_SYS_RECOVERED_FROM_STANDBY |
7 |
Execute DioResetDevice function because the device has recovered from standby mode. |
DIO_ERR_DLL_INVALID_ID |
10001 |
Invalid ID specified. |
DIO_ERR_DLL_CALL_DRIVER |
10002 |
Not call the driver (Failure on DEVICE I/O CONTROL). |
DIO_ERR_SYS_NOT_SUPPORTED |
20001 |
This board couldn't use this function. |
The others (See also: Details of Error Code)
None
Before the generating starts, to wait for the data in FIFO on the board to be transferred, 10msec is need by default. However, the wait might be unnecessary according to the data quantity and transfer rate etc. Please use this function when an error occurred while the DioDmTransferStart function is being performed.