From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Application Running Embedded Python on NI-RT Linux

Hello,

I was wondering if anyone has built an RT application with LabWindows/CVI that has embedded Python into its runtime. I'm also looking for input into whether or not this is possible.

From what I can gather, you can install Python 3 on NI-RT:

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000001DzbVCAS&l=en-US

With this in mind, I believe I should be able to build an RT target that uses Python C-API to instantiate a python runtime into my application.

 

I'd like to build a host application that sends a Python script to the RT application. The RT application executes the script, which does little more than manipulate some software signals inside the C runtime. The RT application then sends a file back to the host when python execution finishes.

Any input would be appreciated!

-Chris

0 Kudos
Message 1 of 1
(168 Views)