Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use instrument driver in a software application

Hi,

I'd like to develop a generic driver to control any instrument from a software application . Can I use the LabWindows/CVI wizard to succeed ?
Once I have created my dll, does it mean something to call IVI function from a sofware application ? (for example : in a Visual C++ application, can I call Prefix_init and after Prefix_WriteInstrData if I have connected an Instrument with an input ?).
Thanks
0 Kudos
Message 1 of 2
(3,083 Views)
Hi,

Using the IVI class driver in your application you can at least use the same program to communicate with instruments belonging to the same class.

To acomplish this you need the specific driver for the instrument. The class driver provides a standard API you can use in your application. The class driver in turn calls the specific instrument driver that you have configured.

If you call WriteInstrData you still need to determine the command string you need to send to the instrument. The IVI driver wraps the instrument I/O, using the attribute model or high level functions.

DiegoF.
National Instruments.
0 Kudos
Message 2 of 2
(3,083 Views)