(Mostly) Working version for MacOS and Ubuntu

I was able to get the Alice Desktop and DC Meter/source apps working on MacOS and Ubuntu, with a few remaining - but manageable - quirks, and pack things up as a self-contained archive.

It's fully documented here:
https://canvas.ucdavis.edu/courses/475222/pages/setting-up-the-alice-software-suite-on-macos-and-ubuntu
including a "technical details" section, with the details of how it was built.

Hopefully some people will find this useful.

-Eric

    •  Analog Employees 
    on Aug 7, 2020 6:34 PM 3 months ago

    Eric:

    Thanks for putting this out where others can see it and benefit.

    The Python sources for the DC stand alone tools on GitHub, Voltmeter, Ohmmeter and Meter / Source (SMU) where compatible with just Python 2.7. I've over the last couple of days added code to import the correct external support package versions (mainly tKinter) for Python 3.7 and 2.7. I will probably commit the new source code versions to the repository over the weekend. There are still some unresolved issues getting the data logger and strip chart tools to run in Python 3.7 so those versions may not be posted.

    Anyway Thanks Again for sharing what you have done with the wider community.

    Doug

    •  Analog Employees 
    on Aug 7, 2020 6:53 PM 3 months ago

    A couple of quick observations on you excellent How-to write up:

    On this:

    "VERY IMPORTANT: the first time you open the program, immediately click "Exit" (not "X"!).  This will create the initial configuration file.  For reasons not fully understood, failure to do this could leave the system in a bad state."

    Not sure why (might be the way Mac OSX main menus work vs other OS) this would be different. I've been doing some research on the quirks of OSX and it seems it is the responsibility of the application developer to write their own replacement main main menus. While this could be added to the code it will take some time and effort to get up that learning curve.

    "When starting the program, don't assume the check marks in the pull down menus on the AWG window reflect the current selections.  Always re-select your choices!"

    I've added a line to the AWG controls that shows the current waveform shape as an aid to reminding the user which waveform is being produced. This was something low down on the to-do list that got bumped up based on feedback. This change will appear in the next official release.

    •  Analog Employees 
    on Aug 14, 2020 5:04 PM 3 months ago

    Hi:

    While this Hack on a non-ADI controlled web site is certainly a workaround while we at Analog get things better sorted out...

    This is dangerous and we don't recommend going down that path because it will freeze users out of any future changes / bug fixes that ADI might implement in the future. As a matter of fact I just posted a new release of ALICE with extensive and specific changes for Linux (that might also cross over to OSX) this morning see ALICE 1.3.8.

    Doug

  • Hi Doug,

    I have a student who is trying to install it on a MAC (high sierra) to test for the upcoming semester.  Here you talk about changes for Linus.  Is a version that works easily on MAC high Sierra now available?  If so, can you point me to the instructions?

    •  Analog Employees 
    on Aug 18, 2020 2:03 AM 3 months ago in reply to Sarah Eno

    ALICE is written in Python and has been tested to run without serious problems on 2.7, 3.6, 3.7 and 3.8 (3.8 has the most "issues") and is OS independent to the extent Python (with tkinter and numpy packages installed) is OS independent.

    The problems arise when installing the underlying libsmu library and it's Python bindings. I'm only a user of libsmu and do not have direct experience supporting libsmu.

    I personally have only tested the Linux install process as I only have access to Linux through VM.

    In theory libsmu can be compiled from source as long as all it's build dependencies as also installed ( I have no direct experience doing this other than on a Raspberry Pi in the past). Steps are outlined in the readme file on GitHub. These I understand have become somewhat outdated. The libsmu developers have provided two mac os installer packages for libsmu:

    libsmu-1.0.2-darwin-10.13.6.pkg

    libsmu-1.0.2-darwin-10.14.4.pkg

    But only libsmu as I understand it so the Python bindings still need to be built / installed manually. I have heard of someone (outside ADI) being able to install these packages (not sure what flavor of mac os) but was unable to build the Python bindings last I heard.

    That is the extent of any help I can provide at this time.