このページは機械翻訳を使用して翻訳されました。最新版の英語を参照するには、ここをクリックします。
Simulink における直接インターフェース通信
Simulink® モデルでデータを送受信する
Instrument Control Toolbox™ は、計測器と通信し、Simulink のシリアル、TCP/IP、および UDP インターフェイスを使用するためのブロックを提供します。Instrument Control Toolbox ブロック ライブラリ内のブロックと、それらの使用方法を示す例を以下に示します。
ブロック
| Serial Configuration | Configure parameters for serial port |
| Serial Receive | Receive binary data over serial port |
| Serial Send | Send binary data over serial port |
| TCP/IP Receive | 指定されたリモートマシンからTCP/IPネットワーク経由でデータを受信します |
| TCP/IP Send | Send data over TCP/IP network to specified remote machine |
| UDP Receive | Receive data over UDP network from specified remote machine |
| UDP Send | Send data over UDP network to specified remote machine |
| VISA | Communicate with VISA resources (R2023b 以降) |
トピック
- Open Instrument Control Toolbox Block Library
Access the Instrument Control Toolbox block library in two ways.
- Send and Receive Data over TCP/IP Network
Send data to an echo server using TCP/IP and read that data back into a model.
- Enable Blocking Mode in Receive and Send Blocks
Make your simulation wait while the block receives or sends data.
- Timing in Hardware Interface Models
Determine block execution frequency and relate to real-world time.






