08-29-2011 08:13 AM
Hello,
My current VI is reading in thermocouples data and generating an excel report, as well as outputting a digital signal. I was asked to read in a voltage at the beginning of the test, and a voltage from a current probe while simultaneously reading in the thermocouple data. It sounded simple enough, but I haven't successfully added this feature to the VI. I either get a resource error or the data acquisition become entirely too slow to be useful. I'm using two NI 9211 cards to acquire the thermocouple voltage and a NI 9219 to acquire the analog voltage. Does anyone have any suggestions as to what I may be doing wrong or a suggestion of a solution?
I've attached a screen shot of the code where I'm acquiring data, as well as a copy of the VI. Sorry it may look a little messy. It has been a growing project and a compilation of a few different codes.
Solved! Go to Solution.
08-29-2011 08:36 AM
Can you start from a fresh VI and program what you want to achieve? We can then understand the issue properly and help you with issues.
08-29-2011 10:12 AM
I've attached a much more simplified version of my vi. The main problem is when I add the read voltage channel to the vi the sample rate goes way down to about 2 S/s. Even though the NI 9219 has a sample rate of 100 S/s.
08-30-2011 01:37 PM
I figured out that I was simply missing the DAQmx timing VI and creating a simple timing clock.