abfSetComponentTime()

Creates a file with associations to multiple frequency channels.

Syntax

voidabfSetComponentTime(int type, int req, int comp);

Inputs

type
Index of the associated datatype.
req
Index of the associated request.
comp
Index of the associated component.

Return Value

None

Example

abfCreateDatatype("Energy");
abfOpenDatatype("Energy");
abfCreateComponent("Time");
abfCreateComponent("Value");
abfCreateRequest("Node 1001");
abfOpenRequest("Node 1001");
abfOpenComponent("Value");
abfSetComponentTime(abfGetDatatypeIndex(), abfGetRequestIndex(), 0);
abfCloseDatatype();
abfTimeString("Frequency");

Comments

HyperGraph allows independent variables (usually representing time) to be associated with particular channels of data. This associated data does not need to be selected explicitly in the Build Plots interfaces.

In the case of the example above, the time channel for the energy value of node 1001 is set to be the other component (component zero, in this case) of the current request.