Page 1 of 1

DST1000_0 and DST1001_0 Out of range error when no object is present

Posted: Tue Jun 07, 2022 4:32 pm
by clwilson12
Hey everyone, I seem to be having an issue with two different Distance sensing Phidget products (DST1000_0 and DST1001_0) where both Phidgets throw a "Sensor value is ouside the valid range for this sensor" error if there is nothing detected in the sensor's working range. This is all inside of the Phidget Control Panel.

Is this considered normal behavior? I would think that the distance would just not update if none was found, instead of throwing an error at the data interval specified.

If this is normal behavior, what is the best way to handle this error? I feel like simply bypassing the error could lead to future issues if there is legitimately an issue with the device.

Re: DST1000_0 and DST1001_0 Out of range error when no object is present

Posted: Wed Jun 08, 2022 8:08 am
by fraser
For the sake of these products, there is only 1 error (Out of Range). So if you don't register errors for this device, it should behave the way you expect it.
Errors can always be curated on a per-error basis as well. In your own application, you can choose to do nothing with errors you don't care about, and report ones that you do care about.
Using the control panel will not give you the same amount of freedom, and will report the errors regardless. However the control panel is mostly just a tool to help you understand the product's functionality.