Why does "readbinblock" function return incomplete data or crash MATLAB when reading large waveform data from a TCP/IP instrument using NI-VISA driver?
古いコメントを表示
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.
採用された回答
その他の回答 (0 件)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!