11-18-2013 10:48 AM
Hi,
i have a NI PXI 8196 RT controller, connected with two FPGA and the host computer. While doing my simulations, i want to save some data. I would like to save the data in the RT, so I open a txt file, write to it and then close it. But since I open it in the RT controller, i cannot save it in the host computer, i save it in the RT. So my question is, how do i have access to this file afterwards? After all the LabVIEW simulation is done, i want to have the results...
Thanks!
Solved! Go to Solution.
11-18-2013 12:34 PM
Hello joanci,
You'll want to use FTP (or as of 2013, maybe WebDAV) to retrieve the file manually or set up an automatic transfer once you're done logging. If you don't mind doing it manually, here are a few options to get you started:
A) Using the Web Interface - just navigate to the RT target's IP address in an internet browser and you'll be able to navigate the file hierarchy and snag what you need. You do need to install remote configuration support and the FTP server on the target for this to work, and some firewalls will block this.
B) Through MAX. There is a "Transfer Files" option if you right-click the target.
C) With a third-party FTP client. Windows explorer can perform this duty, in a pinch, but there are more than a few other options.
Regards,
11-18-2013 12:37 PM
Hi,
thanks!
11-18-2013 12:38 PM
How could I do it programmatically? Manually is Ok, but having to look for the file and then rename it is tedious...
11-18-2013 02:22 PM
Hello joanci,
The LabVIEW FTP VIs are probably what you're looking for. Be aware that end-of-line characters can change between operating systems, so you'll want to make an educated decision on if you want to transfer the files as ASCII (default, I believe) or raw binary data- there's a flag on the get/set functions.
Regards,