05-24-2019 09:10 AM
Hello everybody,
I searched the internet and all across the NI community but I can't find any help for my problem
First of all, this is my configuration :
-Windows 7 64 bits
-NI-MAX V 15
I am trying to add a new virtual device in NISE. I want to control the device with a IVISWTCH-Compliant driver I developped using the Labwindows/CVI iviswitch-compliant driver generation wizard. The name of the driver I developped is MAIVISWTCH.I cannot export my MAX conf for privacy reasons, but I made screen shots.
I created a new instrument driver in NIMAX as shown in attachement named SC4.png (NOTE : I selected the dlls with the "browse option", thus the files do exist.
I created a new IVI logical name TESTIVISWTCH as shown in attachement named SC1.png
I created a new driverSession named driverTestIVISWTCH as shown in attachements named SC2 / SC3
Then I right click on NISE virtual devices and select "create new" and I create a new virtual device, adding only the newly created "TESTIVISWITCH" as shown in attahcement SC5.png
the problem occurs when I click on "next" ("suivant" in french) : I get the error in attachement SC6.png
Can anyone help me please ?
Thank you !
05-29-2019 10:33 AM
Hi Francois,
Have you seen the bellow forum post and documents? If not can you try and let us know if it solves your issue?
Using 3rd Party IVI Compliant Switches with Switch Executive
Have a nice day
M-Junior
06-03-2019 02:44 AM
I think I found out the problem, but there is no obvious way to solve it for me.
I think that even on a 64bits system, the 32 bits driver is mandatory because NISE is a 32 bits executable, even when installing it on a 64bits system. So I think that even on a 64 bits system, NISE is using 32 bits instrument driver dlls.
I found this out the folowing way :
- I generated a 32 bits driver using the wizard on a 32 bits computer. The 32 bits driver is just a skeleton.
- I copied/pasted it on my 64 bits system
- I put the path of the 32 bits driver dll in the proper field of the "instrument driver configuration" section in NI-MAX
- I can create a new virtual device in NISE
If I replace my 32 dll file by my 64bits dll file on my disk, and change my NI-MAX configuration accordingly, I have the "file not found" error again.
So, my question is the following :
Are 32 bits dlls mandatory on 64 bits systems when trying to use NISE ? For many reasons, I cannot generate the low layer software that communicates with my switch in 32bits.