beautypg.com

4 conventions -2, 5 queries -2 – AMETEK CW Series Programming Manual User Manual

Page 7

background image

SCPI Conformance Information

Elgar CW-P Series

1-2

Programming Manual

1.4 Conventions

Commands enclosed by “[ ]” are optional.

For example, SOURce:VOLTage:LEVel:IMMediate:AMPLitude 120.0
can be written as, SOURce:VOLTage 120.0.

1.5 Queries

The query syntax is identical to the command syntax, with a ”?” appended.

For example, to query the programmed voltage on phase A, send the string:
SOURce:VOLTage?

A subsequent device read will return a value such as “120.00”. All queries are
terminated with a carriage return and line feed (0x0D 0x0A) for those GPIB controllers
that require termination characters. When the CW unit has nothing to report, its output
buffer will contain three ASCII characters: space, carriage return, and linefeed (in
decimal these values are <32><13><10>).