![Agilent Technologies 81250 Скачать руководство пользователя страница 39](http://html.mh-extra.com/html/agilent-technologies/81250/81250_system-programming-manual-and-scpi-reference_2868601039.webp)
Overview of the SCPI Command Structure
Example Programs
38
Agilent 81250 Parallel Bit Error Ratio Tester, Programming Reference, March 2006
Typical SCPI Programming Sequence
When implementing programs for the Agilent 81250 using SCPI
commands, you should keep to the following sequence:
1. Create instrument
2. Set system parameters
3. Create model of DUT
4. Connect DUT to instrument
5. Set signal parameters
6. Create sequence
7. Run test
8. Destroy instrument
N O T E
Always make sure that you destroy the handle at the end of your
program.
Here is a little example program showing some of these steps.
:DVT:INST:RES:LIST? "DSR"
# Ask what DSR instruments are
# pre-configured in the
# System (see
# d:\81200\cfg\dvtsys.txt file)
# Returns: "DSRA","DSRB"
# Create a handle, better ask for a
# handle: give TEST as a suggestion
# for the handle:
:DVT:INST:HAND:CRE? TEST, "DSR", "DSRA"
# When the suggested handle is not
# used, then the system will return:
# _TEST
:_TEST:SGEN:GLOB:PER 50e-9
# set period:
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com