LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error while opening an excel file via labview

i don't know why i get this message,then the excel won't open at all1.png

0 Kudos
Message 1 of 3
(2,438 Views)

It appears that the New Report .vi only accepts the .xlt template format and not .xltx as one would commonly expect. I am currently working to determine for sure that this is the case, but it does run (mostly) properly on my end if you make that change.

 

When I say mostly, I mean there are a couple other minor issues with your code. First the first frame of your sequence structure is really accomplishing anything. If your intent is to open a reference to the excel template, there is no need because the New Report .vi does it automatically.

 

Second, you will need a file path of some sort wired in to your Save Report to File .vi or else you will get a different error message after fixing the .xlt issue. I am currently researching whether this should be marked as a required terminal instead of recommended so that it not being wired would result in a broken run arrow rather than an error.

 

Let me know if these suggestions resolve your issue, or if I can provide further input on what you are doing in your first frame. I will touch base again once I determine whether these are expected behaviors or bugs.

--------------------------------------
0 Kudos
Message 2 of 3
(2,372 Views)

thanks a lot  OlliesCamel

 

i solved the problem of getting each row in a different page,the problem that i have now,is how can i get for each row it's own histogram and this histogram has to contain 2 types of values,values of that row and the values of all the rows(the average)so i can make the comparison between a user and the average.i posted that issue here

 

0 Kudos
Message 3 of 3
(2,369 Views)