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 reference, here is the old .NET application:

You will need the latest .NET framework from Microsoft to be able to execute the program. Notice that there is a different driver for Windows XP.

Old Xprotolab hardware version 1.4 and 1.5 don't have USB, so you need the UART to USB cable for connection to the PC.

pc-wave cd cd code-icon
.NET Application XP USB Driver USB Driver Code

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 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
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.
Please login to post comments or replies.
Last Updated on Wednesday, 30 April 2014 03:31  




Shopping Cart

Your Cart is currently empty.

Featured Products

XMEGA Xprotolab
XMEGA Xprotolab


Your platform allows me to adapt rather than starting from scratch. Thanks for a beautiful machine,
Tom Oliver

Official PayPal Seal