Products > Test Equipment

[Guide] Install Siglent EasyWaveX/EasyScopeX/EasyPower/EasyDMM on Linux via Wine

<< < (3/6) > >>

szszoke:

--- Quote from: tautech on May 11, 2021, 08:19:42 am ---
--- Quote from: szszoke on May 11, 2021, 08:00:43 am ---
--- Quote from: tautech on May 10, 2021, 10:45:02 pm ---With any of the Easy* SW that require NIVISA it's imperative NIVISA is installed before attempting to connect any instrument otherwise the OS can automatically assign a USB driver and it's never the correct one.

Attached is a little doc I prepared to assist should get you on the right track to ensure the USB driver is correct.
It's for EasyScope but the same principles apply and once the driver is correct and working with any of the Easy* SW it gives no further issues with any further Easy* SW installs.

--- End quote ---

Thanks!

I am not using Windows here though, nor USB. Everything is connected via ethernet.

I did try to install the driver your guide mentioned via this command (there is no Device Manager in WINE AFAIK):


--- Code: ---rundll32 setupapi.dll,InstallHinfSection DefaultInstall 128 ausbtmc.inf
--- End code ---

Nothing changed.

--- End quote ---
Yeah it's the USB driver.  :)
Dunno what to suggest for LAN other than the NIVISA LAN drivers are also required for Easy* SW to work.
Did you find a version of Runtime for Linux ? Maybe that can help.  :-//

Maybe LXI Tools will be an easier connectivity solution for you:
https://siglentna.com/application-note/lxi-tools/

--- End quote ---

I will do some experimenting inside a Windows VM without installing any NI-Visa stuff.

I will just copy the DLLs and see if it works.

I don't know what LAN drivers might be required. Everything is done through TCP sockets.

LXI tools cannot replace EasyWaveX sadly.

szszoke:

--- Quote from: nctnico on May 11, 2021, 11:20:27 am ---I'd skip Wine and use a virtual machine with Windows. Both Virtual box and Vmware have modes where you can run applications in their own window as if they run on the host machine itself. Getting Windows applications to run on Wine is finicky at best; it seems every application needs specific fixes/support in Wine. Both NIVisa and EasyWavex are NOT listed as applications that work on Wine.

--- End quote ---

Of course, that is an option but it is a hassle so I will try some more things before I go that route.

szszoke:
I did some testing with a fresh Windows 10 VM.

I installed EasyWaveX and I copied two DLLs into the installation directory: VISA32.dll and NiViSv32.dll

I get the same behavior as I do in WINE.

This is actually good! Now I can take this VM over my Windows 10 installation and try to find the differences. My hope is that if I can make EasyWaveX work in a VM without running the NI-VISA installer and just coping files/registry keys then that might help getting it to work under Wine.

szszoke:
I was able to get it working!

I randomly picked the 15.0 version of the NI VISA runtime from here: https://www.ni.com/sv-se/support/downloads/drivers/download.ni-visa.html#306106

I just went through the installer, I deselected every component but the Ethernet runtime and then started the installation process.

It did fail one step, the shared components, which I think contain the USB drivers, but I just pressed "Continue" and waited until the installer was done.

szszoke:
It is pretty late here and I have work tomorrow but in the upcoming days I will try to make a guide using a fresh Linux VM and post it here.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod