MIRA - Windows 2000 PC with installed GPIB board

(used for Radio Labs: lab1, bench, interferometer, leuschner dish)

Connecting Mira to the network

At Leuschner
IP:  176.16.0.38
Subnet Mask:  255.255.255.0
Default Gateway: 176.16.0.32

At Campbell 705
IP:  10.32.92.19
Subnet Mask:  255.255.255.0
Default Gateway: 10.32.92.1

Once the network card is configured for the apporpriate network, communicating via GPIB is established by running the .tcl script for the location (gpib_705.tcl or gpib_leuschner.tcl) from the desktop. If there is an issue connecting to Mira, close the window running the .tcl script and rerun the correct script again. Also, make sure that the GPIB cable is actually plugged into the computer and the instrument you want to use.

IDL commands that use Mira and the GPIB

HP Voltmeter

IDL
function
example
syntax
limits
description
dvm
v=dvm()
v=dvm()

measures the volts on the HP Digital Volt Meter (in volts)

Function Generator

set_srs.pro

syntax
example
output
set_srs, frq=value, vpp=value, dbm=value, off=value, phs=value, /srs2 set_srs, frq=1e6, vpp=3., /srs2 None, but the specified function generator output is changed.

parameters definition limits
frq (optional) frequency 0 < frq < 30e6 Hz
vpp (optional) peak-to-peak voltage -5 < vpp < +5 V
dbm (optional) milli-deciBel level -36 < dbm < +23 dBm
off (optional) voltage offset -5 < off < +5 V
phs (optional) phase offset 0 < phs < 7200°

srs1_xxx.pro

IDL
procedure
example
syntax
limits
description
srs1_frq
srs1_frq, 1e6
srs1_freq, frq_hz
(0 to 30e6)Hz
Sets the frequency on SRS1 to frq_hz (in Hertz)
srs1_vpp
srs1_vpp, 2.2
srs1_vpp, vset
(-5 to 5) V Set the peak-to-peak voltage on SRS1 to vset (volts)
srs1_dbm
srs1_dbm, 0
srs1_dbm, power
(-36 to 23)
Set the power (for 50 ohm termination) to power (dBm)
srs1_off
srs1_off, 0.5
srs1_off, offset
(-5 to 5) Volts
Set the offset voltage on SRS1 to offset (volts)
srs1_phs
srs1_phs, 60
srs1_phs, phase
(0 to 7200)°
Set the phase shift for SRS1 to phase (degrees)

The same procedures are available for SRS2 (srs2_frq, srs2_vpp, srs2_dbm, srs2_off, srs2_phs)




UGAstro      UC Berkeley Astronomy      UC Berkeley