getvalue

Gets a value corresponding to a name for a particular data channel.

Syntax

getvalue(path, type, req, comp, name)

Argument

path
The path of the data file (a string).
type
The datatype index (a number).
req
The request index (a number).
comp
The component index (a number).
name
The name of the value to find (a string).

Example

Templex Expression Result
{getvalue(“file.dat”, 0, 0, 0, “units”)} inches

Comments

The file must be in a format which can be plotted. If the file cannot be found, the special string “FILENOTFOUND” is returned. If the value is not found, the special string “VALUENOTFOUND” is returned.