Functions | |
| int32_t | VkDaqSetTaskStreamData (const char *task, const double dat[], int32_t sampsPerChan, int32_t fillmode, int32_t autoStart, int32_t stopAt, double timeout) |
| Set task data. | |
| int32_t VkDaqSetTaskStreamData | ( | const char * | task, |
| const double | dat[], | ||
| int32_t | sampsPerChan, | ||
| int32_t | fillmode, | ||
| int32_t | autoStart, | ||
| int32_t | stopAt, | ||
| double | timeout | ||
| ) |
Set task data.
| data type | parameter | describe |
|---|---|---|
const char* |
task |
Task name(string type, for example"Task1") |
const double[] |
dat[] |
Task data buffer (doublearray pointer). |
int32_t |
sampsPerChan |
The number of samples to be written to each channel (integer type). |
int32_t |
fillmode |
Data arrangement:0: interleaving (grouped by scan count)1: Non interleaved (grouped by channel)
|
int32_t |
autoStart |
Waveform output control:0: Do not output waveform1: Output waveform
|
int32_t |
stopAt |
Waveform stop control:0: When stopped, the output voltage is 0V1: When stopped, the output voltage is the current voltage
|
double |
timeout |
Timeout time (unit: seconds,doubletype, supports sub second precision, for example0.5represents 500 milliseconds). |