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

Why Can't I Embed on my FieldPoint Controller?

Primary Software: LabVIEW Development Systems>>Full Development System
Primary Software Version: 7.1
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: FieldPoint>>Controllers/Network Modules>>FP-2000

Problem: I am having trouble running my LabVIEW program on my FieldPoint controller. The program works fine when I am running LabVIEW for Windows, but when I target LabVIEW to my controller, or I try to embed it using the Application Builder, I get error messages such as "Failed to download VI" or "Connection to the RT target has been lost". Sometimes it looks like the Application Build completes and does embed the program on the controller, but it doesn't run when the controller boots up like it should.

Solution: This is most likely an issue of memory space on the controller. This can be the case even if it looks like there is fair amount of memory available as the VI is embedding. There are a few things to remember when building programs for embedding:
  1. Avoid using Express VIs because they take up a lot of memory. Use the FieldPoint ReadWrite, Read, and Write VIs instead of the FieldPoint Express Vi.

  2. Minimize the number of Read and Write VIs by setting up IO Items in Measurement & Automation Explorer. Instead of reading from channels sequentially with multiple Read VIs, you can read from them simultaneously with only one VI. It is worth creating IO Items even if you will only be reading from or writing to 2 or 3 channels.

  3. Focus on code efficiency. For example, avoid unnecessary structures or very large arrays.



Related Links:
Compact FieldPoint Frequently Asked Questions
KnowledgeBase 2MHFIIGU: How Much Hard Drive Space Do I Have Available on My FP-20xx
KnowledgeBase 2C5965Q9: Using the Application Builder to Embed an Executable into the FP-2000/2010

Attachments:





Report Date: 05/25/2005
Last Updated: 06/06/2005
Document ID: 3LO9JBOA

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