01-17-2013 10:53 AM
I have a LabVIEW program (Labview 2012) running deployed on a CFP-2220 (Field Point version 6.0.11). The program creates a log file that is saved to a USB drive connected to the CFP. I was wondering if there was a way in Labview to access this file (say once a day) and transfer it to the computer the CFP is connected to while the program is running (as the program will be running continuously).
If it is easier, I could also write the file directly to the CFP's hard drive.
01-18-2013 09:19 AM
Hi,
You have a few options.
To access the files on the drive from Windows follow the instructions in this documentation: http://digital.ni.com/public.nsf/allkb/6245C8EEB74984F786256BA40052D992?OpenDocument
If you want to run something on the cFP to transfer the files you will need to have a FTP server to connect to: http://digital.ni.com/public.nsf/allkb/9a004cf5241f3cb68625779e004ee159?OpenDocument
An example of how to transfer the files automatically from the target can be found here: https://decibel.ni.com/content/docs/DOC-15379
If you want to transfer the files from a process on your host computer you can access the target from the same FTP information as in the first link above and use the FTP VI's to do it.
Hopefully this points you in the right direction!