hgtrans control SetEnd

Sets the last data point index to be translated.

Syntax

hgtrans control SetEnd index

Application

HyperGraphTrans Tcl Modify

Description

This command sets the index of the last step to read from each channel in the file. It is primarily used to filter out later data points that are not significant. The index is one-based.

Inputs

index
index must be an integer greater or equal to one. The special value of negative one is taken to mean that all values should be read.

Example

Cause hgtrans to read everything from a MADYMO file called “ANGACC” and save it to “ANGACC.abf”, up to time step 100.
hgtrans control SetFile “ANGACC”
hgtrans control SetEnd 100
hgtrans control SetOutputFile “ANGACC.abf”
hgtrans config SetAllChannelsSelected
hgtrans control StartTranslation

Errors

If the starting index is higher than the last data value index present, no data will be translated.

Keywords

set end