IPixEngine::RunExperiment method

Runs an experiment.

Syntax

HRESULT RunExperiment(
   Experiment               experiment,
   IRunExperimentCallback * pRequestCallback,
   INewFramesCallback*      callbacks,
   IFileIOCallback*         pFileIOCallback,
   DWORD                    triggersCount,
   ExperimentTrigger []     count4_triggersBuffer
);

Parameters

experiment
Describes the experiment to be run.

pRequestCallback
The address of a function used to notify the host that engine has started the experiment.

callbacks
The address of a function used to notify the host that new frames have been captured.

pFileIOCallback
The address of a function used to notify the host of file IO errors during parsing.

triggersCount
The number of triggers in the experiment.

count4_triggersBuffer
Capture triggers.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header

Vspixengine.h

See also

IPixEngine