08-04-2011 10:45 AM
Hello,
I am trying to cotinously record thermocouple data and generate an Excel report using the Report Generation tool box. The problem I am having is currently I am only able to capture the final data upon clicking the stop botton. How can I continously collect every data point and insert them into the
table?
I am using Labview 2011 (but I have 2010 still installed if that is a problem) on XP and I am aquiring the data using a NI 9211.
Thanks
Solved! Go to Solution.
08-04-2011 10:50 AM - edited 08-04-2011 10:52 AM
You might want to post it as LV2010 or earlier until people (like me) get a chance to upgrade. I mean 2011 only came out this week.
But the most helpful people have probably already upgraded.
08-04-2011 10:57 AM
Sorry I posed the wrong file. Here is the 2010 compatable file.
08-04-2011 11:05 AM
You are not closing the report. But I think the problem is that you need to wire the report object reference to a shift register. It's a good idea to do that with the error wire as well.
08-04-2011 11:44 AM - edited 08-04-2011 11:46 AM
The shift registers are good design, but I think the core issue is writing to the same Start pos. It needs to be incremented like this.
Edit: To the Left, that blue wire is comming from the iteration terminal of the loop.
08-04-2011 12:08 PM
Correction to my post above... that will work, however, there's an Iteration terminal on the VI. Just wire to that!
08-04-2011 12:49 PM
Thanks Broken Arrow I completly over looked that, it works great!
08-04-2011 12:53 PM
@ee_hokie wrote:
[...] I completly over looked that, [...]
(obviously) I did too at first! It's a nice feature, which I never use because I use the more "raw" ActiveX wrapper VI's for writing to Excel. Probably no real performance gain - just what I'm used to.