LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there anyway to read the unscaled voltage from a scaled virtual channel?

The unscaled output should be the binary data created by the A/D process. The units will depend upon the A/D resolution and the measurement range. One option that you might try, which would avoid binary data alltogether, is to call the channel property node after reading the scaled data (set to Analog Input -> Voltage -> Units = Volts) and then read the scaled data again. I haven't tried this yet, but it would probably be the easiest method if it ends up working.
0 Kudos
Message 11 of 14
(835 Views)
This doesn't work. I think because I have the scale applied before this property node.
0 Kudos
Message 12 of 14
(835 Views)
does this work with continuous sample mode? I can't get this to work properly and it is exactly what I need
0 Kudos
Message 13 of 14
(835 Views)
Yes this works with continous sampling mode. What you can do is first set the property "RelativeTo" to "current", then set the property "offset" to 0, then do an AI Unscaled Read then set the property node "offset" to the negative number of points you've read, then finally do an AI Scaled Read.

That way in a loop you'd acquire both unscaled and scaled data.

I've had another problem with the scaling of unscaled data though. With an SCXI 1141 I'm getting different values from scaled and unscaled data. I scaled my unscaled binary data with property "ScaleCoeff", but the scaled values are off by a few counts.

Hope this helps,
Dan
Message 14 of 14
(835 Views)