I'm trying to readout the current and voltage of a SM3300 series power supply from Delta Elektronika. It's connected through TCPIP (Ethernet cable) to my mac. I've already got the queries working on my terminal so I'm sure there is a connection and I can communicate with the device. Now i'm trying to make it work in Simulink in order to log the data at a higher frequency. However, when running the simulation. It wait for the whole simulation time (5s) and then returns an error like: "response from device is empty"
I suppose it has something to do with firewall settings not letting simulink establish outgoing connections. Unfortunately I do not know how to fix this. Can anyone help me out?
For the Query instrument block I use the following settings:
Block sample time: 1
Time out: 10
Buffer size: 512
Remote host: '169.254.0.2' (Same as what works from the terminal)
Instrument initialisation: "None"
Query Command 'meas:curr?'
Data Format: Binary
Precision: 16 bit integer
Byte Order: Little Endian
Binary values to read: 16
Response output after initial response:
Repeat query for new data