LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to incorporate 'Send acknowledgement' button in the given scenario?

Hi,

I have designed a client server model. Client sends a message to server and once the server receives the message a popup shows message received successfully. Post which the user has to click on the send ack button. When this button is clicked, a popup has to appear on the client end saying ack successful. Could anyone kindly let me know how the 'send ack' button can be incorporated in the given code?

Herewith, I attach both the client vi and server vi with this. Thank you in advance.

Download All
0 Kudos
Message 1 of 3
(2,118 Views)

You failed to attach a VI.  VIs have the extension ".vi".  They can be opened in LabVIEW, show a Front Panel and Block Diagram, can be edited (in LabVIEW), can be executed (when opened in LabVIEW), can have functions added or changed, etc.

 

Please attach your VIs.  Pictures are often not worth the time inspecting.

 

Bob Schor

0 Kudos
Message 2 of 3
(2,114 Views)

Dear folks,

 

I have designed a UDP client-server model.

 

How it works?

1. Client.vi sends a message to server.vi

2. Upon receiving the server displays a dialog box saying "Received Successfully!
Waiting for Acknowledgement"

3. When the user clicks on "OK" button on the dialog box , it displays one more dialog box saying "Ack successful"

 

Issue faced:

In this code, everything is working fine except for the popup keeps on appearing indefinitely. I kindly request someone to help me fix this issue.

 

The popup has to be displayed only once and need to wait until the next message is passed from client.vi. Your help will be really appreciated. Thank you. Herewith, I attach both the client and server vi with this. Have a wonderful day.

Download All
0 Kudos
Message 3 of 3
(2,072 Views)