Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

IVI, MAX and multiple same kind of instruments

Hi,
 
We are using test systems were we have 15 instruments in total and many of them are same kind of instruments (for example 2pcs Hp34401 multimeters)
So my question is, is there any way to configure MAX so that i could controll both instrument, having different Logical names for both instruments.
For some reason hardware descriptor in MAX is within Driver session (not within Logical names) and i can't have multiple driver sessions for same kind of instruments (or can I?).
 
Used MAX version 3.1.1.3004
 
 
0 Kudos
Message 1 of 3
(3,467 Views)
Efficient,

I have a test system with two NI-DMM 4070 and two Agilent power supplies (PS) E3646A that are used in parallel. I have configured them in MAX to use the very same instrument driver (of course the DMM driver for those and the power supply driver for the other one) and to use differen logical names and adresses (e.g. driver sessions).  It workes flawlessly.
In my code I adress them as 'DMM-U' and 'DMM-I' and as 'Mains', 'Batt' or 'Akku', respectively.
Just in Case: The A3646E are two-channel PS, where each challel was given a logical name.

From the help in IVI driver session: "A driver session defines a set of properties for use by IVI instrument driver software modules, such as initial configurable settings for attributes, virtual name mappings, simulation settings, and so on. Multiple driver sessions can exist for each instrument driver software module. "
And: "A hardware asset is a physical device that performs a measurement or stimulus function. The term hardware asset includes instruments, but may include other types of hardware as well, such as switch matrices and probes."

I can't remember the actual steps to create this setup, but I can assure you that it can be done.
Greetings from Germany!<br>-- <br>Uwe
0 Kudos
Message 2 of 3
(3,461 Views)
Efficient,
 
Lul is correct. Create a driver session and a hardware assets for each of your two hp34401a (e.g. name them hp34401a_A, hp34401a_B). Each driver session can be associated with its own hardware asset and the same software module.

The attached IVI Configuration store file is an example of such a configuration. Copy this to your C:\Program Files\IVI\Data directory, launch MAX, browse to the 'IVI Drivers' item, and click 'Open IVI Configuration' located on the top of the right view pane.
 
Hope this helps,
 
z_haider
0 Kudos
Message 3 of 3
(3,444 Views)