04-20-2009 02:22 PM
I am using LabVIEW 8.6 with a USB-6229 DAQ to measure voltages from load cells and string pots to help me generate Load vs. Displacement curves for materials testing in our test lab. I am relatively new to LabView but I've gone through every tutorial I can get my hands on and looked at example code to help me generate my program. What I am trying to do with this program is:
I currently have a program I found that works well (see attached files), however, when I try and duplicate the code in the same program to add more data channels, I get a "specific resource is reserved" error and it only records one data channel. Please Help!
Tim
04-20-2009 02:45 PM
04-20-2009 02:54 PM
Sapingo,
thanks, I made the horribly simple mistake of thinking that I could just "copy and paste" the entire block diagram to add an additional channel. I would like to be able to choose from the front panel how many channels I want to use, be able to continuously monitor those channels during the course of the test, and upon conclusion, write all of the data to one spreadsheet file. Hope that helps clarify my issue,
thanks,
Tim
04-20-2009 02:59 PM
04-20-2009 03:17 PM
The correct way to add more channels is with the physical channel control and use a single task for all channels. You click on the little arrow on the right side and select Browse. Then you can use the Shift-click or Ctrl-click to select consecutive or non-consecutive channels.
I would also recomend that you wire the data from the DAQmx Read to the Export Waveforms to Spreadsheet File. What you are doing is going to result in the loss of all timing information in the saved file.
04-20-2009 05:06 PM
Thanks,
using the physical channel control worked perfectly. As for using "Export Waveforms to Spreadsheet File" I am getting a broken wire on the file input paths (see pics). If I try and run it without connecting this path, it gives me a file save prompt every iteration. How should I properly wire this?
thanks for you help!
Tim
04-20-2009 06:09 PM