Clear Filters
Clear Filters

Error when running GUI as standalone!?

1 view (last 30 days)
Hello!
I created a GUI on my notebook (Acer Aspire E1-572G), which i use to analyze data (FFT, etc.) stored on my harddrive (previously taken measurements) as well as collecting new data from a Picoscope 4824 USB Oscilloscope. When i run the GUI in MatLab everything works fine on my notebook. Now i created a standalone "exe"-file using the Application Compiler. It also works fine when i run this on my notebook. As soon as i switch the other notebook (Dell Latitude): Loading data from the harddrive or USB drive and analyzing it works fine, but when i try to connect to the Picoscope 4824, an error occurs:
Error using icdevice/connect <line 112>
An error occured while executing the drive connect code.
Unit not supported.
Here are a few things that i already tried/learned:
*) First guess: It has something to do with the USB connection / power supply. It is interesting that the Picoscope 4824 doesn't work in the "Picoscope 6" software either. A window with a "warning"/"info" about power supply pops up.
My notebook supports USB 3.0, the other notebook only 2.0 and i have to use the included "double-USB"-cable, where "Data" and "Power" are seperated. I used both USB 2.0 ports on the noebook, but it didn't work. I even tried to change the cables between the two USB ports, but it didn't work. So i tried to connect the "Power" cable to an external power USB-hub, didn't work.
Does anyone has any other suggestions regarding the USB connection or any other ideas what causes the error?
Best wishes, Georg
  1 Comment
Georg Gamauf
Georg Gamauf on 21 Sep 2016
Edited: Georg Gamauf on 21 Sep 2016
In the meantime i can meausure using the Picoscope 6 software. I'm not sure why, but it works! But using my .exe it still doesn't. Both notebooks have win 64 bit!

Sign in to comment.

Accepted Answer

Georg Gamauf
Georg Gamauf on 27 Sep 2016
I was able to solve the problem with help from PicoTechnology support team: https://www.picotech.com/support/topic26481.html

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!