03-29-2024 07:53 AM
@Benru wrote:
In the image I attached the .vi that I made on my personal computer. I must take this same .vi to another computer where host-target is configured, I have the int.txt in the target, the .vi in the host but I have not told the .vi how to go look for that int.txt
Ah, now we are getting somewhere. You want to know how to configure a Host (PC) machine to be able to do File I/O with a connected Target (myRIO). Before I suggest how you might do this, I want to handle the general question of "How to get data collected on the myRIO to the Host PC".
I had been assuming you had the following scenario:
But another way to communicate between Host and Target is what I think you are now suggesting:
I've played a little bit with WebDAV, just to see how (and if) it works (the good news -- it does work, but it is a little confusing dealing with the differences between the Windows file system on the Host and the Linux file system on the Target). However, for what I want to do (the first scenario I outlined above), I prefer Network Streams.
So go explore WebDAV, see if you can write a utility that will open the communications channel and copy a Linux file from the myRIO to the PC, preferably a text file that you can open (you'll need to learn how to navigate the Linux directory structure and see where/how files are stored). If you get stuck, come back, post your VIs, and we'll try to help. I'd suggest making a small LabVIEW Project ("Explore WebDAV") to do this, and attaching the entire Project Folder (in Compressed, zipped, form) when you do this so we can "see everything" and maybe even try to run it ourselves.
Bob Schor
03-29-2024 12:37 PM
Where can I find a project that allows me to understand how file transfer works using WebDAV?
In the Labview examples no example appears
03-29-2024 03:04 PM