09-17-2013 12:19 PM
Hello,
Is there an easy way to browse the contents of the hard drive on a real-time target using the file path control (or some other type of control)?
What I have in my application is a real-time desktop PC (running on PharLap) that has a Main.vi running on it. There are some configuration files (for this VI) that I would like to be able to read and save to that would be stored on the hard drive of the real-time target. However, when the application is running and I hit the browse button, it displays the contents of the Windows machine and not the real-time machine. Is there something that I'm missing?
Please note that I can FTP from the Windows machine to the real-time target and can interact with the drive of the real-time target without any problems.
Thanks.
Mike
Solved! Go to Solution.
09-17-2013 03:33 PM
http://digital.ni.com/public.nsf/allkb/3D985C3C08C12D0B862574BB005A7684
Does that work for you? There's a dedicated Real-Time forum a little further down the page if you have other questions.
09-17-2013 03:48 PM
Hi Taper,
Thanks - I'll give this a try to see if I can get it to work for what we are looking to do. If this is just for file transfer, how could this be used to read the contents of the file directly all within the real-time target's Main.vi? Am I missing something?
Have you used this VI in the past? Anything that we should be looking out for?
Thanks.
Mike
09-17-2013 05:56 PM
weeks.michael.r wrote:
Is there an easy way to browse the contents of the hard drive on a real-time target using the file path control (or some other type of control)?
No, there is no browser for the file system on a LabVIEW real-time system other than an FTP client.
09-17-2013 07:55 PM
If you have LV 2013 you actually can use WebDAV VIs as well:
http://digital.ni.com/public.nsf/allkb/4EBE45E8A816B19386257B6C0071D025
http://zone.ni.com/reference/en-XX/help/371361K-01/lvcomm/webdav/
09-18-2013 02:58 PM
To all,
Thank you very much for you help, Kudos to all.
I found that using the FTP commands within LabVIEW to be very helpful, along with this article: http://www.ni.com/support/labview/toolkits/internet/ftp.htm
The WebDAV commands also proved helpful, but I to fully utilize them, I will have to work with them some to understand them better within LabVIEW 2013.
Mike