Modular Data Acquisition
Distributed Measurement and Control
High-Performance Test
Automated Test System Development Software
Perspectives showcases how NI sees what’s next in the world of test and technology.
You can request repair, RMA, schedule calibration, or get technical support. A valid service agreement may be required.
Provides support for NI data acquisition and signal conditioning devices.
Provides support for Ethernet, GPIB, serial, USB, and other types of instruments.
Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports.
06-06-2021 09:51 PM
labviewでサーバ1に対してクライアント多数のTCP通信を行いたいと考えています。現在考えている方法は、通信が確立した際に発行される接続IDを利用してスレッドを立て、サーバとクライアントAとの接続をキープしたまま、新たなクライアントからの接続要求を待つ、というものです。この方法だとサーバは新たなクライアントの受け付け用と接続しているクライアントとの通信用(接続している数)を作る必要があるので、他に簡単な方法があるのであれば、教えていただきたいです。
解決済! 解決策の投稿を見る。
06-08-2021 12:44 AM - 編集済み 06-08-2021 12:45 AM
リファレンスデザインとして、
https://forums.ni.com/t5/Reference-Design-Content/Multi-Client-Server-Application-Design-Pattern-usi...
がお勧めできます。
STM(Simple TCP Messaging)というライブラリはVIパッケージマネージャでインストールできます。
上記URLからサンプルプロジェクトをダウンロードしたらプロジェクトからServer.viを開き、Client.vitをWindowsのエクスプローラで複数回読み込んでください(.vitはテンプレートなので別々のVIとして開きます。)
Server.viを実行して、複数のClient N.viを実行するとマルチクライアントサーバが試せます。
What do you need our team of experts to assist you with?
Thanks!
We'll be in touch soon!