beautypg.com

Combining commands – GW Instek GDS-800 Series Programming Manual User Manual

Page 18

background image

GDS-806/810/820/840 Programming Manual

17

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 (0A) for each command

. For example, if the frequency and

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

:MEASure:FREQuency?;:MEASure:VAMPlitude?

returns the message

100kHz

1v

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

command.

Therefore the return message of “100kHz 1v” should be exact looked like as “100kHz 0A 1V 0A”