Home Product Articles XScopes PC Interface

XScopes PC Interface


Mac OS linux debian linux rpm Windows Package cd qt code forum
Mac OS Ubuntu /
Fedora /
Windows WinUSB Driver Code Forums

This software is used to interface to Gabotronics' line of oscilloscopes (Xprotolab / Xminilab). The PC interface has been rewritten in the Qt framefork so it can be multiplatform. This is the FIRST RELEASE of the software, meaning that it may have many bugs. Please report bugs in GitHub.

This application is open source, so everyone is encouraged to improve it.

For Windows, you will need to install the WinUSB drivers using the ZADIG tool.

XScopes QT program

For USB connectivity, you will need:

  1. USB capable device, such as the Xminilab HW 2.0, or Xprotolab HW 1.7.
  2. Update the the device with the latest firmware.
  3. Connect the USB device and install the USB Driver. I currently don't have a digital signature from a certificate authority, so you will get a big red warning when installing the driver. Trust me, the driver is just WINUSB with my own .inf file.

This application is open source, so that anyone can port it to another OS, or perhaps just use the source for a similar project.

Thanks to Murray Lindeblom for his contribution on the WINUSB drivers.

Thanks to Scott McCain for his contribution for a modern UI remake of the .NET application.


avatar carlos1w
Please make one for MAC too! Thanks!!!
avatar carlos1w
Just tried and the application opens (win xp), but does not do anything (just as you said). Do you know when this will be working? When it does, please email us. Thank you for a wonderful little oscilloscope!
avatar dak664
That link above is for net framework 2.0; the program reports it needs .NET 4.something. Here is the correct link:

Works on my XP after getting over some initial strangeness probably due to changing too many controls too fast. Updates surprising fast, 1 per second for dual channel display. I connected through my own level shifters to serial COM1, don't have a UART USB cable.
avatar fitimollas
avatar Koen_Schram
Doesn't seem to work under Wine. Is there a Linux version available ? Java ?
avatar wiebel
it's .net maybe you should try mono
avatar Koen_Schram
I did try mono but was not able to get it to work. Even getting the USB communication getting to work in Linux is not documented.
avatar Koen_Schram
In the mean time, things did evolve. I can pull the application from github, compile it, apply the usbfix.sh patch... But it's still not possible to connect the device to the application. When opening the options tab and click on connect, nothing seems to happen and a line with "cannot open device" is printed on the command line.
avatar Koen_Schram
It's working under Fedora 20.
I didn't realize that I was still using old firmware without USB support. So I had to upgrade the firmware.
According to "http://www.stderr.nl/?-tags=" I had to manually install version 6.1 of avrdude (previous versions) (including some dev libraries) and upgraded the firmware :
/usr/local/src/avrdude-6.1/avrdude -c flip2 -p x32a4u -U application:w:xminilab.hex:i
/usr/local/src/avrdude-6.1/avrdude -c flip2 -p x32a4u -U eep:w:xminilab.eep:i
avatar matthias63
Hello, I have windows vista and I don't know how install the USB driver. Please, can someone help me ?
avatar carlos1w
Hi Gabo. Nice job with the new devices (thank you, I did get the ones updated). Trying to install the usb driver while on Win7 I get "invalid parameter". Any idea?
avatar slab
Hello! My lab recently ordered your XMEGA Xprotolab -- the version. We are very excited to use it.

I am having trouble connecting it to my computer. I downloaded the latest Windows Net 4 program. The PC user interface works as well. However, when I use a microusb to connect the protolab to the computer and press "connect" on the PC user interface, it doesn't seem to connect and gives "error" in the firmware box below. Do you have any suggestions? I really want this to work because of how good of a device this is!
avatar jody
HI Gabo,

Amazing unit ! could you please let us know when the next version of pc software is going to be availible? really got a big project and need the logic analizer to interface with my PC
avatar evanvenn
Can I use the application to show the I2C display? Can I download the data?
avatar ganzziani
I am currently working on the PC application and there will be an update in about a month.
avatar jdinsmore
You might consider offering the cable to connect from the XprotoLab portable to a phone or tablet, like this USB OTG CABLE - FEMALE A TO MICRO A (some tablets might use mini instead)

avatar jody
Hi Ganzziani

Any news on on the pc interface software update?

Best Regards


avatar ganzziani
Hi Jody. I'm halfway there. The code is available here: https://github.com/ganzziani/xscopes-qt" rel="nofollow" target="_blank">https://github.com/ganzziani/xscopes-qt You can compile it with QT. I should be distributing executables in a few weeks.
avatar jody
Hi ganzziani

Could you give us an update on the PC Software update?

Best Regards

avatar ganzziani
Here it is. Rev Linux and Mac binaries to be created soon.
avatar ed3203
Hi, having a little trouble thought I would share:
Updated xmega xprotolab to v2.25 firmware via usb AVR flip program. Installed (i think correctly via zadig software) the usb driver to connect via microusb to win7 64 machine. Xprotolab shows in device manager under universal serial bus devices as XScope, it does not seem to have an associated COM port listed in properties.
Load the compiled .net interface, clicked options tab and couldn't connect as no com port associated with XScope. I suspect I haven't installed the correct driver. Any recommendations?
avatar ganzziani
The .NET interface is old. Did you try the QT interface? Downloads are at the top of this page.
avatar ed3203
Amazing, thankyou very much, everything working. I will spread the good word, great product. :)
avatar rootScript
Hello, Are the MAC binaries available please?
I cannot find a download link on this page.
avatar jdinsmore
The binary does not seem to work on Ubuntu Linux; please find a Linux expert and fill in the gaps; this could be an amazingly popular product at your prices; but without functioning code it is useless for Linux people. Even better, make it work with the Raspberry Pi and you will sell a million of them!
avatar ganzziani
Can you describe the problem in the forums?
avatar jdinsmore
Sorry-I did not install it properly. In case anyone else has trouble; please note how to do in Ubuntu Linux:
extract compressed download
navigate to extracted folder
double-click the appropriate .deb file to install
type command line $sudo sh usbfix.sh (followed by your user name)
it works, it works it works! YAAAAAAAAAAAAAAAAAAAA!
avatar NeilAHiggins
I am having trouble installing the interface on Ubuntu12.04.4LTS. The Debian installer insists that I have a broken dependency with usblib "usblib-1.0-0 (>=2:1.0.12-2)." I have updated usblib using Synaptic and have also built it from the usblib site, but still no joy. I don't know how to check the installed version - but it should be ok. Any ideas? TIA. Neil
avatar ganzziani
Can you describe the problem in the forums?
avatar adnan
You should uninstall all usblib related packages using synaptic and then try reinstalling the xscope. Xscope deb package will automatically then download and install the correct packages.
avatar NeilAHiggins
The behaviour is as I described in quotes - except that I had typed "usblib" instead of "libusb". In other words (my interpretation) the deb package installer thinks I have an outdated version of the libusb library. I am reluctant to just remove the existing libusb 1.0 because -lots- of other things depend on it - they would be removed as well.
avatar adnan
If you don't want to upgrade your libusb you can simply extract the xscope debian package and run the binary in the bin directory of extracted folder. Make sure you run usbfix.sh bash script to fix usb permissions to allow running the binary without root.
avatar barasax
Has anyone managed to get a MAC version of the interface software up and running yet. I'd be eternally grateful if someone could upload a binary.
avatar 42_red_herrings
I got Xscopes working on my Macs. A standalone app is here: http://s3.sdfeu.org/xscope.app.zip . It's working for me on Mavericks and Mountain Lion; I did by best to include all the necessary libraries into the app, but I may have missed something, so let me know if the app doesn't work.

If anyone wants to compile it themselves, here's what I did:
1) get homebrew http://brew.sh/ and Apple's developer tools (homebrew should give you instructions if you don't have them)
2) install qt and libusb: brew install qt libusb
3) get xscopes' sources: git clone https://github.com/ganzziani/xscopes-qt.git
4) change into the cloned dir: cd xscopes-qt
5) fix linking info: edit 'XprotolabInterface.pro', find the line which looks like "unix:!macx:!symbian: LIBS += -lusb-1.0" (near the end) and delete ":!macx", so that it looks like "unix:!symbian: LIBS += -lusb-1.0"
6) compile: qmake && make
7) now you should have a newly created 'xscope.app' in your directory. Note that it links to brew's qt and libusb, so it will only work on your computer. To make it really 'standalone', there's more fiddling required to get the libraries into the app itself.

avatar ganzziani
Thanks! I'll add a link to this on the top of the page.
avatar barasax
Your binary didn't work for me (don't know why for sure but I am still on Snow Leopard, 10.6.8). The build instructions were however perfect. Making qt took a couple of hours but it all went smoothly and I'm now up and running. Many thanks.
avatar 42_red_herrings
@barasax: Sorry to hear the app didn't work. I don't have access to anything older than Mountain Lion, so I can't test on older systems. [My impression is that there have been some changes/updates to the basic system libraries that the app and qt link to (not backwards compatible) since Snow Leopard.]

@ganzziani: Thanks for including the app on top! Feel free to let me know if you'd get some issues with that reported, and also if you'd want me to compile newer versions.
avatar CharlesHaynes
Fabulous work! Thanks so much. Works a treat.

