DATA AHEAD toolkit support Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

XLR8 error: writing in file with graph sheets

Hi,

I'm facing an issue with XLR8 toolkit.

I have a template file showing some graphs of measurements. I copy it to fill with corresponding data.

My customer has placed some full-screen graph first in the workbook ans spreadsheet for data at the end. In this case, when I fill the data sheets with data, the graph are not displayed anymore.

I tried to set sheet order to place the spreadsheet first but it doesn't work.

My workaround is to modify the template file by placing the data spreadsheets first. Then I only write data (Write Area.vi) in data spreadsheets. Graphs are filled and correct.

Regards,

Daniel

Files:

- Excel opening report (french)

0 Kudos
Message 1 of 11
(4,108 Views)

Hi Daniel,

 

a very peculiar problem that you describe here. Could be that the NPOI version on which XLR8 is build up to now is the reason for that.

 

Perhaps you can check again in the very near future. A new package - build on the latest NPOI release - is currently in review by the NI toolsnetwork and should be available with in a week or two for download.

 

Feel free to contact us via e-mail if you are interested in a "pre-release".

 

Regards,

DATA AHEAD

Kudos are welcome...
0 Kudos
Message 2 of 11
(4,086 Views)

Hello Daniel,

 

as hinted in my last post the new release of XLR8 is finally available.

 

We would very much like to hear if this version fixes your problems.

 

Kind regards,

DATA AHEAD

Kudos are welcome...
0 Kudos
Message 3 of 11
(4,071 Views)

Hi Jens,

I have installed the new release.

On the original xlsx file (unchanged from customer with full screen graphs first), it still didn't work.

On a copy, saved with LibreOffice (where graphs are displayed over cells, first), it looks ok. 

Best regards.

Daniel

PS: LibreOffice 7.06.2 did not manage full screen graph (don't find the option)

0 Kudos
Message 4 of 11
(4,050 Views)

Hi Jens,

I can confirm that XLR8 still brake links in graphics, even with your latest version.

We have made the simpliest test files and it scatches with Excel 2013 standalone and Excel 365 online. (Opens correctly with OpenOffice)

Please find attached my code, my example and a result file.

Best Regards,

Daniel

 

Download All
0 Kudos
Message 5 of 11
(4,010 Views)

Hi Jens,

My colleague confirms me that XLR8 or NPOI changes chart files, even when we don't interact with them.

image.png

Please find his short report (french, sorry)

The key is that if he places the original chart file in the new document, it works again.

Best Regards,

0 Kudos
Message 6 of 11
(3,993 Views)

Hi Jens,

Office 365 don't like the files and fires an error:

daniel_rudaz_0-1636723539656.png

Same with Excel 2013:

daniel_rudaz_1-1636723604652.png

Could you say if it is an error from XLR8 or from NPOI (nissl) ?

Best regads,

Daniel

0 Kudos
Message 7 of 11
(3,990 Views)

Hi Jens,

My issue seems to be known in NPOI, close to be solved (last post 10 Oct '21): https://github.com/nissl-lab/npoi/issues/376 

They mention a workaround.

Best Regards,

Daniel

0 Kudos
Message 8 of 11
(3,985 Views)

Hello Daniel,

 

thank you for your patience, your research, and the link to the github ticket.

 

We will try to keep track with changes in the NPOI code from time to time and release a new version when we see substantial improvement in NPOI.

 

Best regards,

DATA AHEAD

Kudos are welcome...
0 Kudos
Message 9 of 11
(3,977 Views)

Hi Jens,

As my JKI VIPM request me to update XLR8 from 2021.8.0.1 to 2021.8.0.2, I have looked to the NPOI git link and it looks like they have solves the problem at the very end of 2022.

Could you check this merged issues https://github.com/nissl-lab/npoi/pull/945 ?

Best Regards,

Daniel

0 Kudos
Message 10 of 11
(2,498 Views)