02-15-2013 08:45 PM
Hi Everyone,
I am using an Omega data acquisition device that measures mV signals, OMB-DAQ-2408. It is a USB based device. I am facing two problems:
My code is attached below.
Thanks for your time
02-16-2013 02:06 PM
1 - It seems like you are experiencing cross-talk. Depending on why it is happening, there may be something that you can do about it. Take a look at this article: http://digital.ni.com/public.nsf/allkb/B9BCDFD960C06B9186256A37007490CDc
2 - You cannot increase the sampling rate of a piece of hardware beyond its capabilities. Sorry, just doesn't work that way.
02-16-2013 02:17 PM
Hi PackersFan,
Thank you for your reply. The link you provided for the first problem doesn't seem to work. Regarding the second problem, it is not about the sampling rate really. As you said, I cannot increase the sampling rate above a certain value but my problem lies in not being able to continue logging data at an acceptable sampling rate once it reaches a certain file size. I hope this clarifies the problem more.
Thanks again
02-16-2013 02:37 PM
Sorry about the link. Try this one: http://digital.ni.com/public.nsf/allkb/B9BCDFD960C06B9186256A37007490CD
Okay, so the question is, how are you logging the data?
02-16-2013 11:59 PM
Hi Packers Fan,
Thanks for the link. I will try the solutions there. About the data logging, I connected the analog input to an index array function that returns the two voltages from each channel. The returned voltages are connected to a calibration tool, a wave chart and write to measurement file vi. All these vi's are inside a while loop. So I am counting on the write to measurement vi to do the logging. I also set the sampling clock for continuous sampling.
I hope this is clear and thanks again for your help.
02-17-2013 07:56 AM
What type of file do you have the Write to Measurement File.vi set to create? TDM or TDMS is going to be the fastest.
Depending on your loop rates, you may need to implement the file I/O with the basic functions (i.e. not with an express VI) or you may even need to move to a producer consumer architecture (check out the templates in LabVIEW).
02-18-2013 06:23 PM
Hi Packers Fan,
I am saving the data in LVM file type. About the producer consumer architecture, I will check it out and see how can I use it.
Thanks