DCTag SDK: dc_tag_open

DCTag SDK 1.2.1

DCTag SDK  1.2.1
Copyright © 1983-2016 Advantech Co., Ltd.
DC_TAG_HANDLE dc_tag_open ( char const *  tag_name,
void *  tag_context 
)

Open a exist tag in the DataCenter with the specified name.


Even the tag would be opened is not present in the DataCenter, this function also return a valid handle, but if you read the tag you would get a exception quality code.

Parameters
[in]tag_nameSpecify the name of the tag you want to add to the DataCenter.
[in]tag_contextThe context related to the tag opened, it will be passed by the update callback function.
Returns
On success, a valid tag handle is returned, otherwise NULL is returned.
Examples:
dc_tag_read.c, dc_tag_read_subscription.c, dc_tag_update.c, and dc_tag_write.c.
Generated on Thu May 19 2016 14:18:17 for DCTag SDK by   doxygen 1.8.11