DCTag SDK: dc_tag_add

DCTag SDK 1.2.1

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

Add a tag to the DataCenter.


Parameters
[in]tag_nameSpecify the name of the tag you want to add to the DataCenter, if an exist tag in the DataCenter has the same name with the tag adding, then this function will return error and no new tag will be added to the DataCenter.
[in]tag_contextThe context related to the tag added, it will be passed by the read or write callback function.
Returns
On success, a valid tag handle is returned, otherwise NULL is returned.
Examples:
dc_tag_owner.c, and dc_tag_update.c.
Generated on Thu May 19 2016 14:18:17 for DCTag SDK by   doxygen 1.8.11