msReadAccelEvent (Structure)

Top  Previous  Next

Architecture:

NX32L

Device support:

NX-200, LX2

Firmware version:

1.50.00


Structure to get the returned information from an acceleration event. Used with msReadEvent.

 

Fields:

Time : DINT

The timestamp given when the event was triggered.

 

AccX : FLOAT

Last x-axis reading when the event was triggered (mg).

 

AccY : FLOAT

Last y-axis reading when the event was triggered (mg).

 

AccZ : FLOAT

Last z-axis reading when the event was triggered (mg).

 

XAbove : BOOL

Was x-axis above threshold for the duration.

 

Xbelow : BOOL

Was x-axis below threshold for the duration.

 

YAbove : BOOL

Was y-axis above threshold for the duration.

 

Ybelow : BOOL

Was y-axis below threshold for the duration.

 

ZAbove : BOOL

Was z-axis above threshold for the duration.

 

Zbelow : BOOL

Was z-axis below threshold for the duration.

 

 

Declaration:

STRUCT_BLOCK msReadAccelEvent;
  Time       : DINT;
  AccX       : FLOAT;
  AccY       : FLOAT;
  AccZ       : FLOAT;
  XAbove     : BOOL;
  XBelow     : BOOL;
  YAbove     : BOOL;
  YBelow     : BOOL;
  ZAbove     : BOOL;
  ZBelow     : BOOL;
END_STRUCT_BLOCK;