florentbr / OWON-VDS1022

Unofficial release for the OWON VDS1022/I Oscilloscope
259 stars 45 forks source link

Can not connect to device #2

Closed meibye closed 4 years ago

meibye commented 4 years ago

Thanks for making this project.

I am working on installing "release 1.0.30-cf7" on Windows using the install-win.cmd. It have been necessary to make a small update to your script - adding the quotes around '%~dp0.'. The updated command below FOR %%I IN ("%~dp0.") DO SET THIS_DIR=%%~fI

This change is needed as the path for file names may contain spaces.

I can get the OWON application up and running but the application can not find the USB device. However, using the official application it works. Do you have any idea of what to look for?

florentbr commented 4 years ago

I noticed that the device doesn't connect on Windows 64bits when the installed Java is 32bits. Try this modified install-win.cmd and let me know if it fixes the issue.

meibye commented 4 years ago

Thanks Florent,

That did the job. It works.

I have only 2 error messages during install. These are related to the command given below. I do not know if it is required to use the dll’s which are part of the package.

D:\Michael\Owon oscilloskop\OWON-VDS1022-1.0.30-cf7>XCOPY /D /Y /C ".\lib\win\x86\msv*100.dll" "C:\WINDOWS\System32\" 1>NUL

Sharing violation

Sharing violation

From: Florent notifications@github.com Sent: 11. januar 2020 21:48 To: florentbr/OWON-VDS1022 OWON-VDS1022@noreply.github.com Cc: meibye michael@eibye.name; Author author@noreply.github.com Subject: Re: [florentbr/OWON-VDS1022] Can not connect to device (#2)

I noticed that the device doesn't connect on Windows 64bits when the installed Java is 32bits. Try this modified install-linux.sh https://textuploader.com/165tg and let me know if it fixes the issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/florentbr/OWON-VDS1022/issues/2?email_source=notifications&email_token=ABF64IHSCBL6NR4GQJAZ7J3Q5IV7TA5CNFSM4KFTYQUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWKZHA#issuecomment-573353116 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABF64IFVNKCFLU2ZFLFLAW3Q5IV7TANCNFSM4KFTYQUA . https://github.com/notifications/beacon/ABF64IHVNO2VG35QJE3XZTTQ5IV7TA5CNFSM4KFTYQUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIWKZHA.gif

florentbr commented 4 years ago

I have only 2 error messages during install. These are related to the command given below. I do not know if it is required to use the dll’s which are part of the package.

D:\Michael\Owon oscilloskop\OWON-VDS1022-1.0.30-cf7>XCOPY /D /Y /C ".\lib\win\x86\msv*100.dll" "C:\WINDOWS\System32\" 1>NUL

Sharing violation

You can ignore this error. It simply tries to add the Microsoft C Runtime Library in case it's missing. In your case, you already have it, but it is currently used by another process, thus it can't be updated with a more recent version.

florentbr commented 4 years ago

fixed in release 1.0.30-cf8