hgtrans config SetChannelOverride
Marks a data channel for recomputation prior to being written out.
Syntax
hgtrans config SetChannelOverride subcase, datatype, request, component, expression
Application
HyperGraphTrans Tcl Set
Description
This command marks a single channel for recomputation prior to being written out. The expression can contain any combination of legal functions and operators. Two special variables are defined to allow access to the original channel values: “v” and “t”. The values are stored in “v” and the associated time values in “t”.
Inputs
- subcase
- The name of the subcase in which the channel to be override resides.
- datatype
- The name of the datatype in which the channel to be override resides.
- request
- The name of the request in which the channel to be override resides.
- component
- The name of the component in which the channel to be override resides.
- expression
- An expression which will be use to compute new values for this data channel.
Example
Cause hgtrans to read a single channel from a file called
“columns.dat”, double it, and save it to
“columns.abf”.
hgtrans control SetFile "columns.dat"
hgtrans control SetOutputFile "columns.abf"
hgtrans config SetChannelSelected "" "Unknown" "Res. ang acc (rad/s**2)" "column 2" true
hgtrans config SetChannelOverride "" "Unknown" "Res. ang acc (rad/s**2)" "column 2" "v * 2"
hgtrans control StartTranslation
Errors
None.
Keywords
set channel override