I believe I've done that, feel free to correct me if I'm wrong. Do the trailing zeros stay there? The documentation for the DAC says that data is sent in 24 bit cycles, and the VI only accepts U8 arrays.
You're right, the VI is not connected, but the VI will be connected to Array and Array 2. I am preemptively troubleshooting by monitoring the values stored in Array and Array 2. I am still unsure if whether or not the data will be input into the arrays correctly (specifically, I am concerned about trailing and leading zeros).
- I will change the Rube code part.
- Other case (False) is empty, VI not finished.
- will remove local variable and just insert the wire.
- will remove the 7s. But yes, it is an 8x8 array.
- outside the cropped area is the picture I posted before, just going from the slider value to a 12 bit number with 4 trailing zeros.
If the array is 8x8 and you only want to use 7x7 of the data, you need to wire N.
If you want to watch the data for verification, maybe you should add a small wait (e.g. 0.5-1 second in the inner loop. Binary data is just that, zeroes are a cosmetic property of the indicator. Format the elements of the output arrays (U8 array) as binary with 8 digits and zero-padding (%08b)to more easily see what it contains when troubleshooting.
Ok. When I do that, the data output into the arrays is displayed on the front panel as I would like it to be sent to the Aardvark. I was unsure if this was is way it will be sent to the VI, but crossrulz answer gave me some reassurance that it is.
I am not a very experienced programmer, so I am just trying my best to understand it all. Thanks for all the responses and help, though.