LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Integrate Python Script in Labview

I want to integrate Python into LabVIEW the following way:

 

I'm using this python library called DeepLabCut-live. My LabVIEW software is recording mice and I want to track it real time using deep learning (hence DeepLabCut-live). However, in order to do so, I have to initialize the neural network before I run it. As far as I'm aware, calling a python node in LabVIEW resets the python script every time, so I'd have to reinitialize the neural network every time.

 

Is there a solution to this problem?

 

0 Kudos
Message 1 of 2
(1,215 Views)

I haven't done much with Python in LabVIEW. But, I believe global variables will persist as long as you keep the python session open in LabVIEW.

0 Kudos
Message 2 of 2
(1,194 Views)