Go to Post Instant Replay??? AAAAAAUUUUUGGGGGHHHHHH!!! - Bill Moore [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 10-06-2010, 16:50
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
Re: Multiple Dequeue Element VIs in loop

I went through the exercise of making a test program and got it to work. It's based around the same model that you have. The loop in the middle waits for the input and enqueues it to the necessary queue. The other two loops are waiting on their dequeue and will update the corresponding output when data is seen. This seems to work as expected. See the attached diagram

My example used just an integer as input, but I tried passing a cluster around to make sure there wasn't something different with that, but it worked just fine.

Have you tried to run with the execution highlighted to make sure your loops are running as expected? I had a bug when testing that caused only one loop to run (made the mistake of having a stop control from one loop tied to the end condition of the other while loops). Maybe you're hitting something silly like that?
Attached Thumbnails
Click image for larger version

Name:	queue.jpg
Views:	44
Size:	46.0 KB
ID:	9149  
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
game element blackiceskier General Forum 11 23-10-2009 13:15
[FTC]: Multiple Programs or One Program with Multiple Auto Modes kevin51292 FIRST Tech Challenge 4 02-01-2009 20:37
07 Game element? bear24rw Rumor Mill 15 05-01-2007 18:38
pic: Division By Chicken Element Tim Delles Robot Showcase 2 12-04-2006 21:26


All times are GMT -5. The time now is 22:05.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi