01-18-2017 06:14 AM
hello sir,
i want to logging and monitoring of data from DAQ device simultaneously .
since the rate of reading of data is approx 1k sampls per sec.
and logging would be done contineously for 2 to 3 day.
please suggest me the best method for doing this.
i am using NI9205 DAQ device.
thank you.
01-18-2017 06:42 AM
Use DAQmx Configure Logging to have DAQmx stream your data straight to a TDMS file. Everything else is DAQ as normal (setup everything before your loop, close it after the loop, read the data inside of the loop in chunks and do whatever analysis you need).
01-20-2017 03:09 AM
thank you sir for reply
i have done above task.
but i am getting trouble in scalling the data.
i want to scale this data to a new sacale such as distance in mm.
actually i am geting the analog signal from LVDT in the range of -10v to +10 volt.
see my code.
in this code when i apply -2.2v at input of chanel.
then if slop is 1 then it gives me -2.2
and if i provide slop 4 then output becomes -9.01
but when the slope is 5 the i gives me -5.3 just half from expected.but according to linearty it should be about -10.8
i cant understand what is going wrong.
please help
means i want to use above task with scaled data.
I want to design a type of logic which accept a scaling factor for scaling the data and give a desired scaled data acording to the scalling factor.
thank you