06-05-2019 03:17 PM
Hello,
I'm a beginner to Labview. My VI has used the "Build Array" function to index specific array elements of a larger 2D array and put them into a 1D array. The array, for example, contains "0 0 1 0 0 0 1 1". I want to display this as a hexadecimal string on the front panel as an output.
I could not figure out a suitable function to do this. My last attempt is shown below in which I use the "Array to Spreadsheet String" function, but my front panel still displays the bits.
Solved! Go to Solution.
06-05-2019 04:15 PM
06-05-2019 04:34 PM
1) Check the endian order and reverse array if needed
2) convert to boolean array with "Not Equal To 0?"
3) "Format Into String" to display the way you need.
06-06-2019 09:14 AM - edited 06-06-2019 09:32 AM
Edit: Got it - Thanks for the help!
06-06-2019 09:28 AM - edited 06-06-2019 09:29 AM
Sorry about that. Here is the image.
As you can see the Not Equal to 0? does not need to be in a loop.