PROGRAMMING YOUR PULSE GENERATOR. Avtech AV-153C-B
Реклама
Реклама
26
PROGRAMMING YOUR PULSE GENERATOR
KEY PROGRAMMING COMMANDS
The “Programming Manual for -B Instruments” describes in detail how to connect the pulse generator to your computer, and the programming commands themselves. A large number of commands are available; however, normally you will only need a few of these. Here is a basic sample sequence of commands that might be sent to the instrument after power-up, using the internal trigger source:
*rst sour:func sin frequency 1000 Hz output on volt 50 volt:low -10
(resets the instrument)
(selects a sine wave output)
(sets the frequency to 1000 Hz)
(turns on the output)
(sets the amplitude to 50 V)
(sets the offset to -10 V)
To generate a pulse output, use:
*rst sour:func pulse frequency 1000 Hz pulse:width 10 us pulse:delay 1 us output on volt 50 volt:low -10
(resets the instrument)
(selects a unipolar pulse output)
(sets the frequency to 1000 Hz)
(sets the pulse width to 10 us)
(sets the delay to 1 us)
(turns on the output)
(sets the amplitude to 50 V)
(sets the offset to -10 V)
To amplify an external signal, use:
*rst sour:func amp output on volt 50 volt:low -10
(resets the instrument)
(enables the amplifier mode)
(turns on the output)
(sets the gain to 50 / 2 = 25)
(sets the offset to -10 V)
To generate a burst of sine wave cycles (requires -PANB option), use:
*rst sour:func sin frequency 1000 Hz pulse:count 7
(resets the instrument)
(selects a sine wave output)
(sets the frequency to 1000 Hz)
(disables continuous output mode – no burst though, because the amplitude is zero)
output on volt 50 pulse:count 7
(turns on the output)
(sets the amplitude to 50 V)
(generates a burst of 7 sine wave cycles)
These commands will satisfy 90% of your programming needs.
27
ALL PROGRAMMING COMMANDS
For more advanced programmers, a complete list of the available commands is given below. These commands are described in detail in the “Programming Manual for -B
Instruments”. (Note: this manual also includes some commands that are not implemented in this instrument. They can be ignored.)
Parameter Notes Keyword
LOCAL
OUTPut:
:[STATe]
:PROTection
:TRIPped?
REMOTE
[SOURce]:
:FREQuency
[:CW | FIXed]
:FUNCtion
:[SHAPe]
:PULSe
:PERiod
:WIDTh
:DELay
:COUNt
:VOLTage
[:LEVel]
[:IMMediate]
[:AMPLitude]
:LOW
:PROTection
:TRIPped?
STATUS:
:OPERation
:[EVENt]?
:CONDition?
:ENABle
:QUEStionable
:[EVENt]?
:CONDition?
:ENABle
SYSTem:
:COMMunicate
:GPIB
:ADDRess
:SERial
:CONTrol
:RTS
:[RECeive]
:BAUD
:BITS
:ECHO
:ERRor
:[NEXT]?
:PARity
:[TYPE]
:SBITS
<boolean value>
[query only]
<numeric value>
AMPlify | PULSe | SINusoid | SQUare | TRIangle
<numeric value>
<numeric value> | IN
<numeric value>
<numeric value> [units with burst mode option only]
<numeric value>
<numeric value>
<numeric value>
<numeric value>
<numeric value>
[query only]
[query only, always returns "0"]
[query only, always returns "0"]
[implemented but not useful]
[query only, always returns "0"]
[query only, always returns "0"]
[implemented but not useful]
ON | IBFull | RFR
1200 | 2400 | 4800 | 9600
7 | 8
<boolean value>
EVEN | ODD | NONE
1 | 2
[query only]
28
:COUNT?
:VERSion?
TRIGger:
:SOURce
*CLS
*ESE
*ESR?
*IDN?
*OPC
*SAV
*RCL
*RST
*SRE
*STB?
*TST?
*WAI
[query only]
[query only]
INTernal | EXTernal | MANual | HOLD | IMMediate
[no query form]
<numeric value>
[query only]
[query only]
0 | 1 | 2 | 3
0 | 1 | 2 | 3
<numeric value>
[no query form]
[no query form]
[no query form]
[query only]
[query only]
[no query form]
29
Изтегляне
Реклама