Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

IOResourceDescriptor

Hello
 
Can anyone help me? i want to create an application that be able to discover if there are an instruments connected (for example by LXI) and the VISA_alias of them
Are there any functions of VISA for example???
Thanks
0 Kudos
Message 1 of 8
(4,224 Views)
It would help if you would provide the programming language you aer using. If LabVIEW, there is the function called VISA Find Resource. If C, use viFindRsrc.
0 Kudos
Message 2 of 8
(4,211 Views)

Thaks Dennis

I`m using C++.

I want an application that connect to an ivi switch and i would need to discover the VISA Address but i want that my application make that in automatic mode

 

Sorry by my english and thanks

0 Kudos
Message 3 of 8
(4,200 Views)

I get the list of resources using ViFindRsrc yet

 

i want now to know if is possible to discover the class (ivi_switch, ivi_dmm, etc) of the resources coonected

 

thanksss

0 Kudos
Message 4 of 8
(4,194 Views)
Not that I am aware of but since I avoid using IVI drivers whenever I can, I'm probably not the best one to answer that question.
0 Kudos
Message 5 of 8
(4,185 Views)
i have to get back to the first question
 
i have IO Connection Expert of Agilent installed at my pc and i have notoced that viFindResorurce only can discover the intruments that i have added with the IO COnnection EXpert.
 
Its no possible discover the Resources in an independient mode? With another functions....
 
I dont know
 
Helpme please
 
 
Thankss
 
0 Kudos
Message 6 of 8
(4,176 Views)

As you think, viFindResource() function only finds VISA addresses, which are currently active.  The find result does not include VISA alias (replacement of cannonical VISA addresses).  IVI related info, such as Logical Name or IVI driver info are not included.

In general, VISA software itself is not aware of installation and configuration status of IVI instrument drivers.  Therefore there is no way to know about what IVI class (such as IviDmm, IviDCPwr, etc) shall be applied to the specific instrument from its VISA address.

The only capable look-up is "reverse search" for searching VISA address from a Logical Name, which is already configured in IVI Configuration Store.  From Logical Name, there is an associated Driver Session and Software Module (= associated IVI driver), and Hardware Asset (= associated VISA address).  In fact, IVI-C class driver and IVI-COM Session Factory DLL server do it behind the scene.  However, if you want to implement this process in your C++ app, you must write your own code by using IVI-COM Configuration Server API.  The document and VB example codes are found in the IVI-3.5 Configuration Server specification, placed at http://www.ivifoundation.org/specifications/default.aspx



このメッセージは 05-08-2008 12:14 PMに Makoto が編集しています。
0 Kudos
Message 7 of 8
(4,144 Views)

Hi Makoto

What i want is to search the IOResourceDescri`ptor of the connected instruments, then use the configuration server: create a hardware asset, create a driver session associated to this HA and the software module that it would use, create a logical name and associate it to the driver session.

And my main program use that logical name to run the application.

I can do it, but only need to discover in automatical mode what is the IOResourceDescriptor

 

If i get a solution i will post it here.

 

Thanks

0 Kudos
Message 8 of 8
(4,135 Views)