DCTag SDK: dc_tag_write

DCTag SDK 1.2.1

DCTag SDK  1.2.1
Copyright © 1983-2016 Advantech Co., Ltd.
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_handlesThe tag handle array contains all tag handles to be written.
[out]tag_valuesThe 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_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.
Examples:
dc_tag_write.c.
Generated on Thu May 19 2016 14:18:17 for DCTag SDK by   doxygen 1.8.11