Strings [4] Property

Short Name: Strings[4]

Requires: Base Development System

Class: Boolean Properties

To Use: Create a property.

Array of up to 4 strings. Strings include text for False, True, True to False, and False to True.

If you set the Boolean control to allow multiple strings, this property always returns an array of four strings when reading. When writing, you can pass in an array of length 1, 2 or 4. If you pass in only one element, this property uses that element value for all four states. If you pass in two elements, this property uses the first element value for the False and True to False states. Similarly, this property uses the second element for the True and False to True states.

If you do not set the Boolean control to allow multiple strings, this property returns an array of one string when reading, and uses the first array element when writing.

This property only uses the True to False and False to True states when you set the Boolean control to latch or switch when released. You can get and set these strings even if you do not have the control set to latch or switch when released; they just are not used.

Remarks

The following table lists the characteristics of this property.

Data type
PermissionsRead/Write
Available in Run-Time EngineYes
Available in Real-Time Operating SystemYes
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes