Functions | |
| int32_t | VkDaqGetTaskAttribute (const char *task, const char *attrName, char attrValue[], int32_t size) |
| Get task attribute value. | |
| int32_t VkDaqGetTaskAttribute | ( | const char * | task, |
| const char * | attrName, | ||
| char | attrValue[], | ||
| int32_t | size | ||
| ) |
Get task attribute value.
| data type | parameter | describe |
|---|---|---|
const char* |
task |
Task name(string type, for example"Task1") |
const char* |
attrName |
Attribute name.Available values: "Attributes": Query all attribute names of the current task. The returned attribute names are separated by commas. "Channels": Query all channel names of the current task. The returned channel names are separated by commas. "ChannelsAvailable": Query the available channel names for the current task. The returned channel names are separated by commas. "Name": Query task name. "Status": Query task status. "PID": Query the task creator process ID. "EXE": Query the process application path of the task creator. "Mode":Master-Slave Mode. "SamplingFrequency":SamplingFrequency. "Detail":Detailed task configuration information in JSON format. |
char[] |
attrValue[] |
Character array, used to store attribute values, multiple values are separated by commas. |
int32_t |
size |
The size of the attrValue arrays. |