LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

scaling data

Hi,

I am trying to build a daq app  in Traditional  7.0 using  a daq example as a starting point. run me , I think. A sudVI  'AI READ' has an output labeled 'scaled data'. The data is not scaled, nor can I locate the place within this VI where I can scale the data.  After two days, I'm running out of things to try, and the boss would like to see something. I need multiple y axes, and different scale factors for each channel. What is the  common practice for achieving this?

Tired with a bloody forehead.
0 Kudos
Message 1 of 4
(3,000 Views)
Could you scale it after it is read?  If your scale factors are in an array, you can use a for loop to scale each array.

I hope the attached image helps:


0 Kudos
Message 2 of 4
(2,992 Views)

Hi,

The "Scaled" data that the AI read gives is the ADC count ( I16or I32 representation) converted/scaled  to Voltage format(represented in dbl) by multiplying ADC count with scale multiplier and scale offset.

Hence, what you see as scaled data is the voltage that you are feeding to that Analog input channel.

Now if you want to scale this read voltage further, use two point conversion ( y= mx+c) or one point conversion (y=mx) where x is the scaled voltage read at that AI channelor any customized formula you have.

regards

 

 

 

 

0 Kudos
Message 3 of 4
(2,984 Views)
Thanks Jason, that works!
0 Kudos
Message 4 of 4
(2,971 Views)