|
| From: | John Donoghue |
| Subject: | [Octave-bug-tracker] [bug #58252] [octave forge] (instrument-control) ustmc_read() does not read all the waveform data from oscilloscope |
| Date: | Mon, 27 Apr 2020 07:24:06 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0 |
Follow-up Comment #1, bug #58252 (project octave):
The code hasnt changed for usbtmc for a long time, so it probally isnt changes
for instrument control that causing your issues.
The class effectively just passes to an reads from the device with the only
interaction being that it converts to / fom octave types.
So what is the output from
usbtmc_write(scope,':WAV:PRE?') read?
And few others:
:WAVeform?
:ACQuire:POINts?
:WAVeform:FORMat?
Whats the output data from
usbtmc_write(scope,':WAV:DATA?') read when it returns only 2 bytes?
>From the response header for WAV:DATA "#800107519", that would be 1 million
bytes for the wave data - what size where you trying to read in ?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58252>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |