Datalogic .NET SDK

AccData (Struct)

 

Syntax

 

   [StructLayoutAttribute(LayoutKind.Sequential)]

   public struct AccData

   {

      public uint timeStampMs;

      public float x;

      public float y;

      public float z;

   }

 

 

Class                           : Device

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

 

Description

This structure holds accelerometer sample data.  The values for the x, y and z values are expressed in units of g-force.  An accelerometer at rest relative to the Earth's surface will indicate approximately 1 g upwards, because any point on the Earth's surface is accelerating upwards relative to the local inertial frame (the frame of a freely falling object near the surface)  The accelerometer will read zero during free fall.

 

 

Type

Name

Default Value

Description

public uint

timeStampMs None Time stamp of the measurement in milliseconds.

public float

x None G-force measured along the x axis.

public float

y None G-force measured along the y axis.

public float

z None G-force measured along the z axis

 

 

 

Copyright © Datalogic ADC. All Right Reserved