FieldPoint Data Types

FieldPoint LabView Interface

FieldPoint Data Types

The type terminal on FP Read and FP Advise can be wired with any of four values: Float (DBL), Float Array, Boolean, and Boolean Array. The Value In and Value Out terminals on the FieldPoint Express block and the values terminal on FP Write and FP Write/Read take the same data types.

Float (DBL) works with single-channel analog and single-channel counter I/O. Float (DBL) also works with multichannel digital I/O, and it is especially useful if your application is designed to respond to specific combinations of digital channel data. If you are a new LabVIEW user, or if each channel affects a different part of your application, the Boolean Array data type is more suitable for your multichannel digital I/O.
Float Array works with multichannel analog and counter I/O. Float Array is the default data type for all FieldPoint VIs.
Boolean works with single-channel digital I/O.
Boolean Array works with multichannel digital I/O. Multichannel digital data is returned as a 16-element array regardless of the number of channels included in the FieldPoint item. Array elements corresponding to channels that do not exist or that are not included in the FieldPoint item are always FALSE.

Drop a FieldPoint VI onto the block diagram or front panel, then do one of the following:

  • Wire a LabVIEW control of the correct data type to the type or values terminal.
  • Right-click the FieldPoint VI, click Select Type, and select the type from the drop-down list.