EasyManua.ls Logo

STW TC1 - Page 170

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 170/374
7.3.5.2.8 ydatad_validate_variable
Function Description
E_DataType ydatad_validate_variable (const charn * const opcn_Type, const charn * const
opcn_Size)
The function checks whether the type of variable exists and if the size is correct. If both input values fit, the
function returns the corresponding "variable type index".
Information Flow
Input Information
Parameter
Range
Description
opcn_Type
allowed types:
"UINT8"
"SINT8"
"UINT16"
"SINT16"
"UINT32"
"SINT32"
"FLOAT32"
"AOBYTE"
"STRING"
pointer to the variable type
opcn_Size
allowed type size:
"UINT8" = 1
"SINT8" = 1
"UINT16" = 2
"SINT16" = 2
"UINT32" = 4
"SINT32" = 4
"FLOAT32" = 4
"AOBYTE" = sizeof
(au8_byte)
"STRING" = strlen
(acn_string)
pointer to the size of variable type

Table of Contents