EasyManua.ls Logo

Keysight M8195A - Programming Recommendations

Keysight M8195A
268 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6 General Programming
158 Keysight M8195A Revision 2 Arbitrary Waveform Generator User’s Guide
6.4 Programming Recommendations
This section lists some recommendations for programming the instrument.
Start programming from the default setting. The common command for setting the
default setting is:
*RST
Use the binary data format when transferring waveform data.
The SCPI standard defines a long and a short form of the commands. For fast
programming speed, it is recommended to use the short forms. The short forms of
the commands are represented by upper case letters. For example, the short form of
the command to set 10mV offset is:
:VOLT:OFFS 0.01
To improve programming speed, it is also allowed to skip optional subsystem
command parts. Optional subsystem command parts are depicted in square
brackets, e.g.: Set amplitude [:SOURce]:VOLTage[1|2]
[:LEVel][:IMMediate][:AMPLitude]
Sufficient to use:
:VOLT
M8195A is a 4 channel instrument. Parameters have to be specified for output 1, 2,
3, and 4. If there is no output specified the command will set the default output 1.
So, for setting an offset of 10mV for output 1 and output 2 the commands are:
:VOLT:OFFS 0.01 # sets offset of 10mV at output 1
:VOLT1:OFFS 0.01 # sets offset of 10mV at output 1
:VOLT2:OFFS 0.01 # sets offset of 10mV at output 2
If it is important to know whether the last command is completed, then send the
common query:
*OPC?
It is recommended to test the new setting which will be programmed on the
instrument by setting it up manually. When you have found the correct setting, then
use this to create the program.
In the program it is recommended to send the command for starting data generation
(:INIT:IMM) as the last command. This way intermediate stop/restarts (e.g. when
changing sample rate or loading a waveform) are avoided and optimum execution
performance is achieved.
*RST # set default settings
... # other commands to set modes
... # and parameters
:OUTP1 ON # enable the output 1
:INIT:IMM # start data generation.

Table of Contents

Other manuals for Keysight M8195A

Related product manuals