How can I resolve the issue of connecting my Rigol DL3031A to Simulink via TCP/IP when I've already successfully connected it to MATLAB?

1 view (last 30 days)
I would like to set up a communication session with the Rigol DL3031A via the TCP/IP Simulink block. I was able to connect my computer to the device with MATLAB; however, I am facing issues when trying to establish the connection through the Simulink model. Any assistance to resolve this issue would be highly appreciated.

Answers (1)

Ayush Anand
Ayush Anand on 26 Nov 2023
Hi Max,
I understand you are trying to setup a communication session with the Rigol DL3031A via TCP/IP Simulink block but are facing some issues. Here are a few general points you could check to try and resolve the same, focusing on “model parameters” and “model settings” in Simulink:
  1. TCP/IP Configuration: Make sure that your computer and the Rigol DL3031A are on the same network and verify their IP addresses
  2. Simulink Configuration: Check if the Simulink model and the TCP/IP Send or Receive block are added properly, and their parameters are set correctly.
  3. Block Configuration: Check if the TCP/IP Send or Receive block is setup to send or receive data in the format expected by the device (e.g., ASCII commands or binary data).
  4. Firewall and Security: Check your computer's firewall settings to ensure that they are not blocking the connection to the Rigol DL3031A.
I hope this helps!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!