LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

building 2D array in a while loop

I'm trying to build an array from hex data received from a serial device(using VISA) inside a while loop.  Can I take the hex string(262 bytes long) and write it into the first element of an array?  Everytime the loop is executed the next hex string  I would like to store  it into the next element of the array. Can someone give me some hints on how to get started or a basic vi that outlines building an array of this type in a while loop.  Thanks. 
0 Kudos
Message 1 of 2
(4,492 Views)
Where is the 2D aspect of this? What you're describing sounds like a 1D array, and you can just use auto-indexing to do this.




To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.


Message Edited by smercurio_fc on 04-11-2008 04:07 PM
0 Kudos
Message 2 of 2
(4,483 Views)