EasyManua.ls Logo

STW TC1 - Page 186

STW TC1
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 Teleservice Application Framework
User Manual 186/374
eFLOAT32,
eAOBYTE,
eSTRING,
eNULL
}E_DataType;
Return Value
Description
C_NO_ERR
Function executed without error, read data pool info runs successful
C_RANGE
Data pool, list or variable does not exist, or NULL pointer
Example
//Global module
sint32 s32_DataPoolIndex;
sint32 s32_ListIndex;
sint32 s32_VarIndex;
T_DATA_VARIABLE_INFO t_DataVariableInfo;
sint32 s32_Retval;
s32_DataPoolIndex = ydatad_get_datapool_index ("MyDatapool")
s32_ListIndex = ydatad_get_list_index (s32_DataPoolIndex , "GPSDates");
s32_VarIndex = ydatad_get_variable_index (s32_DataPoolIndex, s32_ListIndex , "Logitude");
s32_Retval = ydatad_get_variable_info (s32_DataPoolIndex, s32_ListIndex ,s32_VarIndex
,&t_DataVariableInfo);
if (s32_Retval == C_NO_ERR)
{
// Go on
}
7.3.5.4.10 ydatad_check_update_list
Function Description
sint32 ydatad_check_update_list(const sint32 os32_DatapoolIndex, const sint32
os32_VariableListIndex)
The function checks if at least one entry of the data pool list specified by os32_DatapoolIndex and
os32_VariableListIndex has been updated since the last call of this function.
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

Table of Contents