EasyManuals Logo

STW TC1 User Manual

STW TC1
374 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #185 background imageLoading...
Page #185 background image
7 Teleservice Application Framework
User Manual 185/374
7.3.5.4.9 ydatad_get_variable_info
Function Description
sint32 ydatad_get_variable_info (const sint32 os32_DatapoolIndex, const sint32
os32_VariableListIndex, const sint32 os32_VariableIndex, T_DATA_VARIABLE_INFO * const
opt_DataVariableInfo)
The function verifies whether the indexed variable exists and returns a pointer to the variable information
structure opt_DataVariableInfo.
Information Flow
Input Information
Parameter
Range
Description
os32_DatapoolIndex
0 .. maximum of sint32
includes the data pool index
os32_VariableListIndex
0 .. maximum of sint32
includes the variable list index
os32_VariableIndex
0 .. maximum of sint32
includes the variable index
Output Information
Parameter
Range
Description
opt_DataVariableInfo
T_DATA_VARIABLE_INFO
includes the data variable info
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,

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the STW TC1 and is the answer not in the manual?

STW TC1 Specifications

General IconGeneral
BrandSTW
ModelTC1
CategoryController
LanguageEnglish