- Documentation related to communication with instruments that support the VISA standard: https://www.mathworks.com/help/instrument/visa-interface.html
- Example for writing and reading Binary Data using VISA: https://www.mathworks.com/help/instrument/reading-and-writing-binary-data-using-visa.html
How to prevent MATLAB and the Tektronix MSO56 from crashing while communicating?
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Himanshu
2024-1-8
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!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!