hgtrans config GetChannelOverrideExpression

Gets whether and how a data channel has been marked for recompution and how.

Syntax

hgtrans config GetChannelOverrideExpressionsubcase, datatype, request, component

Application

HyperGraphTrans Tcl Set

Description

This command checks whether a data channel is currently overridden with an expression and returns that expression. 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 “t” 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.

Example

Set hgtrans to read a single channel from a file called “columns.dat” and double it, then verify the expression.
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 config GetChannelOverride “” “Unknown” “Res. ang acc (rad/s**2)” “column 2”

Errors

Returns an empty string if the data channel has not been overridden.

Keywords

get channel override