| libvkdaq VKINGING DAQ Library API Reference |

Loading...
Searching...
No Matches
Functions
Stop task
libvkdaq Function interface » Configuration task

## Functions
int32_t | VkDaqStopTask (const char *task)
| Stop task.

## Detailed Description

## Function Documentation

## ◆ VkDaqStopTask()

int32_t VkDaqStopTask | ( | const char * | task | ) |

Stop task.

data type | parameter | describe
--- | --- | ---
`const char*` | `task` | Task name(string type, for example`"Task1"`)

Returns
  On success, return value >= 0.
  On failure, returns a negative error number.For detail, please Call VkDaqGetLastErrorInfo

C language reference
#include <stdio.h>
#include "libvkdaq.h"
int main(int argc, char* argv[])
{
const char* task = "task1";
int32_t result = VkDaqCreateTask(task);
result = VkDaqStopTask(task);
if (result >= 0) {
printf("Successful\n");
}
else {
printf("Failed\n");
}
return 0;
}
VkDaqCreateTask
int32_t VkDaqCreateTask(const char *task)
Create task.
VkDaqStopTask
int32_t VkDaqStopTask(const char *task)
Stop task.