beautypg.com

3 detailed description of scpi instructions – B&K Precision 4084-4087 - Manual User Manual

Page 39

background image

4080 series Function & Arbitrary/Function Generators –Instruction Manual

39





*IDN?
*RST
*SAV {0|1|2|3|4|5|6|7|8|9|10}
*RCL {0|1|2|3|4|5|6|7|8|9|10}




SYSTem:LOCAL
SYSTem:REMOTE

5.3 Detailed description of SCPI Instructions

APPLy instructions
APPLy instructions are used to directly set the output of the function generator through the remote
interface including waveform, frequency and offset. For example, to output a sine wave of 5kHz,
3Vp-p with –2.5V DC offset, the following commands need to be sent:
“APPL:SIN 5.0E+3,3, -2.5”

Instructions of lower level can also be used:
“FUNC:SHAPE SIN”, to output a sine wave
“FREQ 5.0 E+3”, to set frequency as 5kHz
“VOLT 3.0”, to set voltage as 3 VPP
“VOLT:OFFSET -2.5”, to set output offset as -2.5 V

APPLy?

Queries the waveform, frequency, amplitude and offset of current function output. The returned data

format is:
“SIN 5.000000000000E+03, 3.000000E+00, -2.500000E+00”

OUTPUT instructions
FUNCtion:SHAPe {SINusoid|SQUare|TRIangle|UP_RAMP|DOWN_RAMP|NOISe……}
Select output waveform. 27 waveforms are available. In fixed frequency mode, each of the 27 kinds
can be selected. In other modes, only sine and square waves can be selected.

FUNCtion:SHAPe?
Check the waveform of current function output. The returned data are SIN, SQU, TRI, UP_RAMP,
etc.

FREQuency
Set the frequency of function output

FREQuency?
Check the frequency of current main function output. The returned data unit is Hz.

PULSe:DCYCle
Set the duty cycle of pulse output.
Duty cycle: 0.1%—99.9%, in step of 0.1% (f ≤ 10 KHz)
1%—99% in step of 1% (10 kHz < f ≤ 100 kHz), default value 20%.

PULSe:DCYCle?

RS232 specific instructions

SYSTEM instructions