Direkte Schnittstellenkommunikation in Simulink
Daten in Simulink®-Modellen senden und empfangen
Der Instrument Control Toolbox™ stellt Blöcke für die Kommunikation mit Instrumenten und die Nutzung der seriellen, TCP/IP- und UDP-Schnittstellen in Simulink bereit. Die Blöcke der Instrument Control Toolbox Blockbibliothek und Beispiele für deren Verwendung sind unten aufgeführt.
Blöcke
| 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 | Daten über das TCP/IP-Netzwerk von einem angegebenen Remote-Rechner empfangen |
| 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 (Seit R2023b) |
Themen
- 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-Schnittstellenmodellen
Ermitteln Sie die Blockausführungshäufigkeit und setzen Sie sie in Bezug zur realen Zeit.






