Truncated data when reading large GPIB arrays (e.g., SCPI MEAS:ARR?) #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Current impl of
gpib_receiveis unable to handle large data payloads from instruments (like Agilent PSUs) that return large ASCII or bin arrays. When a command likeMEAS:ARR:CURR?is sent (returning many points), the interface only returns the first few hundred bytes and then stops...This is because
io.raw_data bufferis limited to 256 bytes inapp_scratchpad_tand then we untalkgpib_write_byte(GPIB_CMD_UNT, 0)the instrument when our 256 buf is full. We should probably stream the data directly to usb inprocess_commanddo_read_operationblock (just push tousb_tx_bufferring buffer).