07-05-2010 02:25 AM
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
07-06-2010 04:14 AM
07-06-2010 10:02 AM
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.
07-06-2010 10:36 AM
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.
07-07-2010 01:49 AM
As dennis suggested try contacting the vendor first and get the driver details.
07-08-2010 01:55 AM
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
07-08-2010 02:12 AM
07-08-2010 08:39 AM
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
07-08-2010 09:18 AM
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.