DCTag SDK: dc_tag_read

DCTag SDK 1.2.1

DCTag SDK  1.2.1
Copyright © 1983-2016 Advantech Co., Ltd.
int dc_tag_read ( DC_TAG_HANDLE  tag_handles[],
DC_TAG  tag_values[],
uint32_t  tag_count 
)

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_handlesThe tag handle array contains all tag handles to be read.
[out]tag_valuesThe 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_countThe 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.
Generated on Thu May 19 2016 14:18:17 for DCTag SDK by   doxygen 1.8.11