Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 3 out of 5     Rate this Document

How to View Used and Available Storage Space on a Fieldpoint Controller with LabVIEW

Primary Software: LabVIEW Development Systems>>Full Development System
Primary Software Version: 7.1
Primary Software Fixed Version: N/A
Secondary Software: Driver Software>>NI-FieldPoint
Hardware: CompactRIO>>Controllers, FieldPoint>>Controllers/Network Modules>>FP-1600, FieldPoint>>Controllers/Network Modules>>FP-1601, FieldPoint>>Controllers/Network Modules>>FP-2000, FieldPoint>>Controllers/Network Modules>>FP-2010, FieldPoint>>Controllers/Network Modules>>FP-2015, Compact FieldPoint>>Controllers>>cFP-2000, Compact FieldPoint>>Controllers>>cFP-2010, Compact FieldPoint>>Controllers>>cFP-2020, Compact FieldPoint>>Controllers>>cFP-2100, Compact FieldPoint>>Controllers>>cFP-2120, Compact FieldPoint>>Controllers>>cFP-2110

Problem:
I have a very large application or want to write other files to the internal flash memory or the removable compact flash memory on my Fieldpoint, Compact Fieldpoint, Compact Vision System, or Compact RIO network controller. How can I check the available space on these devices with LabVIEW?

Solution:
Here are two ways to determine the available flash memory storage on a NI embedded controller.
  1. Programmatic method (Note: LabVIEW RT required. See attached VI below):
    1. Target the controller in question.
      1. Open LabVIEW.
      2. Select the controller from the dropdown target list.
      3. Create a new VI.
    2. Run the attached VI, Check Free Space.VI
      -OR-
      Place the Volume Info function on the block diagram from the function palettes:
      1. LabVIEW 7.1: Functions » All Functions » File IO » Advanced File Functions
      2. LabVIEW 8.0: Functions » Programming » File IO » Advanced File Functions
    3. On the path input to the Volume Info function, place a File Path control or constant and pass the drive letter to check:
      1. C:\ - built-in flash memory.
      2. D:\ - the removable CompactFlash memory (if available)

  2. FTP method (Windows 2000/XP):
    1. Open an FTP connection to the controller using Internet Explorer.
      1. Launch Internet Explorer
      2. In the address bar, type ftp://ipaddress/ where ipaddress is the IP address of the controller.
    2. Press CTRL-A to select all files.
    3. Right click a file while highlighted and select Properties. Windows will display the space used by the selected files. This method is an approximation. The Volume Info function in LabVIEW is more accurate.


Related Links:
KnowledgeBase 2VD9E6HW: How Much Memory Does My FieldPoint Controller Have?
KnowledgeBase 3C2EKCFL: Reformatting the Internal FLASH Memory on the FieldPoint Real-Time Controllers
KnowledgeBase 2CJ7JKKN: How Do I See the Memory Usage on RT Engines Using LabVIEW Real-Time?
KnowledgeBase 2QMEG8KT: Memory Definitions for FP-20xx: Nonvolatile, CompactFlash, DRAM, User Accessible
LabVIEW Real-Time User Manual

Attachments:


Check Free Space.vi


Report Date: 12/19/2003
Last Updated: 05/01/2008
Document ID: 34IC511E

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit