Main Content

Direct Interface Communication in金宝app

Send and receive data in Simulink®models

仪器控制工具箱™provides blocks for communicating with instruments and using the serial, TCP/IP, and UDP interfaces in Simulink. The blocks in the Instrument Control Toolbox Block Library and examples showing how to use them are listed below.

Blocks

Query Instrument Query or read instrument data
To Instrument Send simulation data to instrument
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 Receive data over TCP/IP from specified remote machine
TCP/IP Send Send data over TCP/IP 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

Topics

Open Instrument Control Toolbox Block Library

Access the Instrument Control Toolbox block library in two ways.

Send and Receive Data Through Serial Port Loopback

Send data to a loopback device connected to your computer and read that data back into a model.

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.

Featured Examples