|
TCNOpen TRDP-SPY
2.0
|
description of one element More...
#include <trdpDict.h>

Data Fields | |
| char * | name |
| char * | unit |
| guint32 | type |
| char | typeName [32] |
| gint32 | array_size |
| gdouble | scale |
| gint32 | offset |
| gint32 | width |
| struct Dataset * | linkedDS |
description of one element
All persisted information can be seen in this diagram:
| gint32 Element::array_size |
Amount this value occurred. 1 is default; 0 indicates a dynamic list (the dynamic list is preceeded by an integer revealing the actual size.)
| struct Dataset* Element::linkedDS |
points to DS for non-standard types
| char* Element::name |
Name of the element, maybe a stringified index within the dataset, never NULL
| gint32 Element::offset |
Offset that is added to the values. displayed value = scale * raw value + offset
| gdouble Element::scale |
A factor the given value is scaled
| guint32 Element::type |
Numeric type of the variable (see Usermanual, chapter 4.2) or defined at TRDP_BOOL8, TRDP_UINT8, TRDP_UINT16 and so on.
| char Element::typeName[32] |
typeNames are allowed between 1..30 octets
| char* Element::unit |
Unit to display, may point to an empty string
| gint32 Element::width |
Contains the Element's size as returned by trdp_dissect_width(this->type)