LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Python & LibreOffice Calc & lvoo 0-0-4 LV2020

Solved!
Go to solution

 

I am trying to get LibreOffice working with LabVIEW from:

Cross platform wrapper library for generating OpenOffice & LibreOffice spreadsheet documents via Lab...

LabVIEW 2025 Q1 32 bit

LibreOffice Calc 25.2.3 32 bit which also installs Python 3.10.17 32 bit

So my bitness is correct!

Python works:

Al1234_0-1747867565641.png

using their project and running test.vi (following their instructions) I get error 1761

Al1234_1-1747867763948.png

forum posts say it could be the environmental variables:

PYTHONPATH
C:\Program Files (x86)\LibreOffice\program
C:\Program Files (x86)\LibreOffice\program\python-core-3.10.17\lib
URE_BOOTSTRAP
vnd.sun.star.pathname:C:/Program Files (x86)/LibreOffice/program/fundamental.ini

I narrowed it down to the 'open python session.vi' but even if I connect the correct python version, 3.1 and path directly it still has the same error

has anyone tried this and copy me their environmental variable for comparison. Otherwise I assume it's not compatible with W11 😫

0 Kudos
Message 1 of 3
(77 Views)

Tested on W10 Pro and working perfectly...

LabVIEW 20.0

environment variables are the same etc.

Any ideas what I need to look at on W11 to get it working?

0 Kudos
Message 2 of 3
(70 Views)
Solution
Accepted by topic author Al1234

got it working with W11 - hope this helps with anyone else having problems!

In 'lvoo generate spreadsheet.vi' I explicitly added the python.exe path for 'open python session'

so I assume W11 handles environment variables subtly differently??

Al1234_0-1747871796331.png

 

Message 3 of 3
(53 Views)