LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Deploy and Run project to Realtime / FPGA from windows host

Is there a recommended way to deploy and run a project with a RealTime host.vi and a RIO vi including DMA FIFOs (FPGA) and shared variables  programatically via the desktop host on windows? Ideally I wouldn't even want to have the project open but if needs must...

 

If tried many suggestions I've found on the forums etc. but nothing seems to be working for me.

I've tried building an exe for the realtime (which I could later FTP) and launching with VI server. I've also tried building a source distribution for realtime but the amount of libraries I have to include is making FTPing it to the realtime target take far too long so long infact that I've never managed to complete a trial.

 

I've also tried http://digital.ni.com/public.nsf/allkb/C242CF9F0512DF6186257434000DBCBA

but not much luck with that.

 

I wish I had all the error codes etc. to give you but after several days of trying I'm ready for giving up.

 

My vi server permissions seem OK.

 

What would be handy would be to be able to set a project to auto run and simply launch it on the desktop from a shortcut. Since we can open a project manually and run each via on each target I can't see why it has to be difficuilt to automate things. 

 

0 Kudos
Message 1 of 8
(3,426 Views)

Not sure how helpful this might be to your application, but the RT system replication libraries contain some useful functions for automatically ftp'ing a folder of vi's to a RT system. I use it to provide customers with an easy method of upgrading their hardware with my latest software - no need for MAX or fiddling around in Explorer ftp:\\.

link

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 2 of 8
(3,415 Views)

Hello RevaD,

 

According to your description of what you are looking to do, Thoric's suggestion of using the NI Real-Time System Replication tool would give you some more ideas to work with.  Below, I have pasted a Knowledgebase article regarding the Replicaton Tool, which also links you to a Developer Zone tutorial on how to use the tool.

 

Where can I find the NI-RIO System Replication Tools?

http://digital.ni.com/public.nsf/allkb/AF4FF0C65AF31B4348257337006A144A?OpenDocument

 

After you have downloaded the ZIP file, please unzip the contents, and read the 'Readme' file, which describes how to install the library into your LabVIEW directory and Functions Palette.  You can then make a VI that deploys to your target.

 

Regards,

George T.
Senior Applications Engineer
National Instruments UK and Ireland
0 Kudos
Message 3 of 8
(3,378 Views)

Thanks for the suggestions guys I'll give it a try.

 

Regards,

Dave.

0 Kudos
Message 4 of 8
(3,374 Views)

Hello Dave,

 

How have the above steps helped? Do you require any further information?

 

Regards,

George T.
Senior Applications Engineer
National Instruments UK and Ireland
0 Kudos
Message 5 of 8
(3,339 Views)

Thanks for asking but I got a bit busy with some other things. Hope to get back on it next week!

 

 

Dave.

0 Kudos
Message 6 of 8
(3,329 Views)

I think what you might be interested in is this KB: http://digital.ni.com/public.nsf/allkb/F64D92E0BCA34162862573BD0072F807

 

#1 is the most simplistic and reasonable.

"If you want to succeed... Architect" - The Specialist
0 Kudos
Message 7 of 8
(3,297 Views)

I think what you might be interested in is this KB: http://digital.ni.com/public.nsf/allkb/F64D92E0BCA34162862573BD0072F807

 

#1 is the most simplistic and reasonable.

"If you want to succeed... Architect" - The Specialist
0 Kudos
Message 8 of 8
(3,296 Views)