05-05-2008 10:40 AM
05-05-2008 05:52 PM
05-06-2008 03:52 AM
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
05-06-2008 06:33 AM
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
05-06-2008 08:33 AM
05-06-2008 10:12 AM
05-07-2008 10:11 PM - edited 05-07-2008 10:14 PM
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 02:37 AM
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