sysDefineVariableFloat
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE NoteVariables defined with this function can only be accessed using the
sysGetVariable.../sysSetVariable... functions where namespace and variable name are given as string parameters. The variable can only be created with an available namespace. The namespace can be created with sysDefineNamespace.
Function Syntax
Description
Defines a variable of the float type.Parameters
- namespace: Name of the namespace.
- variable: Name of the variable.
- initialValue: Initial value of the variable.
- minimum: The minimum value of the variable.
- maximum: The maximum value of the variable.
Return Values
- 0: no error, function successful
- 1: namespace was not found or second try to define the same namespace
- 2: variable was not found or second try to define the same variable
- 3: no writing right for the namespace available
- 4: the variable has no suitable type for the function
- 5: given minimum is larger than the given maximum