LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

use queue and event to read data from two serial potr's

Solved!
Go to solution

Hi All,

I'm trying to read data from two serial port by useing QUEUE AND EVENT but no sccusess. can some one help me?

I'm use LABVIEW 2011.

att my project.

regrads.

Download All
0 Kudos
Message 1 of 11
(3,487 Views)

The second while loop is waiting for the first one to exit as its waiting for the cluster to become available. You need to pass the cluster through a queue inside the first while loop itself.

Search for examples that should help.


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 2 of 11
(3,480 Views)

Hi ace and thanks for your replay.

i try todo it but still it's not working.can you take alook what i did?

regrads.

0 Kudos
Message 3 of 11
(3,473 Views)

You need to move the cluster and bundle function inside the while loop as well and add it to the queue. Please see below

cluster.PNG


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 4 of 11
(3,468 Views)

Hi ace,

thanks to you know it's working...but the "EXIT" button and the "clear window" not responding. why?i get error when i press them.

regrad's.

0 Kudos
Message 5 of 11
(3,461 Views)
Solution
Accepted by topic author JTAG

You are stopping the second loop using error cluster which means that your top and bottom loop will stop when you press exit but not the middle one. In theory you should send a queue to the loops below when the exit button is pressed and also ensure that you flush all the queues before you close everything.


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 6 of 11
(3,457 Views)

thank you very much for your time.Smiley Happy

0 Kudos
Message 7 of 11
(3,454 Views)

PUEDES PONERLO EN UNA VERSION ANTERIOR??

CAN YOU PUT IN A PREVIOUS VERSION?

0 Kudos
Message 8 of 11
(3,410 Views)

Which file? and what version? 

Applications Engineer
National Instruments
CLD Certified
0 Kudos
Message 9 of 11
(3,398 Views)

2009

0 Kudos
Message 10 of 11
(3,386 Views)