Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Can you use instrument drivers (using visa sessions) and ivi instrument drivers in the same program?

I'm having problems using both visa sesions and ivi drivers in the same program. Any suggestions?
0 Kudos
Message 1 of 3
(2,953 Views)
I believe it is possible, but not recommended (this would mess up the state cache of the IVI driver). Generally there is a function in the specific IVI driver that lets you just send a string to the instrument. It flushes the state cache for you.

Kim L.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,953 Views)
There are a couple of things to consider. If you're talking about the same instrument then you should try and use the ivi driver so state caching etc is not affected.

If you're using multiple instruments and some have IVI drivers and others have non-IVI drivers using VISA then you should be able to use both.

Basically, use the IVI driver only to communicate with that instrument and the VISA driver for the other one. Mixing and matching for the same instrument could be troublesome.

Hope that helps.
Kamran - NI
An
0 Kudos
Message 3 of 3
(2,953 Views)