I used the library to check the amplitude of different objects using a R2000 scanner from Pepperl&Fuchs.
Unfortunately I'm only getting values of 1 and 0 retuned by the Amplitude get function.
The problem occurs whether I use the ToString() call for the amplitude or not.
I studied the documentation of the scanner and found out that amplitudes between 0-31 are reserved for errors and other internal usage.
I used the Pactware software where i was succesfully able to monitor different amplitudes shown by color. Which means the scanner is delivering the correct information. For my work the colour is not enough, I need numerical values to differentiate between multiple objects.
Thank you for your help!
I used the library to check the amplitude of different objects using a R2000 scanner from Pepperl&Fuchs.
Unfortunately I'm only getting values of 1 and 0 retuned by the Amplitude get function. The problem occurs whether I use the ToString() call for the amplitude or not.
I studied the documentation of the scanner and found out that amplitudes between 0-31 are reserved for errors and other internal usage.
I used the Pactware software where i was succesfully able to monitor different amplitudes shown by color. Which means the scanner is delivering the correct information. For my work the colour is not enough, I need numerical values to differentiate between multiple objects. Thank you for your help!