03-20-2013 11:56 AM
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
03-21-2013 09:25 AM
Hello EricMgNiBh,
I have included a link that walks through the process of creating and deploying a real-time executable.
03-21-2013 09:42 AM
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.
03-21-2013 10:08 AM
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
03-21-2013 10:58 AM
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
03-22-2013 05:53 PM
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.
03-25-2013 07:44 AM
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
03-26-2013 05:08 PM
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.
03-27-2013 02:22 PM
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 ?
03-28-2013 08:32 AM
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.