msDataSet (Structure)

Top  Previous  Next

Architecture:

NX32L

Device support:

NX-200, LX2

Firmware version:

1.50.00


Structure to read a simultaneous set of data from the motion sensor devices. Use with msRead.

 

Fields:

Time : DINT

The timestamp of the dataset. Represents milliseconds elapsed after the first sensor was turned on, or the logger started.

 

AccX : FLOAT

The X-axis composant of the received data from the accelerometer.

 

AccY : FLOAT

The Y-axis composant of the received data from the accelerometer.

 

AccZ : FLOAT

The Z-axis composant of the received data from the accelerometer.

 

GyrX : FLOAT

The X-axis composant of the received data from the gyroscope.

 

GyrY : FLOAT

The Y-axis composant of the received data from the gyroscope.

 

GyrZ : FLOAT

The Z-axis composant of the received data from the gyroscope.

 

MagX : FLOAT

The X-axis composant of the received data from the magnetometer.

 

MagY : FLOAT

The X-axis composant of the received data from the magnetometer.

 

MagZ : FLOAT

The X-axis composant of the received data from the magnetometer.

 

 

Declaration:

STRUCT_BLOCK msDataSet;
  Time     : DINT;
  AccX     : FLOAT;
  AccY     : FLOAT;
  AccZ     : FLOAT;
  GyrX     : FLOAT;
  GyrY     : FLOAT;
  GyrZ     : FLOAT;
  MagX     : FLOAT;
  MagY     : FLOAT;
  MagZ     : FLOAT;
END_STRUCT_BLOCK;