Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

custom ivi driver

hello,

 

i have developed an application that communicates a GPIB device using VISA. (communicating by VISA Server)

 

i would like now to develop a simulator for to replace my device in order to test my application without using the actual device

 

i'm considering using use IVI for that manner but have some questions:

 

1. in my VISA based application i am using both Instrument (MessageBasedSession) and GpibInterface sessions - Is this possible ? or the IVI only uses Instrument Session ?

 

2. my application was developed on .NET platform (C#). i read the only way is to use IVI-COM. is that right ?, isn't there IVI-.NET driver exist ?

 

3. What are the most important consideration when using IVI-COM in .NET environment

 

4. where can i have some code examples (like the one supplied with VISA)  to start working with - i could not find anything but vendors drivers

 

i would appriciate your help on that,

 

Best regards

 

Haim

 

 

 

0 Kudos
Message 1 of 9
(4,836 Views)
0 Kudos
Message 2 of 9
(4,808 Views)

Yes i have,

 

it discusses howto register own developed driver into VISA nevironment.

 

what i'm missing is how to use the IVI , meaning howto write the driver.

 

i will appricate any basic source code to start with.

 

 

0 Kudos
Message 3 of 9
(4,791 Views)

The development tools from NI are for IVI-C. I would suggest you start at the IVI Foundation for information regarding IVI-COM.

 

NI always provides source code for it's IVI-C drivers. If a vendor does not provide the source code for an IVI-COM driver, you really need to contact the vendor.

0 Kudos
Message 4 of 9
(4,784 Views)

As dennis suggested try contacting the vendor first and get the driver details.

0 Kudos
Message 5 of 9
(4,770 Views)

Hey all, thanks for responses

 

Assuming no Instrument driver are available from vendor - i will need to develop the driver myself for simulating purpose.

 

Until now i used VISA to communicate with this GPIB interfaced machine. i communicated with the physical machine using VISA server and all gone well.

 

Now i don't have access to the machine but still need to test my application as a whole and need for that manner another application to substitute the machine. this application should incroporate actual machine behavior in

 

terms of "READ", "WRITE" and "EVENTS"

 

so i'm looking for a basic code to start working with and later implent machine behavior in it.

 

i'm using C# so i think best will be IVI-COM based code

 

can you help me on that ?

 

Haim

0 Kudos
Message 6 of 9
(4,741 Views)
0 Kudos
Message 7 of 9
(4,736 Views)

Yes I Have,

 

It discusses howto integrate with already made IVI driver, meaning with one made by vendor.

 

Since there is no driver vendor for the machie i'm using (machine vendor uses standard GPIB communication for interface) - i will need to become one in order to test my "Client" application - the one that currently intfaces

 

with the machine using VISA platform (by GPIB interface)

 

Haim

0 Kudos
Message 8 of 9
(4,718 Views)

I noticed the IVI Foundation (link above), now has an IVI.NET specification so you can develop in that but unfortunately, I don't know of any examples of that, either. There are some links on the Resources page of the IVI Foundation that might be of interest such as Pacific Mindworks.

0 Kudos
Message 9 of 9
(4,710 Views)