Why does "readbinblock" function return incomplete data or crash MATLAB when reading large waveform data from a TCP/IP instrument using NI-VISA driver?
Afficher commentaires plus anciens
When reading large chunks of data from an instrument over a TCP/IP VISA connection (for example, a VXI-11 resource such as TCPIP0::<IP-address>::inst0::INSTR), readbinblock or read function execution does not complete successfully and I see one of the following problems:
- The readbinblock or read function errors with VI_ERROR_TMO timeout and returns fewer bytes than expected.
- MATLAB crashes during the read operation.
I see this issue only with the NI-VISA driver, and the same operation works fine when working with a different VISA driver.
Réponse acceptée
Plus de réponses (0)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!