Okay, I’ve search, I’ve read help, I’ve looked at examples, but I can’t seem to figure out how to create a simple 2D array of static values on the front panel.
What I’m trying to do is have a 2D array 3rowsx2cols on the front panel with static numeric values. This array, I want to index on the block diagram to retrieve the number from that row and column based on some switch settings at the driver station.
Could someone point me in the right direction
Thanks
The second item in the Functions Palette is the Array sub-palette. The bottom left item there is an Array Constant.
To make it into a two-dimensional constant, right-click and choose Add Dimension. Drop a numeric constant into the empty square on the right to set the type of the array. Now you can grab the resizing handles on the (now much smaller) square and make it as many rows and columns as you want.