AnsweredAssumed Answered

Unable to read byteStream from 8164B

Question asked by JuanVillegas on May 16, 2019
Latest reply on May 17, 2019 by mkelly

Hey,

I am unable to read the binary stream from the 8164B after I send the "[:SOURce[n]][:CHANnel[m]:READout:DATA? llog" command using the GPIB interface from Matlab. I get the correct number of bytes but I cannot make sense of the data stream received. My gpib object in matlab is indeed configured to read in littleEndian. Is there any specific format that this data stream uses? Could you assist? (please note that I cannot use the instrument 816x VXI drivers).

 

After running a sweep between 1600 and 1601 with only one step this is the response I get from the command (in hex)

0b53b8ea36313223
7b989a493ebad7f3

(which is in double 4.2032e-254 and 2.3414e+287)

 

I have the same issue reading data from any other dataStream command I send to the instrument. I really appreciate your support.

 

I've uploaded the files I'm using in this repository (and are attached hereunder):

https://github.com/jevillegasd/Keysight816XSweep

 

Thanks!

 

Juan

Attachments

Outcomes