evart-client  2.2
Functions
Remote controlling the EVaRT software

Functions

int evas_acquire (evas_onoff_t on)
 Start or pause marker tracking in EVaRT software. More...
 
int evas_record (const char *file, evas_onoff_t on)
 Start or stop marker data recording in EVaRT software. More...
 

Detailed Description

Function Documentation

◆ evas_acquire()

int evas_acquire ( evas_onoff_t  on)

Start or pause marker tracking in EVaRT software.

Calling this function will ask the EVaRT software to track the marker sets. evas_acquire() will block until it gets the confirmation from the server. If other messages are received in the meantime and a callback has been defined (see evas_sethandler()), the callback is invoked with those messages.

Parameters
[in]onUse EVAS_ON for starting the tracking and EVAS_OFF for pausing it.
Returns
0 on success, anything else in case of error.

◆ evas_record()

int evas_record ( const char *  file,
evas_onoff_t  on 
)

Start or stop marker data recording in EVaRT software.

This function asks the EVaRT software to dump the marker sets on a file. evas_record() will block until it gets the confirmation from the server. If other messages are received in the meantime and a callback has been defined (see evas_sethandler()), the callback is invoked with those messages.

Parameters
[in]fileFilename in which to save the data on the remote host. file should not contain any path elements (i.e. this is a pure filename with no directories). file is not used (can be NULL) if on is EVAS_OFF.
[in]onUse EVAS_ON for starting the recording and EVAS_OFF for stopping it.
Returns
0 on success, anything else in case of error.