Waveform acquired from Keysight DSOX1204A using VISA block in Simulink is not proper

6 visualizzazioni (ultimi 30 giorni)
I want to get waveform in real time from my scope (Keysight DSOX1204A) . So, I used this example block available which is actually made for reading waveform data from this particular oscilloscope, but when I used, it didn't acquire the data properly i.e. when I gave a DC voltage of 0.72 V it measured -66 V and when I gave 0.25 V it measured -36 V. I doubt whether the scaling & offsets are considered. Changing Binary Data Size didn't worked (like changing int8 to int16 or any other).
If so how can I format this binary data ? (In Simulink)

Risposte (1)

Satwik
Satwik il 22 Lug 2025
I understand that you were able to connect to your Keysight DSO-X 1204A Oscilloscope, but you are facing issues while reading data and are concerned about the scaling.
To adjust the scaling and properly format the binary data, I recommend using the VISA Explorer app. It provides a user interface to connect to and communicate with instruments over VISA. Please refer to the following MathWorks documentation for detailed information on the VISA Explorer app:
The 'Examples' section of the above documentation includes a video demonstrating how to read waveform data from a Keysight DSO-X 1204A Oscilloscope using VISA Explorer:
I hope this helps!

Community Treasure Hunt

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

Start Hunting!

Translated by