ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

State Machine with Queues

Solved!
Go to solution

Probably a silly question but if I don't ask I do not want to just assume.

 

I have a well organized State Machine and I am at the final stage - Saving Data. The data saves could be quite long (a good 15-20 seconds) due to latency over our LAN and I think the best way to attack this would be to use queues. I was wondering what things I need to look out for or is it just as simple as passing data to the consumer?

 

I would need just two elements (an ID field and it's actual data - both string values) of data for each record which could be passed via a 2D array.

0 Kudos
Message 1 of 4
(3,576 Views)
Solution
Accepted by topic author Eric1977

Sounds like a normal Producer/Consumer to me.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 4
(3,567 Views)

Another resource can be found here.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

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

For help with grief and grieving.
Message 3 of 4
(3,535 Views)

Crossrulz and mikeporter,

 

Thank you. I thought it was just that easy. Sometimes just a soft push is all I need. Thanks again.

 

Eric

0 Kudos
Message 4 of 4
(3,498 Views)