Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Driver for DG5101

Solved!
Go to solution
The wizard has help.

The dll you need to import is the IVI driver you got from rigol.

Writing your own driver is really not that difficult. You start by studying the manual for the instrument and then follow the directions on the main IDN page.

0 Kudos
Message 11 of 26
(2,289 Views)

I thought it was easier to use the IVI driver as the manufacturer had created to facilitate the task. The idea was to use the examples of the other models changing Close and Initialize VI, but for that I need to have these VI in tools palette.

0 Kudos
Message 12 of 26
(2,285 Views)
I cant look at the VIs for the other model now since I an posting from my phone.

There is no 'Tools' palette and as I already said, you won't have any VIs from the IVI driver until you use the import wizard. And, as I already said, you won't be able to modify the code for the IVI driver. It is a DLL and the source code for that is in c. And, as I already said, you can use the IVI class driver functions once you install the compliance package. Those functions will appear on the Instrument I/O palette and you do not need to run the DLL import wizard to use the class functions. Please read about IVI. Search the NI site or google it. IVI is a cross-platform instrument driver standard that has been around for about 15 years.
0 Kudos
Message 13 of 26
(2,279 Views)

It's weird because i just installed the IVI driver for tktds7x4 (or downloaded from website) and works fine. But doing the same process With The IVI driver downloaded from Rigol site it does not work. What do you think is the problem?

I have installed the compliance package and I can see the functions.

0 Kudos
Message 14 of 26
(2,275 Views)
The IVI driver for the tek device includes the LabVIEW wrapper VIs to the dll. The rigol one does not. The rigol instructions you posted made that very clear. I have also made it clear about the dll import wizard. Either do it or not. I've answered your questions about the driver you got but it does not seem you are listening.
0 Kudos
Message 15 of 26
(2,272 Views)

Sorry, I read with interest all your posts for real. But I do not know how to do the dll import. If possible I would like you to tell me how?

0 Kudos
Message 16 of 26
(2,267 Views)
Select it from the menu. Follow the directions. Basically, you first select the dll and then the .h file.
0 Kudos
Message 17 of 26
(2,266 Views)

What menu? I have not a dll file or ant .h file. I only have a .msi file.

0 Kudos
Message 18 of 26
(2,263 Views)
Tools> Import

The msi file is a microsoft windows installer file. Run it.
0 Kudos
Message 19 of 26
(2,252 Views)

Ok I ran the msi file. This results in Program Files (x86) \ IVI Foundation \ IVI \ Drivers two files (a file .fp and other one .sub) in a directory.

When I acces to Tools> Import > Shared Library (.dll) I need to find a dll file and another .h as you said above. Where I can find these dll and .h files?

0 Kudos
Message 20 of 26
(2,248 Views)