Hello. I have a 5V sensor which I want to log in ADU.
When I set that channel in the configuration tab to the analog out option, so it should just sends out the same voltage, all I get is 0-1V range, and not 0-5V.
Is this expected? Do I need a multiplier or something? What Am I missing?
Thanks
It should be 5 V. You can set AOut.channel to 5000 instead of assigning a channel to test the output.
Post your project here so I can check the configuration.
I tried setting 3000-4000-5000 and it gave correct output.
When i enter analog3, it just gives between 0-1V, but analog3 shows between 0-5V.
Wasn’t even able to make it work with a number variable, but i don’t want to waste multiple calculations on a 1:1 mapping anyway. Can you replicate the issue?
The input channel is a calibrated linear sensor with values between 0.00V and 5.00V
I’ve checked this configuration and I confirm such a behaviour. We will investigate this issue.
For now you can create an Analog input in Project tree and use this one to get it work.
A number variable works too, but you need to set *1000 multiplier.
This is because the analog voltage channel is not interpreted as a real number.
The analog input voltage is represented as an integer from 0 to 1023.
That’s why you get output voltage from 0 to 1.
You can make a 2D table with two cells that will output 0 at 0V and 5000 at 5V.
Do you plan to change/fix this?
Or this works as intended?