beautypg.com

Combining commands – GW Instek GDS-2000 series Programming manual User Manual

Page 23

background image

GDS-2000 Series Programming Manual

23

Combining Commands

You can use a semicolon (;) to combine commands and queries. This oscilloscope

executes coherent commands in the order it receives them. When you coherent

queries, the oscilloscope will combine the responses into a single response

message

with LineFeed (0x0A) for each command

. For example, if the frequency

and amplitude of the signal are equal to 1kHz and 1V, the command

:MEASure:FREQuency?;:MEASure:VAMPlitude?

returns the message

1.000E+3 1.000E+0

*: Please note that a LineFeed (0x0A) message terminator will be added behind each responded

command.

Therefore the return message of “1.000E+3 1.000E+0” should be exact looked like as following

example in HEX mode: