LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview 2018, Python, x64

Solved!
Go to solution
Highlighted

Hi,

Labview 2018 support Python http://zone.ni.com/reference/en-XX/help/371361R-01/glang/python_pal/

In http://www.ni.com/product-documentation/54295/en is written, python36.dll is used.

I have Miniconda 3.6 x64 installed.

If Labview call python36.dll  direct (not via network), I need Labview 2018 x64?

 

Up to now I used Labview 32bit, because not all Toolkits are available for x64: http://www.ni.com/product-documentation/52818/en/

But this document is no up to date, the LabVIEW Advanced Signal Processing Toolkit support now 64-bit, http://www.ni.com/pdf/manuals/375335d.html#64bit

 

Peter

0 Kudos
Message 1 of 7
(2,149 Views)
Highlighted
Solution
Accepted by topic author Peter_S

@Peter_S wrote:

 

 

I have Miniconda 3.6 x64 installed.

If Labview call python36.dll  direct (not via network), I need Labview 2018 x64?


Yes! A 64-bit DLL can only be loaded by a 64-bit process! That's a Windows limitation and can not be worked around by a process without writing a huge amount of thunking code.

Rolf Kalbermatter
Averna BV
0 Kudos
Message 2 of 7
(2,106 Views)
Highlighted

we can find the LabVIEW 2018 offline trial version and legal download link from this website.

I downloaded but that not support windows xp, why? what is the problem?.

 

Admin note - removed hyperlink to suspicious website

0 Kudos
Message 3 of 7
(1,832 Views)
Highlighted

@ilhama wrote:

we can find the LabVIEW 2018 offline trial version and legal download link from this website.

I downloaded but that not support windows xp, why? what is the problem?.


Windows XP came out 17 years ago and is not supported by recent versions of LabVIEW. This document details which Windows versions are supported by which LabVIEW versions. The last version that supported Windows XP (SP3) was LabVIEW 2015.

 

For security you should really download trial versions directly from National Instruments instead of third-party download sites. Try this link: http://www.ni.com/en-us/shop/labview/download.html

 

---

Admin note - removed hyperlink to suspicious website

0 Kudos
Message 4 of 7
(1,827 Views)
Highlighted

That website is so full of errors it is almost laughable!

I'd definitely steer clear of it, who knows what you are really downloading.

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 5 of 7
(1,808 Views)
Highlighted

Aside that most of those download sites don't do that out of charity but to earn some money, and providing manipulated downloads with nasty payload is one pretty common way to monetize the download service, I also think that they skate on very thin ice legally even if they wouldn't resort to such practices. The software is copyrighted and NI definitely never gave them the right to provide it for download.

Rolf Kalbermatter
Averna BV
0 Kudos
Message 6 of 7
(1,790 Views)
Highlighted

There is another wrinkle to be aware of, at least if you are using Miniconda 3 and possibly in other distributions of Python and 64bit LabVIEW on Windows at least (and possible 32 bit, but I haven't tested).

Python 3.6.7 and 3.6.8 both fail to load properly and return an error 1671 in Open Python Session. Earlier versions work ok.

Note this is specific to the Python version installed via conda and is nothing to do with scripts stored on network drives, python36.dll not being in the path etc, it is purely triggered by doing:
conda install python=3.6.7

and fixed by doing:

conda install python=3.6.6

Not at all clear what the change is that has broken things and whether to shout at Continuum or NI...

--
Gavin Burnell
Condensed Matter Physics Group, University of Leeds, UK
http://www.stoner.leeds.ac.uk/
0 Kudos
Message 7 of 7
(1,189 Views)