From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Browse contents of real time target hard drive

Solved!
Go to solution

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

Certified LabVIEW Architect
Miami University
Instrumentation Laboratory

CLA Logo
0 Kudos
Message 1 of 6
(2,330 Views)

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.


--Using LV8.2, 8.6, 2009, 2012--
Message 2 of 6
(2,296 Views)

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

Certified LabVIEW Architect
Miami University
Instrumentation Laboratory

CLA Logo
0 Kudos
Message 3 of 6
(2,290 Views)

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.

Message 4 of 6
(2,278 Views)
Solution
Accepted by topic author weeksmr

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/

Craig H. | CLA CTA CLED | Applications Engineer | NI Employee 2012-2023
Message 5 of 6
(2,269 Views)

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

Certified LabVIEW Architect
Miami University
Instrumentation Laboratory

CLA Logo
0 Kudos
Message 6 of 6
(2,244 Views)