LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

simultaneously logging and monitoring of data from DAQmx device

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.

 

0 Kudos
Message 1 of 3
(2,506 Views)

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).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(2,492 Views)

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

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