Regular API function

simHandleGraph / sim.handleGraph

Description Handles a graph object (i.e. records another value for each curve, given that such value was provided via sim.setGraphStreamValue. See also the other functions related to graphs.
C synopsis simInt simHandleGraph(simInt graphHandle,simFloat time)
C parameters
graphHandle: handle of the graph object.
time: the time where next value will be recorded at, usually the simulation time.
C return value
-1 if operation was not successful
Lua synopsis sim.handleGraph(int graphHandle,float time)
Lua parameters
Similar to the C-function counterpart
Lua return values