LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problems with write to spreadsheet vi

i'm having problems setting up the express vi for write to
spreadsheet. I'm trying to write data to an excel spreadsheet. I'm
getting and error

Error 1 occured at Open File
Possible reason(s):

LabVIEW: An input parameter is invalid.
---
NI-488: Command requires GPIB Controller to be Controller in Charge.

i think that my problem is that i haven't defined the file to write to
properly.
If anyone can help i'd be extremely grateful. I'm new to LabView and
this has stumped me.

Sincerely Kevin
0 Kudos
Message 1 of 2
(2,425 Views)
If you leave the file path unwired you should get a file dialog prompt, asking you for the file / path. Try disconnecting anything connected to the file path terminal.

Also, you are aware that "Write to spreadsheet.vi" writes a text file that is easily imported into a spreadsheet (like Excel) - right? It does not write it into an xls file. To do this you'll need to use ActiveX components of Excel. It's a bit advanced, but there's a bunch of discussions with sample code on the forum.

If you're still having problems, post your code and give some more details.
Tim
0 Kudos
Message 2 of 2
(2,425 Views)