Error when running GUI as standalone!?

3 visualizaciones (últimos 30 días)
Georg Gamauf
Georg Gamauf el 21 de Sept. de 2016
Respondida: Georg Gamauf el 27 de Sept. de 2016
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 comentario
Georg Gamauf
Georg Gamauf el 21 de Sept. de 2016
Editada: Georg Gamauf el 21 de Sept. de 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!

Iniciar sesión para comentar.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by