Function psyiage_metric_get_values_numeric

Function Documentation

PSYIAGE_API int psyiage_metric_get_values_numeric(psyiage_handle handle, char *name, unsigned long long timestamps[], float values[], int *numvalues)

Retrieve numeric metric values.

Get the numeric values stored for a particular metric in the current session.

Return

If successful, PSYIAGE_ERROR_SUCCESS. Otherwise, a non-zero error code

Parameters
  • handle: - A handle to the psyiage instance

  • name: - string identifying the metric to query

  • timestamps: - If successful, contains an array of timestamps for each recorded value

  • values: - If successful, contains an array of floating point values recorded for the metric

  • numvalues: - Contains the size of the timestamps and values arrays. If successful, contains the total number of values recorded for the metric