09-18-2008 01:10 PM
Hi
I am using NI 6025E daq to acquire data from 2 sensors. I want to subtract specific amount from the acquired signal before i process it. right now i am doing it in the while loop subtracting 2.5 from the data i acquired. Can i do this using daqmx read property node instead of doing it in while loop. All i wan to do move all the points down 2.5 in amplitude. thanks
09-18-2008 02:30 PM
09-18-2008 05:55 PM
Thanks for the reply. I am acquiring data continously form sensors one point at time. I have daqmx read.vi function inside the while loop. Thats why i am doing my subtraction in the while loop.
09-18-2008 08:51 PM
Okay, I thought you might have just the subtract inside a loop - indexing out each element in the array.
Why don't you try the scaling function? With a linear scale, the slope would be 1 and the Y-Intercept would be your current subtraction factor.
09-22-2008 11:46 AM
09-23-2008 11:48 AM - edited 09-23-2008 11:49 AM
Hi suni,
The scaling function you are looking for should be in your Functions palette under Measurement I/O » NI-DAQmx » Advanced » Scale setup. You can create your custom scale and use it in your task as shown below.