108
Keysight M8194A 120 GSa/s Arbitrary Waveform Generator User Guide
4
Remote Programming
4 If it is important to know whether the last command is completed then
send the common query:
*OPC?
5 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.
6 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.
SCPI Basics
Instructions
Instructions, both commands and queries, normally appear as strings
embedded in a statement of your host language, such as Visual Basic for
Applications (VBA), Visual Basic .NET, C#, C, etc.
The only time a parameter is not meant to be expressed as a string is when
the instruction's syntax definition specifies
<binary_block _data>
,
such as with the
:SYSTem:SET
command. There are only a few
instructions that use block data.
Instructions are composed of two main parts:
• The header, which specifies the command or query to be sent.
• The program data, which provides additional information to clarify the
meaning of the instruction.
Instruction Header
The instruction header is one or more command mnemonics separated by
colons (:). They represent the operation to be performed by the
oscilloscope. Queries are formed by adding a question mark (?) to the end
of the header. Many instructions can be used as either commands or
Summary of Contents for M8194A
Page 1: ...User Guide Keysight M8194A 120 GSa s Arbitrary Waveform Generator...
Page 8: ......
Page 102: ......
Page 156: ......
Page 170: ......