01-31-2014 09:53 AM - edited 01-31-2014 10:21 AM
I have created custom scaling for DAQmx. I have the following issue similar to this http://forums.ni.com/t5/Multifunction-DAQ/daqmx-custom-scaling-setup-issues/td-p/805374.
I am scaling a 0 to 5V signal to 0-100 sccm.
the slope is 20 with a Y-intercept of zero.
Everything scales fine up to 1.07V then it displays 21.56 sccm for any measurment above this voltage.
Cant figure out what i am doing wrong. I have verified the DAQ card is measuring volts correctly above 1.07 in NImax.
01-31-2014 10:11 AM - edited 01-31-2014 10:25 AM
IDK Whats going on i have tried to add attachments. But they arnt adding to my post.
01-31-2014 10:16 AM
1.07V = 21.56 (approximately)
This is sounding like a range issue on your DAQ channel. What are you using for the maximum and minimum on your DAQ channel? What card are you using? Have any code you can share that shows the issue?
01-31-2014 10:17 AM
01-31-2014 10:28 AM
Added attachment. The min -10V max +10V , which is the setpints of the DAQ Card. DAQ card. NI9205
01-31-2014 10:35 AM
01-31-2014 10:43 AM - edited 01-31-2014 10:44 AM
NVMD
01-31-2014 10:46 AM
01-31-2014 10:47 AM
@teslaaaa wrote:
Thats not how i read this:
maximum value specifies in units the maximum value you expect to measure.
minimum value specifies in units the minimum value you expect to measure.
Max values measured is -10 to +10V , If you are correct shouldnt it say "max scaled value" ?
It is the maximum value of the number that will come out of the DAQmx driver. Since DAQmx applies that scale for you, it is post scale value. So you really need to put in 100 sscm for your maximum.
01-31-2014 10:49 AM
Ok, so how do i programiticly change this for each channel. since each channel will have diff min/max values.