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

Why Can't I Make an Array of FieldPoint IO Controls in LabVIEW 7.0?

Hardware: FieldPoint

Problem: I have an array of FieldPoint IO Controls on the front panel of my VI. For each element of the array, I can select a channel from one of my modules. However, if I choose channel from a different module, then all of the other elements of the array will be grayed out. In other words, I can only select channels from one module at a time. Why is this and how can I fix this?

Solution: LabVIEW will not allow channels from different modules unless undefined types are allowed in the FieldPoint IO control. In LabVIEW 7.0, the FieldPoint IO control does not have the option to allow undefined types. Therefore, any array of FieldPoint IO controls must be all from the same module. Two ways to work around this are to:
  1. Use separate arrays for each module's channels. You could then bundle these separate arrays into a cluster.
  2. Use the String Control instead of the FieldPoint IO control. You could then put all of your channels (regardless of the module) in one array. The down-side of this method is that you will not be able to browse for the channels.
In LabVIEW 7.1, the option to allow undefined types has been added to the FieldPoint IO Control and is checked by default.

Related Links:

Attachments:





Report Date: 06/04/2004
Last Updated: 06/09/2004
Document ID: 3A36HUFQ

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