05-07-2015 12:16 PM
Hi, I am trying to generate an excel report, and I figured it would be easier to use the MS Office report VI, but I am getting the broken arrow saying the SubVI is not executable and that the library that defines the xnode is broken... here is a screensot attached, I already uninstall and reinstall the report generation toolkit and still the same... this is what I found on NI: "This error occurs when the library that defines the XNode you used is broken. To correct this error, reconfigure the XNode." but no idea how to reconfigure xnode
05-07-2015 05:56 PM
I generally find that the Report Generation Toolkit is a very easy way to generate Excel Workbooks. I work primarily with LabVIEW 2012 and LabVIEW 2014.
Bob Schor
05-07-2015 06:03 PM
Hi Bob
LabVIEW 2014 Professional Development
The report is about Passive intermodulation testing so it is just a simple table with numbers, and I did not get to write any code to the Express VI since I couldn't get the error to go away and I am sure it was not because of unwired inputs/terminals.
But I figured the error came up just with the MS Office Report Express VI so I used the other Excel VIs to generate the report easily
Still, thanks for your reply!
05-07-2015 06:06 PM
Right -- you don't know BS's First Rule of LabVIEW Programming -- Never Use Express VIs! The reason for this Rule is that most of the time, they "hide" important details from the programmer, and don't really help for anything other than the most simple straight-forward program.
BS
05-07-2015 06:11 PM
Yes, this is the last part of the application I am developing so I just wanted to insert a template, assign named cell ranges to data/arrays and be done with it... but now that I got to use the toolkit and get a little bit more involved in the generation of the report, I believe you're right, the Report Generation Toolkit is really easy to use
05-07-2015 06:15 PM
One of the "secrets" that NI doesn't advertise widely is that the RGT can be used to read, write, and modify existing Excel files. The "template" input is really nothing more than "Open for Reading".
Bob Schor
05-07-2015 06:16 PM
Cool, great to know, thanks again