Get States

The Get States command returns various system states.

Command

Field

Type

Offset

Description

length

32u

0

Command size including this field, in bytes.

id

16u

4

Command identifier (0x4525)

Reply

Field

Type

Offset

Description

length

32u

0

Reply size including this field, in bytes.

id

16u

4

Reply identifier (0x4525).

status

32s

6

Reply status. For a list of status codes, see Status Codes.

count

32u

10

Number of state variables.

sensorState

32s

14

Sensor state

-1 – Conflict

0 – Ready

1 – Running

For more information on states, see States.

loginState

32s

18

Device login state

0 – No user

1 – Administrator

2 – Technician

alignmentReference

32s

22

Alignment reference

0 – Fixed

1 – Dynamic

alignmentState

32s

26

Alignment state

0 – Unaligned

1 – Aligned

recordingEnabled

32s

30

Whether or not recording is enabled

0 – Disabled

1 – Enabled

playbackSource

32s

34

Playback source

0 – Live data

1 – Recorded data

uptimeSec

32su

38

Uptime (whole seconds component)

uptimeMicrosec

32u

42

Uptime (remaining microseconds component)

playbackPos

32u

46

Playback position

playbackCount

32u

50

Playback frame count

autoStartEnabled 32u 54 Auto-start enable (boolean)

isAccelerator

32u

58

Is the device an accelerator instance?

voltage

32u

62

Voltage setting

0 – 48V

1 – 24V

cableLength

32u

66

Cable length (maximum Is 60.0 meters, default is 5.0 meters)

quickEditEnabled

32u

70

Quick Edit state

securityLevel

32s

74

Security Level

0 – No security, any user type can access system.

1 – Basic security level, only authorized user types can access system.

brandingType

32s

78

Branding Type

0 – None/Gocator (default)

1 – White Label

2 – Custom