Timeout expired before operation completed

25 views (last 30 days)
g=visadev("GPIB::18::INSTR")
visadevlist and visadev are not supported on Linux.
writeline(g,"Display:Contrast")
data=readline(g)
Hello, I am currently trying to read and write to my PSA spectrum analyzer. visadev is successfully connecting it, but I writeline and readline, when added into my code, always get the "Timeout expired before operation completed" error message. I do not understand why this is not working and how I can fix it. Any advice is greatly apprectiated!
  1 Comment
LO
LO on 26 Aug 2024
Moved: Walter Roberson on 26 Aug 2024
I am having the same issue with writing data acquired through a PCIexpress National Instrument acquisition card.
The issue does not occur all the time. Just sometimes...
I am not sure this is a memory issue .
I am using the same scripts and routines as usual, no major changes to the system, HD space is not close to end...I have no idea... thank you for any tip

Sign in to comment.

Answers (1)

Andrei
Andrei on 22 Nov 2023
A couple of suggestions:
See also:

Community Treasure Hunt

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

Start Hunting!