Noticed one small problem with the UI - in Oscilliscope mode, under "Vertical" the tabs for "FFT" and "REF" are clipped on my machine (Macbook Pro 13" Retina 2014)

Screenshot: https://drive.google.com/file/d/0B_oayye0KbyZSkdzMFZBVXVmZ0k/edit?usp=sharing" rel="nofollow" target="_blank">https://drive.google.com/file/d/0B_oayye0KbyZSkdzMFZBVXVmZ0k/edit?usp=sharing
avatar CharlesHaynes
Forgot to add, I'm downloading the source now, I'll take a look. I suspect a Qt issue.

Thanks again!
avatar mrh1
Hi ganzziani

I have successfully been using my Xminilab with your interface on a laptop running Windows 8.1 - it really works extremely well, thanks! However, I am now trying to install the interface on a second laptop running Windows 7. I have used the Zadig tool to install the driver and this appears to work but it shows up in Device Manager as "Xscope" under USB devices. The problem is that the interface is looking to connect to a COM port which is different. I did not have this problem on my other machine and I am now at a loss as to how to proceed. Any advice would be very much appreciated.
avatar mrh1

Just realised the query above should have been posted on the appropriate forum. I will repost there.
avatar profor
the same issue as mrh on W7 64bit, shows Xscope under device manager and no additional COM port.
avatar ganzziani
The device will not show up as a COM port.
avatar psensini
Hi Ganzziani,
I put Xmega/Xprotolab in a box, soldering standard switches to the micros on the PCB, making some circuital extensions and, at the end, it all works on the mini Oled. I wasºtrying to connect to the windows application. Firmware is 2.25, app is the last Qt one, I tried with all drivers you put on your site and with the last version of Zadig. The tests were made on a seven 64 bit and on a XP 32 bit computer... always the same result: unknown device. And obviously Qt app remains waiting for a com port in the option tab without being able to connect. Is it possible that I exchanged data wires on the usb connection? Indeed I soldered also this one to make possible the boxing and, as long as I know, data wires are not ordered wires. Are they? Am I wrong? I need the scope to work on I2C buses and also as a sniffer but using the Oled it's impossible. May you help me? Could it be a problem of wire??

Thx in advance for your patient and I excuse myself if these question had to be posted in the forum area... sincerely I don't know.

avatar ganzziani
So you bought the kit to build yourself? Can you please post on the forums some pictures? Have you tried the Zadig XP drivers?
avatar adrian
Hola que bueno el upgrade de la nueva interface para windows, encontre un pequeño error, en los cursores verticales, para un AT=18.75 seg el 1/AT=53.33 hz, esto esta equivocado!, debe dar 5,333 hz, es una pequeña correccion en el programa.
Gracias por todo!
avatar greenman711
I am having nothing but trouble with the interface running under XP, tried different computer but is the same. Will act ok sometimes for a while then if you change a tab and come back the display is missing or off the top or switched to another channel. The markers are gone or misplaced. Anyway to clear it you have to shut the interface down and restart and it will be back where it should be. So the board did not change?? Any Ideas would be appreciated. I want this to work for me, I have never had it run long enough to sniff with it.
avatar ganzziani
Hi! What version of the software are you running?
Another option, if you have time, perhaps you could install Qt and compile the code on your computer.
avatar jdinsmore
I noticed that your interface SW download for Linux / Ubuntu is very different than that of a year ago. Lucky I saved the old download because it still works on my new computer; the new download does not have a .deb install package, so I do not know what to do to install it. Any guidance?


avatar jakee
Having same problem. I'm just looking to run a precompiled version of the software and can't seem to find a single working solution for the Linux/Ubuntu platform. Can you direct me to the old software package so I can at least use that?
avatar patbob
In case anyone is interested, I got xscopes (v1.1.0.0) and the driver to run on Win 8.1 32-bit, but not without a few minor hiccups:
* The USB driver linked from the gabotronics site (v2.0.1.162) wouldn't install under Win 8.1. I had to go to zadig.akeo.ie to get the vista-and-later driver (v2.1.2), then run the installer twice -- once to install the WCID driver, then again to install the "driver". Until both were done, it didn't show up as an xscopes USB device.
* XScopes application installed just fine, but said MSVCP100.dll was missing when run. That's from the MS Visual C++ 2010 redistributable package, so a quick trip to microsoft.com to get and install that allowed xscopes to run.
Success :D
avatar cems
How do i get this to work on windows 10? I can't get the Zadig tool to install. the xscopse software loads but the result is unresponsive.
avatar Statik
Hi all,
Just received my XProtolab Plain yesterday and I've been using it successfully in Linux Mint 18.1. Everything in the software works great. I do have one question:
How do you determine the frequency of the peaks in FFT display?
avatar Statik
Hi all,
Just received my XProtolab Plain yesterday and I've been using it successfully in Linux Mint 18.1. Everything in the software works great. I do have one question:
How do you determine the frequency of the peaks in FFT display?
Please login to post comments or replies.
Last Updated on Thursday, 03 November 2016 23:32  




Shopping Cart

Your Cart is currently empty.

Featured Products

XMEGA Xprotolab
XMEGA Xprotolab


You should get a Nobel Prize for the Xprotolab.  Way cool.  So happy I chose this scope.

Chuck Linskens
CRL Engineering

Official PayPal Seal