K0200 Issue No. 1
4 2 DP I 7 4 0 U s e r M a n u a l
example program
#sa?; query instrument address
!SA=00; reply address is 00
#fa=1; put instrument in addressed mode
#0099ic=p; send command to instrument 00 from
instrument 99 input channel is pressure
#0099pc=~(ir,10,1); set-up process channel to filter 'input
reading ir time constant 10, band 1'
#0099iu=0; units to mbar
#0099pr?; get reading from process channel
!9900PR1=987.22; reply of pressure in mbar (filtered
reading)
#0099ir?; get unfiltered reading
!9900IR=987.22; reply of pressure in mbar
#0099iu=18 units to inHg
#0099pr?; get reading from process channel
!9900PR1=29.153; filtered pressure reading in inHg
#0099fa=0; take QFF addressed
#iu?; query units
!iu=18; units = 18 = inHg (see table 6-1)
This example is reproduced using QBASIC in Table 6-3.