|
Read one or more tags.
Before perform read operation, you should prepare a tag handle array, which contains all tag handles to be read, 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 read. |
[out] | tag_values | The tag value array contains all tag value returned, 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.
- Remarks
- If there is only one tag, be sure to use the pointer of the tag handle instead of using the tag handle directly.
- Examples:
- dc_tag_read.c, and dc_tag_write.c.
|