DCTag SDK: DCTag.h File Reference

DCTag SDK 1.2.1

DCTag SDK  1.2.1
Copyright © 1983-2016 Advantech Co., Ltd.
DCTag.h File Reference
#include <stdint.h> #include <stdbool.h>
#include "QualityDefine.h"
Include dependency graph for DCTag.h:

Go to the source code of this file.

Data Structures

struct  dc_tag
 
struct  dc_tag_callback
 

Macros

#define DC_TAG_MAX_RW_COUNT   3000
 

Typedefs

typedef struct dc_tag DC_TAG
 
typedef struct dc_tag_callback DC_TAG_CALLBACK
 
typedef void * DC_TAG_HANDLE
 

Enumerations

Functions

DC_TAG_HANDLE dc_tag_add (char const *tag_name, void *tag_context)
 Add a tag to the DataCenter. More...
 
void * dc_tag_add_subscription (DC_TAG_HANDLE tag_handles[], uint32_t tag_count)
 Subscribe tags for read. More...
 
int dc_tag_close (DC_TAG_HANDLE tag_handle)
 Close a tag from the DataCenter which previous opened by yourself. More...
 
char const * dc_tag_explain_quality (int16_t quality)
 obtain explanations for the specified quality value. More...
 
int dc_tag_init (uint32_t max_tag_count, DC_TAG_CALLBACK *callback, void *user_context)
 Initialize the DCTag SDK. More...
 
DC_TAG_HANDLE dc_tag_open (char const *tag_name, void *tag_context)
 Open a exist tag in the DataCenter with the specified name. More...
 
int dc_tag_read (DC_TAG_HANDLE tag_handles[], DC_TAG tag_values[], uint32_t tag_count)
 Read one or more tags. More...
 
int dc_tag_read_subscription (void *subscription, DC_TAG tag_values[], uint32_t tag_count)
 Read one or more tags by previous subscription. More...
 
int dc_tag_remove (DC_TAG_HANDLE tag_handle)
 Remove a tag from the DataCenter which previous added by yourself. More...
 
int dc_tag_remove_subscription (void *subscription)
 Remove a previous subscription. More...
 
void dc_tag_uninit (void)
 Uninitialize the DCTag SDK. More...
 
int dc_tag_update (DC_TAG_HANDLE tag_handles[], DC_TAG tag_values[], uint32_t tag_count)
 Update one or more tags. More...
 
int dc_tag_write (DC_TAG_HANDLE tag_handles[], double tag_values[], uint32_t tag_count)
 Write one or more tags. More...
 

Detailed Description

For using DCTag SDK, please include this file in your source code.

Generated on Thu May 19 2016 14:18:17 for DCTag SDK by   doxygen 1.8.11