LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bad scaling using measurement automation explorer

I have tried about a million times now to properly create a scale in MAX 3.0.2

Essentially, all I want to be able to do - fairly simple you would think - is apply a linear multiplication to an input channel of an AC signal voltage. Without any scaling, I am seeing my input signal as a +/- 8 VAC signal. After applying a linear or a mapping scale, it does scale the voltage, but it then proceeds to trim off the top of the AC signal(And I have checked to make sure my graph axes are correct)?????? If I apply a multiplication factor of 5 inside my program it works absolutely fine and simply multiplies the incoming voltage by a factor of 5... sounds like scaling to me. I would like to use scaling on other channels, but
this experience does not give me much desire to. Can anyone explain what is going on? I have tried creating the scale in dozens of different ways always getting the same results.
0 Kudos
Message 1 of 3
(2,722 Views)
Hello,

Are you using NI-DAQ Virtual Channels or NI-DAQmx Tasks? I don't think that your scale settings are wrong but the Input range you've selected. Go to the "Analog Input Voltage Task" Window (for DAQmx Tasks). There you've to select your custom scale and define your Input Range. Try to increase your Input Range to expected scaled value and not to the real voltage your measuring.

Hope this helps.

Luca
Regards,
Luca
Message 2 of 3
(2,722 Views)
Thanks Luca - That was my missing step. I was using virtual channels but didn't realize you had to match the input range to match the new scaling. Thanks.
0 Kudos
Message 3 of 3
(2,722 Views)