LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Refreshing labview to perform faster

hello friends...

I have made program for data acq from my serial port and plotting it at real time..

my program is working fine but the problem is that when I run my program , at starting the acquisistion and plotting both are at their best rate means that response is best but as the time passes the acquisition as well as plotting both slow down and using stop watch I conculude that this time gap is approx 9-12 sec 😛

Please help me how to manage with this problem...

Modifies Advance serial read and write Example..

0 Kudos
Message 1 of 6
(2,663 Views)

 You need to try to separate your prcoessing of data and your collectiong of data.  As your data set grows, your processing takes more and mroe time.  If you use producer and consumer loops, You can coolect your data, and insert it into a queue.  In your other loop, you grab the data from the queue (you can grab chunks of data instea dof one data point at a time), and perform your analysis.

 

LabVIEW includes numerous example of producer/consumer architecure.

0 Kudos
Message 2 of 6
(2,654 Views)

thank you for reply

Could you please point out some of that examples by name...?  so that I can easily find out..

0 Kudos
Message 3 of 6
(2,649 Views)

I have tried Queue Basics , it takes time to understand , newbie to labview.

0 Kudos
Message 5 of 6
(2,635 Views)

thank you , good explanation in the websites.

0 Kudos
Message 6 of 6
(2,630 Views)