7 Teleservice Application Framework
User Manual
182/374
// "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
}E_DataType;
Example
// Global module
sint32 s32_DataPoolIndex;
sint32 s32_ListIndex;
s32_DataPoolIndex = ydatad_get_datapool_index ("MyDatapool")
s32_ListIndex = ydatad_get_list_index (s32_DataPoolIndex , "GPSDates");
7.3.5.4.7
ydatad_set_variable
Function Description
sint32 ydatad_set_variable (const sint32
os32_DatapoolIndex,
const sint32
os32_VariableListIndex,
const sint32
os32_VariableIndex,
const void * const
opv_Buffer,
const
uint32
ou32_NumberOfBytesToWrite)
This function verifies whether the indexed variable exists and that it is not locked by a write operation of another
process. The function writes the number of bytes from the buffer to the variable.
WARNING:
The variable list and data pool have to be initialized before. In addition the data pool has to be
loaded!
Summary of Contents for TC1
Page 1: ...TC1 User Manual Version of this document V1 00r0 ...
Page 25: ...5 Hardware User Manual 25 374 5 2 2 Block Diagram Variant TC1 WIFI ...
Page 34: ...5 Hardware User Manual 34 374 5 6 Housing Connector Top view and side view Bottom View ...
Page 125: ...7 Teleservice Application Framework User Manual 125 374 TAF overview ...
Page 190: ...7 Teleservice Application Framework User Manual 190 374 How the logger mechanism works ...