LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IO variable scale supports only integers?

I´m using the scan engine and the supported IO variables to read data from a AI 9205 and write data to a AO 9265 (chassis 9104, controller 9012 CRIO), it seems that the scaling property only supports integer numbers? If I type in e.g. 4,98 in the raw scale it is rounded to 4 and obviously gives errors on my values. Obviously my 0,02A to the AO 9265 is similar rounded to 0. Is this; a transatlantic "," "." issues fixed with an advanced setting somewhere? Or is it the indented functionality of the scale property? Guess it could be an issue with the way the scan engine deals with the only fixed point data types supported in the FPGA as well? Software is LV 8.6.1, NI-RIO 3.1.0 /Mads
0 Kudos
Message 1 of 3
(2,566 Views)

Can you post your code where you are setting the limits? It would be much easier to see. I am guess that you need to click on the control or constant and change it to a dubble format.

 

Example.png

Tim
GHSP
0 Kudos
Message 2 of 3
(2,539 Views)

Hi

In the attached PDF, I have shown the issue in the IO variable property window, the datatype on my variables are double, see fig 3.

The outputed value is scaled with the rounded value in the shown example 4 instead of the intented 4,98

/Mads

0 Kudos
Message 3 of 3
(2,521 Views)