Download User Manual - SMOS L1 Processor Prototype

Transcript
EE XML/Binary CFI
File Handling
•
Code :
SO-UM-DME-L1PP-0005
Date :
02/12/08
Issue :
2.5
Page :
29 of 29
ERR_CODE_NO_ERROR
4.4.2.6. get_short
Syntax:
tError get_short(int object_ID, char *varname, unsigned short *value);
This function requests the value of the variable identified by varname in the object of BinX, identified
by object_ID. Then the value is converted to short and is returned to the user in value.
The function returns a tError structure to inform the status of the operation.
The errors returned are:
•
ERR_CODE_ERROR_ACCESSING_OBJECT
•
ERR_CODE_NO_ERROR
4.4.2.7. get_int
Syntax:
tError get_int(int object_ID, char *varname, int *value);
This function requests the value of the variable identified by varname in the object of BinX, identified
by object_ID. Then the value is converted to int and is returned to the user in value.
The function returns a tError structure to inform the status of the operation.
The errors returned are:
•
ERR_CODE_ERROR_ACCESSING_OBJECT
•
ERR_CODE_NO_ERROR
4.4.2.8. get_long
Syntax:
tError get_long(int object_ID, char *varname, long long *value);
This function requests the value of the variable identified by varname in the object of BinX, identified
by object_ID. Then the value is converted to long long (C99 Standard) and is returned to the user
in value.
The function returns a tError structure to inform the status of the operation.
The errors returned are:
•
ERR_CODE_ERROR_ACCESSING_OBJECT
•
ERR_CODE_NO_ERROR
4.4.2.9. get_float
Syntax:
tError get_float(int object_ID, char *varname, float *value);
This function requests the value of the variable identified by varname in the object of BinX, identified
by object_ID. Then the value is converted to float and is returned to the user in value.
This document is property of DEIMOS Engenharia and cannot be distributed or duplicated without its written permission.