LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reverse engineering a VI

Solved!
Go to solution

I appreciate all the help! I'm still learning LabVIEW, so a lot of these concepts are still foreign.

 

How do I create an array with the true/false truth table?

 

 

 

Thanks,

Jay

 

0 Kudos
Message 11 of 13
(371 Views)

Hi Jay,

 

create an array constant. Place a boolean constant inside this array constant to make it a boolean array. Set the dimensions to two index entries. Change the array size (of the visible elements) to the desired size. Set each element as needed…

 

This really is very basic LabVIEW stuff: did you notice the "Training resources" offered in the header of this LabVIEW board?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 12 of 13
(364 Views)

@JayWW wrote:

 

How do I create an array with the true/false truth table?


Place a boolean, right-click, change to array*. Resize the index down to show two indices, making it 2D.

Resize array container to at least show all elements you need. Click on each element to change their value.

 

*On older LabVIEW versions, you would place an empty array container, then drop a boolean diagram constant in it.

Message 13 of 13
(361 Views)