How to prevent MATLAB and the Tektronix MSO56 from crashing while communicating?

Hi everyone,
I'm new to communication via Visa, so maybe it's a pretty silly question.
I'm trying to read live-measurement data and display it in figures.
As communication interface I'm using visa (usb).
Reading single sets of data works fine (using 'CURVE?') until I try to read it periodically with a timer-object.
After about 4 mins MATLAB as well as the oscilloscope crash. Error message:
'no binaryblock available to be read' or just something like 'visa I/O error'
I tried adjusting the timer period and changing the timer execution mode to 'fixedSpacing' but it doesn't help.
Has anyone encountered a similar issue and knows a solution?
Many thanks in advance

Risposte (1)

Hey Joshua,
I understand that you are encountering an error while trying to establish communication between MATLAB and Tektronix MSO56 using VISA as communication interface.
Please go through the following documentation links related to the VISA interface.
Hope this helps!

Categorie

Scopri di più su Instrument Control Toolbox in Centro assistenza e File Exchange

Risposto:

il 8 Gen 2024

Community Treasure Hunt

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

Start Hunting!

Translated by