8.8 Sample Programs
175
8
C
ha
pte
r 8
R
S-2
32
C
/G
P-IB
/L
AN
In
te
rfa
ce
s
(5) Set Measurement State
Sets up the measurement setting state.
'Function:
V
'Range: 300 m
'Sampling: SLOW
'Triggering: Internal
'Comparator: ON, Beeper HL,
Resistance High/Low mode, Upper threshold 20000 (200.00 m
), Lower threshold 10000 (100.00 m
)
Voltage REF/%, Reference value 150000 (15.0000 V), toTolerance 0.1%
Private Sub SettingsSub()
Dim pad As Integer
'Controller access
Dim gpibad As Integer
'Device Address
Dim timeout As Integer
'Timeout period
Dim ud As Integer
'State (unused)
pad = 0
'Board Address 0
gpibad = 1
'BT3562-01, BT3563-01 Address 1
timeout = T10s
'Timeout about 10s
Call ibfind("gpib0", 0)
'Initialize GP-IB
Call ibdev(pad, gpibad, 0, timeout, 1, 0, ud)
Call SendIFC(pad)
Call Send(pad, gpibad, ":FUNC RV", NLend)
'Select
V mode
Call Send(pad, gpibad, ":RES:RANG 300E-3", NLend)
'Select 300 m
range
Call Send(pad, gpibad, ":SAMP:RATE SLOW", NLend)
'Select SLOW sampling
Call Send(pad, gpibad, ":TRIG:SOUR IMM", NLend)
'Select internal triggering
Call Send(pad, gpibad, ":INIT:CONT OFF", NLend)
'Continuous measurement OFF
Call Send(pad, gpibad, ":CALC:LIM:BEEP HL", NLend)
'From here on, comparator settings
Call Send(pad, gpibad, ":CALC:LIM:RES:MODE HL", NLend)
Call Send(pad, gpibad, ":CALC:LIM:RES:UPP 20000", NLend)
Call Send(pad, gpibad, ":CALC:LIM:RES:LOW 10000", NLend)
Call Send(pad, gpibad, ":CALC:LIM:VOLT:MODE REF", NLend)
Call Send(pad, gpibad, ":CALC:LIM:VOLT:REF 150000", NLend)
Call Send(pad, gpibad, ":CALC:LIM:VOLT:PERC 0.1", NLend)
Call Send(pad, gpibad, ":CALC:LIM:STAT ON", NLend)
'Comparator ON
Call ibonl(pad, 0)
End Sub
HIOKI BT3562A981-09
Содержание BT3562
Страница 2: ...HIOKI BT3562A981 09...
Страница 24: ...1 5 Measurement Flowchart 18 HIOKI BT3562A981 09...
Страница 84: ...4 13 Reset Function 78 HIOKI BT3562A981 09...
Страница 93: ...5 4 Internal Circuitry 87 5 Chapter 5 External Control EXT I O 5 4 Internal Circuitry HIOKI BT3562A981 09...
Страница 102: ...6 3 Printing 96 HIOKI BT3562A981 09...
Страница 186: ...8 8 Sample Programs 180 HIOKI BT3562A981 09...
Страница 198: ...10 3 Error Display 192 HIOKI BT3562A981 09...
Страница 200: ...194 HIOKI BT3562A981 09...
Страница 220: ...Appendix 11 Dimensional Diagram A20 HIOKI BT3562A981 09...
Страница 224: ...Index HIOKI BT3562A981 09...
Страница 225: ...HIOKI BT3562A981 09...
Страница 226: ...HIOKI BT3562A981 09...
Страница 227: ...HIOKI BT3562A981 09...
Страница 228: ...HIOKI BT3562A981 09...