Hi Valli
In our examples, you will find two type of subVIs. The main ones you will find are basic LabVIEW functions. These are subVIs that ship with LabVIEW and you will find in the Block Diagram’s Functions palette. To find help on these VIs, it is as easy as right-clicking on the VI/icon and selecting help.
There are a number of VIs that do not have a Help description provided. These are either subVIs of the shipping VIs that are included in the Functions palette that we do not expect customers to see.
In examples, there some subVIs that apply only to this specific example VI, or a few different examples, that a subVI is created to simplify the main code. These subVIs typically do not usually have a Help description. I believe this is one of these VIs. IN this case, the only real option if you want to know exactly what the VI does to look at it’s block diagram and figure it out by working your way through the VI block diagram one VI at a time.
I can’t give you a description for all the subVIs in the examples, but I can help you work through this one.
1. A 1D array of U8s comes into the subVI.
2. The first VI is the Reverse 1D Array. This reverses the order of the elements in the U8 array. (right-click on any of these basic subVIs to read the Help description.)
3. The reversed 1D array goes to a For loop where each element of the array is indexed for each iteration of the loop.
4. Number To Boolean Array – This converts the U8 element into a 1D array of booleans.
5. The next Reverse 1D Array reverses the order of the 1D array of booleans.
6. Boolean Array To Number – Converts the reversed 1D array of booleans back to a U8 element.
7. The output terminal of the For loop assembles the U8 elements into a 1D array of U8s which is the output.
So, essentially, the Reverses the order of each individual element in the U8s. ie, a number 64 (0100 0000) becomes a 2 (0000 0010). The array elements are also reversed. The first element becomes the last, and vice versa.
Jerry