This function reads the real value assigned to an attribute from the specified block.
int c_rto_read_real(const char *block, const char *attrib, int *alen, double *dval);
Argument |
Type |
|
Description |
---|---|---|---|
block |
Character Array |
Input |
This contains the block name in a TeimOrbit file. |
attrib |
Character Array |
Input |
This contains the name of the attribute inside a block. |
alen |
Integer |
Input |
This contains the number of characters in the attribute name. |
dval |
Double precision |
Output |
This returns the value of the attribute. |
DLLFUNC void STDCALL RTO_READ_REAL_F2C(char *blockName, int len1, int *blen, char *attributeName, int len2, int *alen, double *dval, int *success)
Argument |
Type |
|
Description |
---|---|---|---|
blockName |
Character Array |
Input |
This contains the block name in a TeimOrbit file. |
blen |
Integer |
Input |
This contains the number of characters in the block name. |
attributeName |
Character Array |
Input |
This contains the name of the attribute inside a block. |
alen |
Integer |
Input |
This contains the number of characters in the attribute name. |
dval |
Double precision |
Output |
This returns the value of the attribute. |
success |
Integer |
Output |
If the value is read then success return 1 or else 0. |