Why does "readbinblock" function return incomplete data or crash MATLAB when reading large waveform data from a TCP/IP instrument using NI-VISA driver?
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Interface-Based Instrument Communication in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!