When [kiwih] picked up an Agilent 54621A scope, he was amused that it had a floppy disk. At one time, it was high-tech to make use of a disk to switch scope knowledge to your pc. In the present day, not a lot. Nevertheless, on the again was a serial port. Certainly it was attainable to learn knowledge from there. It’s, and what outcomes is a pleasant walkthrough of discovering the port’s data and interfacing with it utilizing Python.
Usually, you’d use the included BenchLinkXL software program to seize knowledge from the port, however that software program is so outdated it might not run below Home windows 10 or Wine. Looking out didn’t flip up a lot on the serial port, but it surely did find a guide for the same Agilent scope. That guide wasn’t too useful because it assumed you had been connecting by way of a LAN or USB. Nevertheless, it did make reference to an older mannequin that was additionally related and that was the important thing to discovering a guide that did clarify the serial port protocol.
The command set appears to be like suspiciously like SCPI — Normal Instructions for Programmable Devices — which is a layer on high of the GPIB protocol. Many scopes converse that language, in order that’s not shocking. That additionally means if you’re within the temper to speak with an SCPI scope, you may discover the code helpful, even for those who don’t use a serial port or have this precise Agilent mannequin.
SCPI has a number of makes use of. For instance, attempt speaking to your scope. A budget Rigol and related scopes normally have SCPI and you’ll management and browse them utilizing the identical sort of methods.