DCTag SDK: dc_tag_add_subscription

DCTag SDK 1.2.1

DCTag SDK  1.2.1
Copyright © 1983-2016 Advantech Co., Ltd.
void* dc_tag_add_subscription ( DC_TAG_HANDLE  tag_handles[],
uint32_t  tag_count 
)

Subscribe tags for read.


If you need to read some tags periodically, you can subscribe these tags before read and call dc_tag_read_subscription to read tag values, this will achieve the best reading performance.

Parameters
[in]tag_handlesThe tag handle array contains all tag handles to be read.
[in]tag_countThe count of the tag handle in the tag_handles.
Returns
On success, a subscription context will returned, otherwise a NULL is returned.
Examples:
dc_tag_read_subscription.c.
Generated on Thu May 19 2016 14:18:17 for DCTag SDK by   doxygen 1.8.11