02-04-2013 03:35 PM
I have a simple DAQmx application that could read from upto 35 channels. However, in the mean time I am only working with 4 channels. I want the readings from each channel to appear as an independent column in the text file. For instance, I have 4 channels, so I want 4 columns of data. For some reason, additional columns are added depending on how much data is being read. How can I constrain one channel to a single column?
I have attached the VI
Kind Regards
02-04-2013 03:55 PM
What you are doing does not make much sense. You are acquiring a waveform array and then passsing it into a for loop where you are stripping the timestamp and most of the data. You can wire the chart directly to the waveform array and use Export Waveforms to Spreadsheet directly wired to the waveform array as well. It will use the timestamp from the DAQmx Read instead of the one you are making up.
02-04-2013 04:00 PM
Thank you for that insight. You are right. I will try to do as you recommended and see if that helps.
Kind Regards