MotionView User's Guide

Read Real

Read Real

Previous topic Next topic No expanding text in this topic  

Read Real

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Description:

This function reads the real value assigned to an attribute from the specified block.

C Calling Sequence:

int c_rto_read_real(const char *block, const char *attrib, int *alen, double *dval);

Arguments:

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.

FORTRAN Calling Sequence:

DLLFUNC void STDCALL RTO_READ_REAL_F2C(char *blockName, int len1, int *blen, char *attributeName, int len2, int *alen, double *dval, int *success)

Arguments:

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.