Products > Test Equipment
open source GPIB adapter
caiser01:
--- Quote from: alm on December 17, 2023, 04:58:02 pm ---What's the advantage of R&S VISA over PyVISA-py, which requires even less setup?
--- End quote ---
The xyphro adapter presents itself to PC as a USB device and in PyVISA-py, there are several VISA functions that are not implemented for USB. These include clear(), read_stb(), and assert_trigger() all of which can be necessary to take full advantage of an instrument's remote programming capabilities. read_stb(), assert_trigger(), and the various "event" functions in particular are often necessary to get the fastest possible communication with an instrument.
To install R&S VISA on the Pi on Linux, all I had to do was download it and run:
--- Code: ---sudo dpkg -i rsvisa_5.12.9_raspios_buster_arm64.deb
--- End code ---
Running the installer on Windows or Mac is pretty quick too, so I would argue the setup effort is minimal.
R&S VISA also provides the Tracer app, which is super handy for debugging. Just open it and start monitoring in the background while your own application is communicating with the instrument, and you can watch all the raw traffic between your application and the instrument. Great way to track down issues in your GPIB command sequences, especially for the quirkier instruments.
Nx-1997:
Well I finally decided to benchmark my GPIB adpaters since Xyphro released a new firmware. The results shows the capture time (s) for reading a waveform from my tek scope. The new firmware is much faster but not as fast as the Agilent 82357B. The AR488 is the slowest but also the only one not requiring any special drivers or software.
Full results discussion are here: https://github.com/xyphro/UsbGpib/discussions/47
caiser01:
I tested xyphro's new release candidate firmware today. Very solid so far. My instruments are old and slow enough that I'm not really seeing the improvements in read/write speed for data but I *did* see a speed improvement in reading the status byte. Reading the status byte of my HP3478A is 250ms faster with the new firmware than the old firmware :)
dazz1:
Hi
I have started to learn Python and Py VISA to write code to run my mostly ancient instruments with GPIB. I have already hit problems writing code that I am sure others have already solved. I have started a new thread here:
https://www.eevblog.com/forum/projects/problems-writing-code-for-gpib-py-visa/new/#new as a sort of mini-forum.
coromonadalix:
--- Quote from: caiser01 on December 20, 2023, 09:13:57 pm ---I tested xyphro's new release candidate firmware today. Very solid so far. My instruments are old and slow enough that I'm not really seeing the improvements in read/write speed for data but I *did* see a speed improvement in reading the status byte. Reading the status byte of my HP3478A is 250ms faster with the new firmware than the old firmware :)
--- End quote ---
at : https://github.com/xyphro/UsbGpib
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version