hwIDataFile ReadMarkedChannels

Reads the marked data channels.

Syntax

hwIDataFile_handle ReadMarkedChannel datatype, request, component

Application

HyperWorks Tcl Query

Description

This command reads all the marked data channels, returning 0 = HW_Success if successful. The channel is identified by the datatype, request, and component parameters. These strings are specific to the particular file.

Example

hwi GetSessionHandle sess1
sess1 GetDataFileHandle datafile "[sess1 GetSystemVariable ALTAIR_HOME]/demos/mv_hv_hg/plotting/adams/indy.req"
datafile MarkChannel Displacement "REQ/997000 Global CG movement" X
datafile MarkChannel Acceleration "REQ/997003 CG Acceleration w.r.t. cg" Y
datafile MarkChannel Velocity "REQ/997002 CG Velocity w.r.t. cg" Z
datafile ReadMarkedChannels Displacement "REQ/997000 Global CG movement" X

Error

1 = HW_Error if the reading is unsuccessful.

Keywords

HyperWorks

XY plot

Tcl

Import

Query