7 Teleservice Application Framework
User Manual 180/374
Information Flow
Input Information
includes the data pool index
includes the variable list index
pointer to the variable name
Output Information
Returns the variable index number of the named variable list and data pool
Invalid data pool, list or variable or variable name out of range
Structure T_DATA_VARIABLE_INFO
typedef struct
{
charn acn_VarName[MAX_DP_NAME_LENGTH]; // Variable name, max size of 32
charn acn_Type[MAX_DP_TYPENAME_LENGTH]; // Type of variable: max size of 10
// "UINT8"
// "SINT8"
// "UINT16"
// "SINT16"
// "UINT32"
// "SINT32"
// "FLOAT32"
// "AOBYTE"
// "STRING"
E_DataType e_TypeIndex;
sint32 s32_Size; // Size of the variable
charn acn_Unit[MAX_DP_METANAME_LENGTH]; // Unit of the variable, max size of 64
charn acn_Comment[MAX_DP_METANAME_LENGTH]; // Comment of the variable, max size of
64
void* pv_SHM_Address;
sint32 s32_Address_Offset;
} T_DATA_VARIABLE_INFO;
typedef enum
{
eUNKNOWN = 0,
eUINT8,
eSINT8,
eUINT16,
eSINT16,
eUINT32,
eSINT32,
eFLOAT32,
eAOBYTE,
eSTRING,
eNULL