Here is a GPIB
toolbox for Scilab. This toolbox enables communications between VISA
for Windows (either Agilent
or National Instrument) or Linux
(NI-VISA) and Scilab in order to control your instruments
with the serial port or the GPIB bus.
The GPIB toolbox includes several drivers
(written in scilab script) for RF and microwave instrumentation :
Microwave CW Source :
HP
8657B, 8350A, 8340A, 8375A, 8372A, 8672A
Wiltron 6747B, 68137B
Anritsu 68347B, 69067B, 69047B
IFR 3414
Oscilloscopes :
Tektronix
TDS familly
Arbitrary Waveform
Generator :
Tektronix
AWG 520, 2021
DC power supplies :
HP
3455A, 6003x
Agilent GW PPT-1830, 66000A
Powermeters :
HP
Anritsu
Step Attenuator
Agilent
Current version :
0.9d (September 7th 2005)
New features (0.9d) :
- Available for
Linux (tested with Mandriva 10.0 and NI-VISA)
New features (0.9c) :
-
Anritsu Powermeter Driver : AN ML2488A (CW measurement only)
- ASRL_write() and
ASRL_read() : write and read on the serial port via VISA.
- New RF sources : HP8350A ; HP8375A ; IFR3414 and HP8672A ;
Example
//
Drive a RF source
located at GPIB adress #11 with language #2 (i.e. Anritsu source)
// Please read the help file in the toolbox to check the language
number...
//
Fréquency : 2 GHz
GPIB_set_source_freq(11,2,2*10^9)
// Power : 0 dBm
GPIB_set_source_power(11,2,0)
// Output : ON
GPIB_set_source_output(11,2,1)