Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Deploy real-time application

Solved!
Go to solution
Hello, I want to create an application to deploy real-time application (previously compiled) into a Compact RIO target. My goal: a standard user could deploy new real-time application without LabVIEW... Does it something exist? Thanks
Francis M
0 Kudos
Message 1 of 9
(6,191 Views)

Hello,

 

I have tried to realize something but it only works in the project, not with the specification built on the computer. One of the sub-VI is locked and probably contains functions which are not supported by application.

 

Please find my project as attachment. It doesn't work but you can see what I have tried.

 

I suggest you to try to build an Application which copies compiled files on the target and which modifies the ni-rt.ini file in order to set the application as startup.

 

Regards,

Jérémy C.
NI France

0 Kudos
Message 2 of 9
(6,172 Views)

Cisco,

 

You might find this usefull.  Keep us posted on your progress.

0 Kudos
Message 3 of 9
(6,161 Views)
Thanks for your answers. But I dont't want create an image of my CompactRIO or switching between some applications (no need to modify ini file). My goal is give a tool to a technician to deploy a new version of the real-time application into a CompactRIO. I have to develop an application to transfer (by ftp) the files of my application to the ComapctRIO memory. But I haven't any experience in ftp communication functionnalities with LabVIEW. Can some one help me? An example to explain how transfer a file from a computer to a real-time target could really help me.
Francis M
0 Kudos
Message 4 of 9
(6,133 Views)

Hello,

 

You can look at this : Reference Design for Deploying CompactRIO Application Updates using a USB Memory Device

 

Regards,

Jérémy C.
NI France

0 Kudos
Message 5 of 9
(6,119 Views)
Hello, Thank you Jeremy but it's not what I want to make: - we haven't easy access to the compactRIO, we need to deploy application since the ethernet connexion - it's an old unit (9004) without USB slot... Do you have any example to transfer a file from a host computer into a real-time controller with ftp protocoll? Thanks
Francis M
0 Kudos
Message 6 of 9
(6,116 Views)
Solution
Accepted by topic author Cisco

Hello again,

 

Even if you don't have USB slot, I posted the link because there are VIs which could eventually be used.

 

I also found you can use the "FTP Browser" example VI in order to copy files on your cRIO. The following step is to build an executable from this example.

 

Regards,

Jérémy C.
NI France

Message 7 of 9
(6,109 Views)

Just read this and I wanted to hear if you found your solution?

 

If I only want to update my realtime application I just use a ftp-client to replace the RTEXE file under /ni-rt/startup/, and send a reboot command with the labview VI's (uses the crio IP or MAC address). 

 

To deploy the an full image (software, application and project spesific files) I used this http://zone.ni.com/devzone/cda/epd/p/id/5986 with mixed luck, and ended up creating my own simple deployment tool with the image VI's.

Message 8 of 9
(6,062 Views)
Hello, Thank you for your help, I've finally made a vi who tranfers my files with ftp protocol and restart the target.
Francis M
0 Kudos
Message 9 of 9
(6,057 Views)