03-06-2011 10:06 AM
Hi,
This is my first post and only started using labview yesterday so please excuse if it sound a little dumb. I have connected an arduino through labview and sent data to it and had data sent back. I can get it to plot it to a a waveform chart of this data. However I am making the arduino send sensor data iteratively. I have 8 sensors so each byte that comes through will be the data for a new sensor, after the eighth sensor it will again start at sensor one and repeat the process. I need to separate this data and put it into eight different arrays but am not sure how to do this correctly.
Any help is greatly appreciated.
Thanks
Solved! Go to Solution.
03-06-2011 11:54 AM - edited 03-06-2011 11:55 AM
Hi Canalian,
convert your string from VISARead to an U8 array and decimate that array into 8 subarrays:
Now you have each sensors data seperated in its own array and you can do with it whatever you want.
Well, you could also use StringSubset to get each byte for it's own...
03-06-2011 04:31 PM
Hi GerdW,
Thanks heaps for the help
really appreciated.