Bun's Lab – Telegram
Bun's Lab
147 subscribers
1.81K photos
102 videos
63 files
49 links
Electronics projects, vintæg computing, programming and repairs. A minimalist blog of sorts.
@BunsGarden @BunsNook
Download Telegram
That is nice and all, except this documentation nowhere includes a documentation of this blob of binary data.
So after lots of digging I found something. This is what Siglent considers sufficient documentation for this data field.
It is part of a function called main_desc() meant to parse the data. However, there is an offset of 0x16 on the data coming from the device. Look what Siglent's engineer wrote here:
recv = sds.read_raw()[16:]
vdiv,ofst,interval,trdl,tdiv = main_desc(recv)

Yep, an offset of 16 bytes or 0x10! Of course all values came out as hot garbage. Jesus.
The engineering man hours that go into deciphering this garbage are probably worth more than buying a proper scope, like a Keysight. Too bad I'm not being paid.
It's 5pm, time for breakfast. Haven't eaten anything all day. The only thing I consumed was coffee, lol.
Actually, forget eating. Who needs food anyway? I pulled this thing out of the uni ewaste bin and never tried it out. Guess it's time.
After compiling and installing kernel modules and libraries from outside my repository (that's always fun), I get this.


Here is all the stuff needed:
https://gist.github.com/ochococo/8362414fff28fa593bc8f368ba94d46a#file-ni_gpib-usb-hs_pyvisa_ubuntu-md

https://github.com/fmhess/linux_gpib_firmware
When talking to this thing.
So a quick summary: The scope recognizes it's being talked to and I can see it on the PC side. However, I do not know which commands this even supports. This is probably pre SCPI standardization. I also do not know if the GPIB to USB adapter nor if the GPIB functionality of the scope work. So far I have not gotten it to react to any command or send any data to the PC.

I suppose this has to wait for now. Need to try with a different GPIB interface and maybe tap into it with the logic probes.
I need the PM8957A Communication Interface Manual
This media is not supported in your browser
VIEW IN TELEGRAM
up and down .. up and down .. up and down ..
Mouser things
Bun's Lab
Mouser things
THS 7316/7317 and 7374 video amplifiers. For another day.
This used to be 2,20€
This thing promises to be amazing.
Love how my 2018 scope can not only trigger on analoge video, but also a specific line