Functions | |
| int32_t | VkDaqGetTaskData (const char *task, double dat[], int32_t sampsPerChan, int32_t fillmode, double timeout) |
| Get task data. | |
| int32_t VkDaqGetTaskData | ( | const char * | task, |
| double | dat[], | ||
| int32_t | sampsPerChan, | ||
| int32_t | fillmode, | ||
| double | timeout | ||
| ) |
Get task data.
| data type | parameter | describe |
|---|---|---|
const char* |
task |
Task name. |
double[] |
dat[] | dat
Task data buffer, its size must be greater than or equal to the number of channels x sampsPerChan. |
int32_t |
sampsPerChan |
The number of samples, per channel, to read. |
int32_t |
fillmode |
Specifies whether or not the samples are interleaved. 0: Group by scan number (interleaved). 1: Group by channel (non-interleaved) |
double |
timeout |
The waiting time for the function to read the sample (in seconds, double type, can be set within one second). |