04-30-2025 05:18 AM
I’ve encountered an unexpected issue with my VI.
The attached VI fails at the “Save Report to File” function, and I’m unsure of the cause.
I have tried to replace "new rapport" with "create rapport" with no result.
Please refer to the screenshot below and the attached VI file for context.
Any assistance in diagnosing or resolving the problem would be greatly appreciated.
Solved! Go to Solution.
04-30-2025 08:36 AM
You have multiple errors with the Excel VIs which I do not see when opening your file. It would appear that something is wrong with your Report Generation Toolkit installation. Do you have a license for RGT? Is Excel installed on this PC? Sometimes VI's get screwed up and invoke nodes have to be relinked. Refer to this link:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019N7CSAU&l=en-US
04-30-2025 09:35 AM
Excellent suggestions from @aputman.
Some things I noticed:
A suggestion -- Write a small Demo routine that opens Excel and writes the numbers 1, 2, 3, 4, 5 in the first row of the first WorkSheet (without specifying a Template in the "Create Report" and saves the WorkBook as "My Demo.xlsx". Be sure to do this in the context of a new LabVIEW Project (perhaps call it "RGT Code for LV Forum"). If it works, then gradually "add features" (testing after each step) until you get something similar to what you are trying to do. If it fails,, close the Project, right-click its folder and choose "Send to:", "Compressed (zipped) Folder", and attach the resulting .zip file so we can "see for ourselves" what you are doing and figure out "how to fix it".
Bob Schor
05-01-2025 03:41 AM
That did the job! I followed the guidelines in your link at that resolve my problems. Thanks a lot 😊