Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

How Can I Use a FieldPoint or Compact FieldPoint Without the LabVIEW Real-Time Module?

Primary Software: LabVIEW Development Systems>>LabVIEW Professional Development System
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Modules>>LabVIEW Real-Time Module
Hardware: Compact FieldPoint

Problem:
I want to use a FieldPoint or Compact FieldPoint but do not have the LabVIEW Real-Time Module.   How do I use the FieldPoint palette VIs to talk to a [Compact] FieldPoint?

Solution:
If you do not have the Real-Time Module, or are using a network module (non-controller) FieldPoint, you can use the VIs on the FieldPoint palette to talk to the [Compact] FieldPoint (the FieldPoint palette installs with the NI-FieldPoint driver) 

Use the FP Read VI  or FP Write VI to read from or write to a FieldPoint.   Right-click on the  FieldPoint I/O Point In terminal and add a constant or control.   You can then select this constant or control, select browse, and then browse to the FieldPoint, module, and channel you wish to use. 

Alternatively, you can use the FP Open VI, FP Create Tag VI FP Read VI, FP Write VI and FP Close VI to communicate to the [c]FP from the host.  You will need to reference the IAK file, Comm Resource Name, Input Device Name, and Item Name.   The following snippet shows how to do a simple read command from the host computer 


 
The Comm Resource Name, Input Device Name, and Input Item Name must match exactly what is found in MAX and the IAK file.    The following screenshots highlight where this information can be found in MAX.






You can also refer to Developer Zone Community: Reading IAK File in LabVIEW as 2D Array of String and create a list of all the FieldPoints on your system and their corresponding parameters.




Related Links:
Developer Zone Tutorial: What is NI Compact FieldPoint?

Developer Zone Community: Reading IAK File in LabVIEW as 2D Array of String
KnowledgeBase 2J5DQHS0: Application Fails to Download to My Real-Time Target

Attachments:





Report Date: 11/01/2010
Last Updated: 02/21/2012
Document ID: 5F09NC6W

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