Error when running GUI as standalone!?

조회 수: 3 (최근 30일)
Georg Gamauf
Georg Gamauf 2016년 9월 21일
답변: Georg Gamauf 2016년 9월 27일
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
Georg Gamauf
Georg Gamauf 2016년 9월 21일
편집: Georg Gamauf 2016년 9월 21일
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!

댓글을 달려면 로그인하십시오.

채택된 답변

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by