SAPHIR - Toolkits Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

ModbusView over TCP Server

Solved!
Go to solution

Can you post a diagram for a simple server?  This would help me troubleshoot a server application that I am trying to build.  I think that the server example (page 12) given in the manual is actually a client example.

Thanks,

Greg

0 Kudos
Message 1 of 2
(5,012 Views)
Solution
Accepted by topic author gcrouse

Hello Greg,

Your right, page 12 of the manual shows you a simple client implementation available in "EZ coding" palette.

2012-01-06_0833.png

You can find 2 different simple server implementation integrated in LabVIEW.

The first one is located in the NI example Finder (Select Example finder... item in LabVIEW Help menu).

2012-01-06_0835.png

This is the simplest way to implement a server. It just support one client connection, but it's really easy to understand.

2012-01-06_0840.png

The second implementation can be found in the LabVIEW template (Select New... in LabVIEW File menu item).

2012-01-06_0848.png

This server implementation is smarter. It supports multiple client connection. The first loop listen client connection and the second one reply to the request.

2012-01-06_0850.png

Once the template is open, you can modified it to fit your needs and save it.

Hope this help you.

Regards,

Olivier


Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn |

Stop writing your LabVIEW code documentation, use Antidoc!
0 Kudos
Message 2 of 2
(3,689 Views)