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] | file | Filename 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] | on | Use EVAS_ON for starting the recording and EVAS_OFF for stopping it. |
- Returns:
- 0 on success, anything else in case of error.