Example Programs
Overview of the SCPI Command Structure
Agilent 81250 Parallel Bit Error Ratio Tester, Programming Reference, March 2006
39
:_TEST:SGEN:GLOB:MUX 1
# set system BLG factor, check that
# period and memory depth match:
# set an input data port named
# AddrBus with 4 Terminals:
:_TEST:SGEN:PDAT:APP "INPUT_PORT", 4, "AddrBus"
# add a 5th terminal with name
Addr4:
:_TEST:SGEN:PDAT1:TERM5:APP "Addr4", 5
# connect terminal 1 of port AddrBus
# to connector 1 of module 2:
:_TEST:SGEN:CONN:PDAT1:TERM1:TO (@0102001)
#set pulse width of terminal 1 (T1):
:_TEST:SGEN:PDAT1:TERM1:PULS:WIDT 20e-9
# set delay of T1:
:_TEST:SGEN:PDAT1:TERM1:PULS:DEL 5e-9
# set leading edge of T1:
:_TEST:SGEN:PDAT1:TERM1:PULS:TRANS 1e-9
# set high level of T1:
# High level has to be higher than
# the actual low level.
:_TEST:SGEN:PDAT1:TERM1:VOLT:HIGH 3
# set low level of T1:
:_TEST:SGEN:PDAT1:TERM1:VOLT:LOW 1
# set load impedance for T1:
:_TEST:SGEN:PDAT1:TERM1:OUTP:IMP:EXT 50
:DVT:INST:HAND:DEST _TEST
# When the virtual device is no
# longer required, the handle can be
# eliminated:
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com