LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Issues while write Excel using activeX - data missing after column IV

Solved!
Go to solution

Data size is about 400 (col) x 100 (row), while save it to excel using ActiveX, it cut the data only with 256 column, other data from IW .... are missed.

Untitled.png

 

how to fix this in LabVIEW? I save the file with .xlsx format.

 

QW.png


"I think therefore I am"
0 Kudos
Message 1 of 5
(2,842 Views)
Solution
Accepted by topic author ELI2011

Pls ignore this question as I already fixed the issue, thank you all!


"I think therefore I am"
0 Kudos
Message 2 of 5
(2,831 Views)

The answer is that you don't use ActiveX, but use the Report Generation Toolkit.  The Snippet shows a 100 x 400 array with cell (i, j) having the value 1000*i + j (makes it easy to see that the numbers are in the correct cell).  Cell A100 contains 99000, cell OJ100 contains 99399.  The program (which only opens and fills Excel -- doesn't count the time to actually write the file to disk) takes less than a second.

100x400 to Excel.png

Bob Schor

0 Kudos
Message 3 of 5
(2,820 Views)

To help people who might see your post in the future, tell us how you solved your problem.  Then mark that post as the solution.  ("I fixed it myself" doesn't qualify as a solution.)

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

21.png

 

the previous subVI was for Excel 2003, which only support 256 columns, now it works fine for Excel 2007 after adjust the number.


"I think therefore I am"
0 Kudos
Message 5 of 5
(2,793 Views)