LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Strange error with Save Report to File (html)

Here's one that popped up out of nowhere today within a previously functioning section of code (LV7). All I want to do is save an HTML report to a file.

Code Description:
1. New Report w/ HTML report type specified
2. Add some text using Append Report Text
3. Save Report to File

The report refnum has been wired sequentially and the specified file path is correct (no spelling errors, etc.)

The error message is as follows:

Error 1 Occurred at Open File
LabVIEW: An input parameter is invalid
NI-488: Command requires GPIB controller to be in charge

Any help is appreciated.

Regards,
Nate Fethke
0 Kudos
Message 1 of 4
(2,792 Views)
According to your code, the operation should work. Can you post either your vi or a picture of it so we can see what exactly are wired?

Joe
0 Kudos
Message 2 of 4
(2,792 Views)
Not pretty, but it should work. I've double-triple-quad checked the file path I'm creating, and there doesn't appear to be anything wrong.

Also, I probed the error terminals both before and after the Save Report to File runs, and the error is definitely coming from within this vi.

Nate
0 Kudos
Message 3 of 4
(2,792 Views)
OK. I'm an idiot. I found the error.
0 Kudos
Message 4 of 4
(2,792 Views)