ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

state array

I am trying to make a state array. I have attached  such an array that I found somewhere. It is orange-red colour. My attempt is in black and I cannot add elements. Anyone can help. The arrays are in the attached file.
0 Kudos
Message 1 of 4
(3,402 Views)
Hello labview1958,

you have to set the type of your array.
So just put a text constant into your array and it will change color. After that you can easily add/change elements.


Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(3,401 Views)
"So just put a text constant into your array and it will change color"
 
How to do that? I tried something like trying to type text but did not work.
0 Kudos
Message 3 of 4
(3,392 Views)
Hello labview1958,

take a string constant from the strings palette und put that into your array constant. It's like all the other types of constants: take it from the palette and put it on the block diagram...
Or: RTFM!


Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 4
(3,387 Views)