LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I run a vi after deploying into a PXI Machine

Solved!
Go to solution

Hi;

I am wondering if there is anyone out there who knows how to run a vi after deploying into a PXI machine from my host machine. In my application, I have some vi's that are deployed into my PXI machine. My problem is that when I would like to start these vi's simultaneously after deploying them. My current approach is to call vi reference and then invoke-> run. However, since there vi's are being deployed from a host machine and they are running in the PXI machine, I don't know how to create vi reference with the path constant. In other words, how can I find out the path of my vi after being deployed into my PXI machine from the host.

Best Regards,

 

0 Kudos
Message 1 of 2
(2,456 Views)
Solution
Accepted by SERDARSOYLU

When VIs are deployed onto a PXI Real-Time controller they are generally copied to a C:\ni-rt\startup directory on the controller.

 

Helpfully, this KnowledgeBase article talks about how specify and programmatically launch VIs on an Real-Time controller.

I hope this helps,

Fred Visser -- SystemLink R&D -- National Instruments
Message 2 of 2
(2,432 Views)