7 Teleservice Application Framework
User Manual
181/374
}E_DataType;
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");
7.3.5.4.6
ydatad_get_list_index
Function Description
sint32 ydatad_get_list_index (const sint32
ops32_DatapoolIndex,
const charn * const
opcn_VariableListName)
The function returns the variable list index number ops32_DatapoolIndex, of the variable list name
opcn_VariableListName.
Information Flow
Input Information
Parameter
Range
Description
os32_DatapoolIndex
0 .. maximum of sint32
includes the index of the data pool
opcn_VariableListName
1 ..
MAX_DP_NAME_LENGTH
pointer to the variable list name
Output Information
Return Value
Description
>= 0
Returns the data pool index number of the named list
C_UNKNOWN_ERR
NULL pointer
C_RANGE
Data pool not initialized or data pool index invalid or variable list 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
WARNING:
The data pool names and the data pool itself have to be loaded first.
Содержание TC1
Страница 1: ...TC1 User Manual Version of this document V1 00r0 ...
Страница 25: ...5 Hardware User Manual 25 374 5 2 2 Block Diagram Variant TC1 WIFI ...
Страница 34: ...5 Hardware User Manual 34 374 5 6 Housing Connector Top view and side view Bottom View ...
Страница 125: ...7 Teleservice Application Framework User Manual 125 374 TAF overview ...
Страница 174: ...7 Teleservice Application Framework User Manual 174 374 ADDRESS 6 SIZE 4 TYPE UINT32 UNIT COMMENT EnginePower ...
Страница 190: ...7 Teleservice Application Framework User Manual 190 374 How the logger mechanism works ...
Страница 223: ...7 Teleservice Application Framework User Manual 223 374 Association between logic hysteresis and threshold ...
Страница 293: ...8 Development Tools User Manual 293 374 3 Adapt the Build Options in order to build the binary with debug symbols ...
Страница 302: ...8 Development Tools User Manual 302 374 2 Adapt the Build Options in order to build the binary with debug symbols ...