VI Server Reference of Control Array

Updated Dec 30, 2019

Reported In

Software

  • LabVIEW

Issue Details

  • Can I make an array with different control types of VI Server Reference?

Solution

VI Server Reference is mainly used for controling indicator or control of front panel by calling propertry node or method node. If you want to build an array using these references based on different data types, Consider below things.

  • Different data types of Control reference coerce when building an array. So, the data types are converted to Control refnum which is polymorphic type of control reference from numeric refnum(strict), boolean refnum(strict), string refnum(strict) and so on.
  • When building an array with the same data type, the elements of the array remain the type itself.
  • Control refnum array can use array functions, replace/insert/search, with any types of VI server reference of control array. (except Application Reference, General VI Reference)
  • Class conflict occurs when an array, the element is not a Control Refnum, performs place/insert/search with other data types.