04-17-2024 02:58 AM
I am getting the following message when I press Finish button in NI-VISA driver wizard: VISA error has occured that has prevented the driver from being installed on this computer. One reason for this error may be because you lack the proper priveleges to install this driver. You may need to log in as an administartor to complete this operation
This is my first attempt to use VISA. I would be gratefull for any help.
I would like to create an interface for an impedance meter based on Analog Devices AD5933EBZ evaluation board.
04-17-2024 03:05 AM
Hi Sergey,
@Sergey(PSU) wrote:
I would like to create an interface for an impedance meter based on Analog Devices AD5933EBZ evaluation board.
Which communication port and protocol is used?
(Do you really need the VISA Wizard?)
@Sergey(PSU) wrote:
I am getting the following message when I press Finish button in NI-VISA driver wizard: VISA error has occured that has prevented the driver from being installed on this computer. One reason for this error may be because you lack the proper priveleges to install this driver. You may need to log in as an administartor to complete this operation
Is the driver signed so Windows accepts it for installation?
04-17-2024 03:51 AM - edited 04-17-2024 03:52 AM
It is connected via USB port.
I can see the device in Device Manager but not in a Labview when I open for example in Visa Interactive control.
I am trying to use one of the tutorials to get it recognized.
Probably I am doing something unnecessary?
04-17-2024 04:01 AM
To sign the driver I need inf2Cat tool.
It does not exist on my PC. I have tried to download it from Microsoft but could not find version of Windows SDK corresponding to my OS.
04-17-2024 04:28 AM
Hi Sergey,
@Sergey(PSU) wrote:
It is connected via USB port. I can see the device in Device Manager…
How does it look like in DeviceManager? (Please share a screenshot…)
04-17-2024 04:36 AM - edited 04-17-2024 04:48 AM
Do you have an USB protocol description for that device? Without that, your use of the Instrument Driver Wizard to try to communicate with the device on USB Raw level is doomed anyways and just a waste of time. And even if you have a proper protocol description it is quite a different experience to develop a driver for such a device than other instrument communication over serial, GPIB or Ethernet connections. It is generally binary based and you need to deal with things like USB endpoints, Bulk and Interrupt transfers and if it uses isochronous transfers for high speed data transfer it is not possible, since VISA USB Raw does not support that at all.
The AD5933 chip itself uses an I2C interface. The Evaluation board then has some USB to I2C converter on board and this seems to be the Cypress Semiconductors CY7C68013 chip. That chip has an integrated 8051 microprocessor that can be loaded with its own firmware, so the actually used USB protocol is whatever the firmware (most likely from Analog Devices developed for this specific Evaluation board) implements. Most likely you won't be able to get the full protocol description from Analog Device, and without such a document, any attempt to develop a communication driver through VISA USB Raw is pretty much a waste of time. You would have to reverse engineer the protocol and reimplement it.
Instead you should probably use the software that comes with the Evaluation Kit. Maybe it is possible to interface to the DLL used in that software if you can find a document describing its interface.
04-17-2024 05:09 AM
That how it looks in Device Manager
04-17-2024 05:11 AM
I will take a look at what you have said. I really hope that documentation is good enough to get it working.
The colleague who gave me this board mentioned that in the past one of his students already created some application for it.