17 case XRV_OK:
return "No error";
18 case XRV_NOBUS:
return "Bus has no power";
23 case XRV_INITBUSFAIL2:
return "An incorrect answer received after WaitForSetBID";
24 case XRV_INITBUSFAIL3:
return "After four bus-scans still undetected Motion Trackers";
25 case XRV_SETBIDFAIL1:
return "No reply to SetBID message during SetBID procedure";
27 case XRV_MEASUREMENTFAIL1:
return "Timer overflow - period too short to collect all data from Motion Trackers";
29 case XRV_MEASUREMENTFAIL3:
return "Total bytes of data of Motion Trackers incl sample counter exceeds 255 bytes";
30 case XRV_MEASUREMENTFAIL4:
return "Timer overflow during measurement: MT does not respond within measurement period. Increase period (lower sample frequency)";
31 case XRV_MEASUREMENTFAIL5:
return "Timer overflow during measurement: MT response was not received within measurement period. Increase period (lower sample frequency) or use fewer Motion Trackers";
41 case XRV_TIMEOUT:
return "Timeout occurred, some data received";
45 case XRV_NOTFOUND:
return "Requested item was not found";
56 case XRV_READONLY:
return "Tried to change a read-only value";
57 case XRV_NULLPTR:
return "Invalid NULL pointer supplied";
59 case XRV_BUSY:
return "Busy processing, try again later";
62 case XRV_READINITFAILED:
return "Failure during reading of settings. File may be old or corrupt.";
63 case XRV_NOXMFOUND:
return "Could not find any Moven-compatible hardware, check connections and Xbus Master LEDs";
64 case XRV_ONLYONEXMFOUND:
return "Found only one responding Xbus Master, check connections and Xbus Master LEDs";
66 case XRV_MTLOCATIONINVALID:
return "One or more sensors are not where they were expected, check locations";
68 case XRV_INITFUSIONFAILED:
return "Failure during initialization of Fusion Engine. Source file may be old or corrupt.";
69 case XRV_OTHER:
return "Something else was received than was requested";
76 case XRV_ALREADYDONE:
return "This once only operation has already been performed";
80 case XRV_SYNC_NO_SYNC:
return "A device was detected that was neither master nor slave";
82 case XRV_SYNC_DATA_MISSING:
return "A device is not sending enough data, check synchronization cables";
84 case XRV_VERSION_TOO_LOW:
return "The version of the object is too low for the requested operation";
85 case XRV_VERSION_PROBLEM:
return "The object has an unrecognized version, so it's not safe to perform the operation";
87 default:
return "!!Undefined Result Value!!";
Operation was performed successfully.
A calibration routine failed.
A slave did not respond to WaitForSetBID.
No bus communication possible.
Found only one responding Xbus Master.
Other than SetBIDAck received.
TX PC Buffer overflow, cannot fit full message.
Operation aborted because of no data read.
One or more sensors are not where they were expected.
Operation not implemented in this version (yet)
No reply to SetBID message during SetBID procedure.
A device is not sending enough data.
The specified i/o device can not be opened.
The specified i/o device can not be opened.
After four bus-scans still undetected Motion Trackers.
A required port could not be found.
Operation is invalid at this point.
Could not find any Moven-compatible hardware.
Timer overflows during measurement.
No internal memory available.
Insufficient buffer space available.
An incorrect answer received after WaitForSetBID.
InitBus and/or SetBID are not issued.
Tried to change a read-only value.
A required settings file could not be opened or is missing some data.
The operation is once only and has already been performed.
No serial port opened for reading/writing.
Baud rate does not comply with valid range.
A trusted data stream proves to contain corrupted data.
XsensResultValue
Xsens return values.
Motion Tracker responds with other than SlaveData message.
The requested item was not found.
Failure during read of settings.
The in-config check of the device failed.
The single connected device is configured as a slave.
More than one master was detected.
Insufficient data was supplied to a function.
A device was detected that was neither master nor slave.
The object has an unrecognized version, so it's not safe to perform the operation.
Failure during initialization of Fusion Engine.
Timer overflows during measurement.
The low-level port handler failed to initialize.
An invalid parameter is supplied.
Timer overflows during measurement.
Tried to supply a NULL value where it is not allowed.
const char * xsensResultText(const XsensResultValue result)
Something else was received than was requested.
No correct response from Motion Tracker during measurement.
A generic error occurred.
The version of the object is too low for the requested operation.
Not enough sensors were found.
Timer overflow - period too short to collect all data from Motion Trackers.
Unexpected message received (e.g. no acknowledge message received)
An I/O device is already opened with this object.
Busy processing, try again later.
No file opened for reading/writing.
Total bytes of data of Motion Trackers including sample counter exceeds 255 bytes.
The message is invalid or not implemented.
No file or serial port opened for reading/writing.