C_GetSampleTimes

Call C_GetSampleTimes to find the simulation times which are in the specified period.

void C_GetSampleTimes(

TOrcFxAPIHandle ModelHandle,

TPeriod *lpPeriod,

double *lpTimes,

int *lpStatus

);

Parameters

ModelHandle (IN)

The handle of the model containing the simulation.

lpPeriod (IN)

Points to a TPeriod variable which specifies the period of the simulation over which results are to be extracted.

lpTimes (OUT)

Points to an array of double of length N, where N is the number of samples for this period. (N can be obtained by calling C_GetNumOfSamples.) The function populates the array with the N sample times.

lpStatus (OUT)

Points to a variable in which the status result for the function call will be returned.

See also

TPeriod, C_GetNumOfSamples, C_GetTimeHistory2.