msLoggerStart (Function) |
Top Previous Next |
Start collecting motion sensor data to the buffer of the specified logger.
Before calling this function, it is necessary to be sure to enable all the specified sensors that have been added to the logger with the functions msAccEnable, msGyrEnable and msMagEnable.
Starting or restarting (after it has been stopped) the logger function, resets the timestamp to zero.
Input: Logger : SYSHANDLE A user provided handle to uniquely identify the logger. See SYSHANDLE page. This field is mandatory.
Reset : BOOL (default TRUE) Start with a clean buffer.
Returns: INT
Declaration FUNCTION msLoggerStart : INT; Example: // For a more complete example, see example under msReadEvent |