Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling a RT VI/application Python

Hi....
I am working on a 'ECU test system design' project, which uses a LabVIEW RT (Desktop PC as RT). This RT is equipped with NI PCI-CAN/2, Analog, and digital interface boards. I have Programmed RT to perform some basic data acquisition operations and it works fine through development system (another PC). We wish to control this RT VI/ application through python. I'm new to python and when I searched for this in discussion forums, I got python code which controls VI on a normal PC (not on RT), if and only, if this VI is not inside any LV project. When I tried to control a VI, which is inside a LV project (not a LV RT project), there is no error in python editor but this python code is not controlling VI. And same thing happens with a VI inside a LV RT project. I tried to open LV project, before referring to VI, in python but this doesn't works (I am getting error in python editor). Controlling a RT application through python is very important to me, bcoz we have all test sequences written in python. I tried to work through ActiveX control but I came know that ActiveX control doesn't works with LV RT systems. Anybody knows about control of RT projects through python....pls help me.

Thanks in advance.

Ravinder
0 Kudos
Message 1 of 1
(3,328 Views)