LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

From LabView to Excel

Solved!
Go to solution

Hi,

I am trying to save an array created with global variables to Excel. If you want to try it doesn't matter the global variables, if you can see the excel created it will be perfect.

I have been looking lots of example on the comunity but I couldn't made it run.

 

Do you know what I am doing bad? 

For intance, this error apperas: Captura.PNG

0 Kudos
Message 1 of 5
(2,885 Views)
Solution
Accepted by topic author aitorplaza

The error pretty much explains it.  Did you look at the help file for the save report to file.vi?  The repot file path also requires a file name, not just the location.

 

I did not open your vi, but the screen shot only shows the path.

Message 2 of 5
(2,850 Views)
Solution
Accepted by topic author aitorplaza

Hola aitor,

 

No usaste "build path" correctamente. La primera entrada es la ubicacion, el segundo es el nombre del archivo. Por ejemplo "MyFile.xlsx"

0 Kudos
Message 3 of 5
(2,842 Views)
Solution
Accepted by topic author aitorplaza

My son speaks Spanish, but I don't, so I can't tell if GregoryJ solved your problem (and you didn't mark his Reply as a Solution).  So I checked out your VI, and you failed to give a valid Excel filename for the output file.  In my VI, I used the path <My Documents>\Exportar.xlsx, and that gave me an Excel file!

 

Bob Schor

0 Kudos
Message 4 of 5
(2,803 Views)

... also your "insert into a blank array" in the upper left is pure Rube Goldberg code. All you need is another Built array as follows:

 

1Dto2D.png

0 Kudos
Message 5 of 5
(2,788 Views)