Test and Measurement Forum

Latest mono version breaks picoscope

Discussion forum for the new Picoscope Linux software

Latest mono version breaks picoscope

Postby johe_dk » Fri Dec 04, 2015 6:08 am

Hi
This might be a general issue. Picoscope version 6.11.8.10 does not work with the latest mono version (4.2.1). After reverting to mono version 3.2.8 picoscope works again.

Symptoms: Picoscope does not detect the hardware. Only the demo device is available. Both usbtest and the ps3000con programs still works fine.

Tested on Linux mint mate ver. 17.1 Rebecca, picoscope version 6.11.8.10 and model 3205 hardware.
johe_dk
Newbie
 
Posts: 0
Joined: Wed Dec 02, 2015 4:11 pm

Re: Latest mono version breaks picoscope

Postby mario_ » Fri Dec 04, 2015 9:34 am

Hi johe,

Thanks for letting us know. This has been already discovered with mono 4.2.1 running on mac os x, identified as affecting only this platform... The workaround implemented and released last week works, but it wasn't included in Linux release. It will have to wait for the next PicoScope release round I'm afraid (possibly Feb/March next year)

In mean time I advise to not use version advertised on mono-download website (4.2.1 / 4.3.0) and stick to system provided ones (most ubuntu clones will use 3.2.8 ).

Mario
mario_
Site Admin
Site Admin
 
Posts: 112
Joined: Fri Sep 13, 2013 12:57 pm

Re: Latest mono version breaks picoscope

Postby johe_dk » Fri Dec 04, 2015 10:32 am

Ok I'm looking forward to a solution.
In mean time I advise to not use version advertised on mono-download website (4.2.1 / 4.3.0) and stick to system provided ones (most ubuntu clones will use 3.2.8 ).

Unfortunately that is not an option for me. I'm depending on the newer version of mono for other stuff on my PC.
Best regards.
Jorgen
johe_dk
Newbie
 
Posts: 0
Joined: Wed Dec 02, 2015 4:11 pm

Re: Latest mono version breaks picoscope

Postby mario_ » Fri Dec 04, 2015 11:42 am

Hi Jorgen,

Another thing to try in this case is to compile older version yourself and install it under different location. Then change /opt/picoscope/bin/picoscope script to use that version - modify MONOCMD variable acquisition to fixed value with new location in it.


Mario
mario_
Site Admin
Site Admin
 
Posts: 112
Joined: Fri Sep 13, 2013 12:57 pm

Re: Latest mono version breaks picoscope

Postby iq2luc » Wed Feb 03, 2016 5:44 pm

Hi,

I confirm building mono 3.12.1 and gtk-sharp 2.12.29 solves the issue and picoscope application works just fine.
I'm on Arch Linux (where the default system-wide mono package is at version 4.2.2).

There is no need to downgrade the system packages: just configure, build and install the above two packages with another prefix (i.e. /opt/picoenv). Also don't forget to modify the official picoscope shell script: MONO_CMD=/opt/picoenv/bin/mono.

This way the system will continue to use the default system-wide mono and gtk-sharp packages, while picoscope will use the custom built ones.

Thanks,
Luc
iq2luc
Newbie
 
Posts: 0
Joined: Wed Feb 03, 2016 5:34 pm

Re: Latest mono version breaks picoscope

Postby gaffer206 » Thu Feb 04, 2016 5:04 am

Thanks Luc, I'm trying this. On https://github.com/mono/gtk-sharp/releases I see 2.12.25 and 2.12.99.3. No mention of 2.12.29.

Julian
gaffer206
Newbie
 
Posts: 0
Joined: Thu Feb 04, 2016 4:33 am

Re: Latest mono version breaks picoscope

Postby iq2luc » Thu Feb 04, 2016 12:09 pm

Hi Julian,

We need gtk-sharp for GTK2.

Here are the links I used for getting the needed sources:

If you're on Arch Linux, I can send you my PKGBUILDs or even the prebuilt binaries for all needed packages (picoscope, libicoipp, libps6000, mono3 and gtk-sharp-2).

By the way, I'm a very happy 6402D user.

Take care,
Luc
iq2luc
Newbie
 
Posts: 0
Joined: Wed Feb 03, 2016 5:34 pm


Return to PicoScope for Linux

Who is online

Users browsing this forum: No registered users and 0 guests