Jump to content

Error 7 with Report Generation Toolkit


Recommended Posts

Hello Everyone,

 

I'm trying to generate an Excel sheet report for some readings using "Report Generation toolkit" But when trying to generate the report, the report generation part of code is executed and gives Error(7) and there is no report is generated.

 

The Code I use is attached.

 

Can I get help please?

 

Thanks in advance 16x16_smiley-happy.gif

 

Report Generation.zip

Link to comment

Probe the path wire going into the New Report.vi when the VI is ran.  You'll see that the path provided as a xls template is a path to a location that doesn't exist.  Your XLS file is in the same directory as your Main.vi but you stripped the path twice meaning the folder above where the main is.  Remove one of the strip paths to fix that then if you have the report generation toolkit installed it will open excel and make your spreadsheet.  It doesn't get saved because you didn't use the Save Report to File.  Call this before the Dispose Report.

 

EDIT: Cross post http://forums.ni.com/t5/LabVIEW/Error-7-with-Report-Generation-Toolkit/td-p/2695725

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.