Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

SCPI, Visual Basic and LabView

I would like to deliver commands to a calibrator using the SCPI language. I intend to use Visual Basic as my Program Engine. I would like to know how can i give these commands and then receive the results using LabView. And i would like to know how can i call the drivers created in Visual Basic.
0 Kudos
Message 1 of 2
(4,807 Views)
Hi,

1) You can use LabVIEW to send the SCPI commands to a device. The GPIB functions (or the VISA function) transfer character strings to the device. The SCPI commands are just strings, so the driver would treat this commands in a special way. You would have to write (program) what SCPI commands to sent to the instrument.

2) You can also communicate to a LabVIEW application using Visual Basic. There are several options. yoiu can build a DLL and use it in VB. Use ActiveX. I would suggest doing a search on www.ni.com for "labview" "Visual Basic" (also "dll"). Here's an article I found, but there's also examples on the web:

http://digital.ni.com/public.nsf/websearch/862567530005F09E86256843004469C8?OpenDocument

Hope this helps.
DiegoF.
Natio
nal Instruments.
0 Kudos
Message 2 of 2
(4,807 Views)