LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Producer consumer with different VI's

I'm trying to communicate with network streams, but I'm having some troubles.

So I want to set a bool on the host from a CRIO and I also want to set a bool on the CRIO from the host using 2 netwrok streams.

I made a set reset VI, with a bool for set and reset and a bool as output.

But when I run both VI it seems like he gets stuck in Set-reset VI.

 

I hope someone can help me

 

0 Kudos
Message 11 of 12
(942 Views)

@gihlutax wrote:

But when I run both VI it seems like he gets stuck in Set-reset VI.


You used a FALSE constant in a loop that is set to Stop When TRUE.  Change that constant to a TRUE and the loop will just run once (which I am sure your intent).

 

Also in that VI, you can replace the Select function with a simple NOT and that case structure can be replaced with just a wire.  After a little cleaning up, it becomes quite small...


GCentral
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
0 Kudos
Message 12 of 12
(917 Views)