|
int dc_tag_write |
( |
DC_TAG_HANDLE |
tag_handles[], |
|
|
double |
tag_values[], |
|
|
uint32_t |
tag_count |
|
) |
| |
Write one or more tags.
Before perform write operation, you should prepare a tag handle array, which contains all tag handles to be written, be note the max tag count is limited by DC_TAG_MAX_RW_COUNT.
- Parameters
-
[in] | tag_handles | The tag handle array contains all tag handles to be written. |
[out] | tag_values | The tag value array contains all tag value to be written, be sure the count of the tag value equals to or larger than the count of the tag handle. |
[in] | tag_count | The count of the tag handle in the tag_handles. |
- Returns
- On success, zero is returned, otherwise an error code is returned. please refer to the enum dc_tag_error_code for the error code description.
- Examples:
- dc_tag_write.c.
|