MotionView User's Guide

Read Integer

Read Integer

Previous topic Next topic No expanding text in this topic  

Read Integer

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

Description:

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

C Calling Sequence:

int c_rto_read_integer(const char *block, const char *attrib,  int *alen, int *ival);

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.

ival

Integer

Output

This returns the string value of the attribute.

FORTRAN Calling Sequence:

DLLFUNC void STDCALL RTO_READ_INTEGER_F2C(char *blockName, int len1, int *blockNameLen, char *attributeName, int len2, int *alen, int *ival, int *success)

Arguments:

Argument

Type

 

Description

blockName

Character Array

Input

This contains the block name in a TeimOrbit file.

blockNameLen

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.

ival

Integer

Output

This returns the string value of the attribute.

success

Integer

Output

If the value is read then success return 1 or else 0.