LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Stop button to stop LED in client and server

I created 2 switch buttons (client) for 2 LED booleans(server).

I wonder how to make a stop button (on client) to close 2 LED at once?

 

attachments show what i did and i don't know to create a stop button to stop client and server.

Download All
0 Kudos
Message 1 of 4
(2,216 Views)

can any please help me.. This is the first time i use this program~Smiley Sad

0 Kudos
Message 2 of 4
(2,206 Views)

First, you need to be patient.  We are volunteers here who like to help others solve their problems.

 

How is your code working otherwise?  It looks okay for trying to get the LED1 and LED2 to function.  If it isn't working, then tell us what is going wrong.

 

To create a stop program method to your VI's.  Create another command in your communication.  Detect a Stop button event in the one VI and transmit that command to your client VI.  When it decodes that, it will stop the while loop in your VI.

0 Kudos
Message 3 of 4
(2,199 Views)

I can make the LED to work fine but the stop button,

I don't know how to connect it to client.

0 Kudos
Message 4 of 4
(2,192 Views)