LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Continuous data transfer from vi to sub-vi

I am working on a data acquisition vi, and one of the
features is to have one or more user-configurable x-y
plots displaying real-time data. I have it working
with the plot running in the main vi. Now I want to
create a sub-vi for the plot, and once it's open, to
write additional data to it as the data is acquired.
I'm thinking I will use a queue, but I'm open to any
expert opinion on the best way to do this.
0 Kudos
Message 1 of 2
(2,601 Views)
A queue would be a good way to do it in that queues will guarantee you won't lose any data. The only problem you might have is if the data source is streaming data to the display really, really fast. If the display VI is doing any find of processing that would slow it down, you could overrun your queue. All in all though, it sounds like a good approach, give it a try and keep us posted on how it comes out...

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

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

For help with grief and grieving.
Message 2 of 2
(2,601 Views)