It isn't entirely clear what your attempting to do, but if you are just trying to use the 1's and 0's in your byte array to determine whether to send certain commands one way might be to just pass the resulting boolean array into a FOR loop with autoindexing, pass the individual values to a case statement that contains your commands to the uC
If this isn't what your attempting then give us a little more information
P.M.
PutnamCertified LabVIEW Developer
Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5

LabVIEW Champion