01-26-2011 11:04 AM - edited 01-26-2011 11:10 AM
Yup, you got it. But, in your code I see there is only one loop :). Add in the second one and a queue and event structure. Then I'll critique. In fact, for this application, you could get away with 3 loops (1 for getting data, 1 for processing/parsing the serial string and plotting, 1 for handling user events). This may be overkill for serial communication though.
01-27-2011 10:24 AM
@for(imstuck) wrote:
Yup, you got it. But, in your code I see there is only one loop :). Add in the second one and a queue and event structure. Then I'll critique. In fact, for this application, you could get away with 3 loops (1 for getting data, 1 for processing/parsing the serial string and plotting, 1 for handling user events). This may be overkill for serial communication though.
... but will establish a good solid foundation on which the application can be enhanced.
Ben
01-27-2011 04:30 PM
Ok thanks. Must table this for now and move to other tasks. Too many demands on time. Will return to this though, so please don't remove from your radar.