Instrument Control (GPIB, Serial, VISA, IVI)

取消
显示结果 
搜索替代 
您的意思是: 

LabVIEW Driver for DG5101

已解决!
转到解答
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 项奖励
11 条消息(共 26 条)
2,449 次查看

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 项奖励
12 条消息(共 26 条)
2,445 次查看
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 项奖励
13 条消息(共 26 条)
2,439 次查看

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 项奖励
14 条消息(共 26 条)
2,435 次查看
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 项奖励
15 条消息(共 26 条)
2,432 次查看

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 项奖励
16 条消息(共 26 条)
2,427 次查看
Select it from the menu. Follow the directions. Basically, you first select the dll and then the .h file.
0 项奖励
17 条消息(共 26 条)
2,426 次查看

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

0 项奖励
18 条消息(共 26 条)
2,423 次查看
Tools> Import

The msi file is a microsoft windows installer file. Run it.
0 项奖励
19 条消息(共 26 条)
2,412 次查看

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 项奖励
20 条消息(共 26 条)
2,408 次查看