06-03-2009 04:27 AM
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.
06-03-2009 06:17 AM
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:\\.
06-05-2009 04:47 AM
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,
06-05-2009 06:39 AM
Thanks for the suggestions guys I'll give it a try.
Regards,
Dave.
06-12-2009 07:36 AM
Hello Dave,
How have the above steps helped? Do you require any further information?
Regards,
06-12-2009 10:30 AM
Thanks for asking but I got a bit busy with some other things. Hope to get back on it next week!
Dave.
06-16-2009 11:52 PM
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.
06-16-2009 11:55 PM
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.