PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to build executable file for RT ( Pxie)

HI everyone 

 I am using Pxie 4330,4353 and 6363. I built some VI, and now I want to convert it to executable file. I am not sure how to do that for RT and PXIE? 

If I build EXE file for PXIes,do I still need to open them under the projects and Rt target?

I hope I could make you understand what I mean.

thanks 

0 Kudos
Message 1 of 10
(7,345 Views)

Hello EricMgNiBh,

I have included a link that walks  through the process of creating and deploying a real-time executable.

 

Wear
National Instruments
Product Support Engineer
0 Kudos
Message 2 of 10
(7,332 Views)

Hi , thanks for ur support

I already build my real time application but the thing is I want to run a executable file which includes real time application using Vi server. I followed this document:

 

http://digital.ni.com/public.nsf/allkb/A7DBA869C000B5AE862570B2007C4170

 

But still I have problem... I built my VI ( AnalogInputFrontPanel) I made it as executable  file. 

I am getting error 63 and 53.  I think error 53 is related to just some configuration, but I also want to use call by reference in my front panel program in order to control the real time application program which Labview does not allow me to use it as i can not determine strickly typed VIs.

 

Generally my program is for calibration of PXIE6363 and so on so in infront panel program I need to have physical channel controller and so on.

I hope I could make you understand what is my problem.

 

0 Kudos
Message 3 of 10
(7,327 Views)

I attached the photos , "analog input verification " is the one that I build realtime application from. and analog input front pannel is the one that I use VI server to call real time application. 

I have used call by reference but I choosed strickly tyepd Vi manually ( brows and then choose analog input verification connector pane) I do not know I did right thing or not but it does not work.

please help thanks  

Download All
0 Kudos
Message 4 of 10
(7,323 Views)

ok after configuration of VI server from option and properties now I get error number 7 ? but I have chosen the path correctly as you see in photo, and also when I run exe file I can not choose channels. ?

thanks

Download All
0 Kudos
Message 5 of 10
(7,322 Views)

Hey EricMgNiBh,

 

You have targeted the builds file on your computer not the rt target. You must target the vi that is deployed to the real time target. This will be the same path that you ftp the vi to: C:\ni-rt\startup.

Wear
National Instruments
Product Support Engineer
0 Kudos
Message 6 of 10
(7,297 Views)

Hi 

But as I said, I want to have executable file for real time application!! so I have my host which is under computer and I have my realtime application which is under "NI-PXIe8102-2F134802", I tried both path for my vi server ( .rt file and .vi ) but still it does not work.

First of all my question is, am I in right way ? I mean is it possible at all to have executable file for PXie????

my program is for calibration so I need to choose different channels, which in this program channels are not appearing at all.

thanks  

0 Kudos
Message 7 of 10
(7,266 Views)

EricMgNiBh,

 

You can create a real-time executable and have it run as startup. The rtexe will then run continuously on the PXI system. You cannot programmatically call a VI in the rtexe using VI server properties. The only way to use the VI server to programmatically call a VI on the real time system is to create a source distribution and ftp the startup.llb containing the VI onto the real-time target. Then you can call independent Vis using the VI server targeting the location of the llb on the real time system. If you want to utilize a real time executable to control your PXI DAQmx channels then you need to use a different architecture. You could employee a state machine on the RT target that implements an initialization state in which it reads network published shared variables that are controlled on a host VI that is run on your controller PC. Another alternative to this architecture would be to configure Remote Front Panels on a Real Time Target.

Wear
National Instruments
Product Support Engineer
0 Kudos
Message 8 of 10
(7,237 Views)

thanks for the info and help you provided. 

is it possible that I just generate real time application of my Vi , and then download the program into target and just monitor it with remote Front Panels on a real time target ? 

 

0 Kudos
Message 9 of 10
(7,224 Views)

Hello EricMgNiBh,

 

Yes your can have a real time application deployed to the real time target and use remote front panels to access it.  This knowledgebase walks through how to setup the real time target and project properties to support remote front panels. 

Wear
National Instruments
Product Support Engineer
0 Kudos
Message 10 of 10
(7,215 Views)