From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

IVI and interchangeability

Solved!
Go to solution

I am developing a C# application which will talk to some power supplies over TCP/IP. I am not using Measurement Studio.

I would like to have the ability to swap out one or more of these PSUs for another manufacturer's PSU, quite possibly with a different interface, i.e,. serial or USB

I was thinking that IVI would be the way to go as it supports instrument interchangeability, but even looking at the examples on the IVI foundation website, I can't find any examples which do not depend on a specific driver provided by the instrument manufacturer.

I would rather not have to re-compile the code just to swap in a different power supply.

What steps should I take to ensure that I can achieve interchangeability.

Are there any examples which are not tied to a specific manufacturer?

0 Kudos
Message 1 of 3
(4,480 Views)
Solution
Accepted by krugman3
While you do need an instrument specific driver, you do not directly call it. You call into the class driver, IviScope for example. I can't help with code examples but you should look at the IVI Foundation again. NI only creates IVI-C drivers.
0 Kudos
Message 2 of 3
(4,478 Views)

OK, Thanks Dennis. Looks like we'll just be using VISA. Talking to the other guys where I work, it seems that getting IVI to actually work is a PITA. We have plenty of coders here, so altering the source code to suit a replacement instrument is not such a big deal.

 

Regards

 

0 Kudos
Message 3 of 3
(4,417 Views)