Software Archive
Read-only legacy content
17061 Discussions

What is PROPERTY_VALUE_INVALID

Matthew_H_2
Beginner
834 Views

PROPERTY_VALUE_INVALID  is mentioned in the SDK Documentation a couple times, for example in the page for QueryDepthLowConfidenceValue. However, 

if (device->QueryDepthLowConfidenceValue() == PROPERTY_VALUE_INVALID)

reports an error that PROPERTY_VALUE_INVALID is undefined.

0 Kudos
4 Replies
samontab
Valued Contributor II
834 Views

Where did you get that property?, I can't find it, so I would agree with the compiler...

It is not defined here at least (try searching for it):

https://software.intel.com/sites/landingpage/realsense/camera-sdk/v1.1/documentation/html/index.html?property_device_pxccapture.html

0 Kudos
Matthew_H_2
Beginner
834 Views

I'm looking in the documentation that came with the SDK when I installed it:

"C:\Program Files (x86)\Intel\RSSDK\doc\CHM\sdkhelp.chm"

There are 47 references to PROPERTY_VALUE_INVALID.

The docs that come with the SDK say things like (in QueryDepthUnit):

Return Status

 

The native depth pixel precision in micrometers or μm, or PROPERTY_VALUE_INVALID if there is any error in retrieving the value.

While the web version says only

Return Status

 

The native depth pixel precision in micrometers or μm.

 

I take it things have been updated?

0 Kudos
samontab
Valued Contributor II
834 Views

It seems that the windows documentation is out of sync with the sources.

Basically, that property does not currently exist.

0 Kudos
Matthew_H_2
Beginner
834 Views

So is there any way that these functions can report an error?

0 Kudos
Reply