Using FTP to Access and Use the External CompactFlash or USB Drive on a Real-Time ControllerHardware: FieldPoint
Problem: How do I FTP (File Transfer Protocol) data to and from the external CompactFlash card or external USB drive on a Real-Time target? Solution: National Instruments Real-Time (RT) systems refer to external CompactFlash (CF) drives by drive letter D: and external USB drives by drive letter U: . FTP to the drive letter of interest by using one of the following methods. Measurement & Automation Explorer (MAX) Open up MAX (Start»National Instruments»Measurement & Automation Explorer) and find your device under Remote Systems on the left. If you right click on your system name, you should choose the option called File Transfer as in the picture below. After you choose this option, the File Transfer Wizard will pop up. This is your user interface between the remote system and your computer. The picture below shows what the File Transfer Wizard looks like. The Current Remote and Local Directory are the filepaths of the current highlighted folder. If you want to transfer a file to your computer, then you would highlight the file under Current Remote Directory and choose the drive on your computer under Current Local Directory and hit the To Local button. You would hit the To Remote to do the opposite (change the directories and file paths first though). You can also add folders by hitting the button called New Folder to the right of the directory you want it to be in. The folders need to already exist if you want to programmatically write to them in LabVIEW. See Related Links for more details.
Caution: Do not remove or insert external storage media in hazardous locations while the system is powered (do not hot swap in hazlocs). Do not remove external storage media while the system is writing or reading from the media. Related Links: National Instruments FieldPoint Support Homepage KnowledgeBase 4K1HPA20: What is the Correct File Path for LabVIEW Real-Time Targets? KnowledgeBase 415A8ELH: What Does my USB Hard Drive or Flash Device not Work with my cRIO-901x or cFP-2220? Attachments:
Report Date: 04/23/2002 Last Updated: 05/01/2009 Document ID: 2KM92E5F |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
