08-18-2006 03:05 PM
08-21-2006 01:18 AM - edited 08-21-2006 01:18 AM
Hi kmoorthy,
I modified your VI to process the button-clicks as indicated by your comments. Also added a tab-control to separate/distinguish array results.
Was unable to run it, though - VIs missing.
Hope it helps!
Message Edited by tbd on 08-21-2006 01:18 AM
08-21-2006 09:37 AM
Thanks tbd:
The VI works fine... but for some reason the elements within the "sensor data" array vanish when I hit the Stop button. Any advise?
Thank you
08-21-2006 07:44 PM
Hi Kmoorthy,
> The VI works fine... but for some reason the elements within the "sensor data" array vanish when I hit the Stop button.
> Any advise?
Yes! Modify the dequeue loop (which I didn't change!) so that it only unpacks data when there's no error. Just put a case around the unpacking code that writes to the "sensor data" array . As is, when stop is pressed, the empty string returned by Dequeue Element results in an empty "sensor data" array.
Cheers!
08-22-2006 08:49 AM
great... thanks.. it works now!!
regards
08-30-2006 11:25 AM