PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to run a python script on a National Instruments PXI-8840 controller ?

My goal is to run a python script on a PXI-8840 controller. I found a way to trigger the execution of a python scritp using LabView and the "System Exec.vi". But this will only happen on a Windows Desktop PC which has Python installed.

 

I think in order to let a Python script with several modules imported run, there must be Python installed on that PXI.

Is there a way to do this? Has anyone done this before?

0 Kudos
Message 1 of 2
(685 Views)

I suggest to to convert your code into shared library, as described here. Then you can call itfrom your RT OS in PXI-8840 (check the OS here)

0 Kudos
Message 2 of 2
(644 Views)