LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ assistant scaling

Solved!
Go to solution

I look for some help with DAQ assistant,

 

I have a 0-20 mA signal. I want to map 8 mA to 100 and 16 mA to -100. I entered y = -25 x + 300. I set AI.Max = 300 (x = 0 mA) and AI.Min = -200 (x = 20 mA). I get the following error:

 

Error -200077 occurred at DAQ Assistant
Possible Reason(s):
Requested value is not a supported value for this property. The property value may be invalid because it conflicts with another property.
Property: AI.Min
Requested Value: -200.0
Valid Values Begin with: 299.500000
Valid Values End with: 300.500000

 

When I enter 300, I get the following error:

 

Error -200082 occurred at DAQ Assistant
Possible Reason(s):
Minimum is greater than or equal to the maximum. Ensure the maximum value is greater than the minimum value. If using a custom scale, ensure that the scaled maximum is greater than the scaled minimum.
Property: AI.Min
Corresponding Value: 300.0
Property: AI.Max
Corresponding Value: 300.0

 

What am I doing wrong?

0 Kudos
Message 1 of 2
(3,253 Views)
Solution
Accepted by topic author Jerry.Kathalynas

Thanks, but I just figured this one out. I am using mapped range instead of linear range. Not sure why it makes a difference, but it works!

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