LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I always lose data when i read continous using serial

I am developping a application, using serial communication for data
acquisition.
This serial read data continuous.but when i click on the graph or made
a zoom i lose data in that interval ...
What can i do
0 Kudos
Message 1 of 5
(2,704 Views)
If I understand correctly what you're saying, there is a gap in you data when you click on the graph, or zoom in on it. If you have the acquisition and the graph in the same loop, you could be essentially pausing or slowing down the loop while you are interacting with the graph. I've never noticed this effect before myself, but it is possible.One solution might be to put the acquisition process in a seperate loop and pass data to the loop containing the graph in something like a queue.Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 5
(2,704 Views)
thank you for your answer , excuse me for my bad english,
i send you my little program in attach..
I am very novice in labview , if you can help me...
0 Kudos
Message 3 of 5
(2,704 Views)
The file you posted is names soft.rar. Not Dawn_DSP_Tab.vi like the label says. Also If you are using V6.1 of LV please convert to version 6.0 before posting it. The manual tells haw to save a VI in a previous version.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 5
(2,704 Views)
I took a look at your VI and your are doing VISA communication and DAQ at the same time. I highly recommend hooking up all the error clusters for all of the VIs. This way you can know if there is a problem with one of the VIs. Debugging is orders of magnitude easier with the error clusters working.
0 Kudos
Message 5 of 5
(2,704 Views)