USB People Counter - How to read the status value

Modified on Thu, 17 Jul at 3:18 PM

In case you are using the USB Counter with the IMMotion Software. Or you have an export file.
You might encouter status values of the device other than 0 (zero  / Ok).


These status messages are status flags (bits) within the value.
This means that each value you see might have multiple status messages in it.


Below a table of status message


ValueStatus
1Not used
2IR signal not at full strenght
4Sensor power up
8
Not used / internal message
16Not used / internal message
32Low battery
64Disturbance detected
128No IR signal


To understand which status is active you can do a simple calculation with the status value you see.


For example if you have the value: 128
This is a simple one. The status is 128 which means the No IR signal.


Another example, value: 152

To find out which status message are in this you can simple subtract the largest possible satus value from it. Keep doing this until you are at 0.


In this case that would be: 152 - 128 = 24 -16 = 8 - 8 = 0
The status is 128, 16 and 8


Last example: Status 64 and 128 together would be the value 192


For the USB counter you might see status 8 and 16. These can appear around the moment that the device is read out using a USB stick. These values can be ignored on this device.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article