MDO3000 Programmer Manual.pdf - 第793页

Commands Listed in Alphabetical Order Syntax SETUP<x>:DATE ? Examples SETUP4:DATE? might return SETUP4:DA TE: 04–18–06 which is the setup date for channel 4. SETUP<x>:LABEL This command specifies the setup lab…

100%1 / 1158
Commands Listed in Alphabetical Order
asacommandstr
ing. The VERBose command can still be used to specify whether
the returned headers should be abbreviated or full-length.
This command i
s identical to the *LRN? command.
Group
Miscellaneous
Syntax
SET?
Related Commands
HEADer|:HDR, *LRN?, VERBose
Examples
SET? returns a long response, part of which could be as follows: :SET
:ACQUIRE:STOPAFTER RUnsTOP;STATE 1 ;MODE SAMPLE;NUMENV
INFINITE;NUMAVG 16;SAMPLINGMODE RT ;:HEADER 1;:LOCK
NONE;:LANGUAGE ENGLISH;:VERBOSE 1; :ALIAS:STATE 0;:
DISPLAY:COLOR:PALETTE NORMAL;:DISPLAY:STYLE:DOTSONLY
0;:DISPLAY:PERSISTENCE 0.0000;CLOCK 1;GRATICULE
FULL;INTEnsITY:WAVEFORM 30;GRATICULE 75;BACKLIGHT
HIGH;:HARDCOPY:INKSAVER OFF;LAYOUT LANDSCAPE;PREVIEW
0; :SAV E:IMAGE:FILEFORMAT BMP;:SAVE:WAVEFORM:FILEFORMAT
INTERNAL;:SAVE:ASSIGN:TYPE SETUP;:TRIGGER:A:MODE
AUTO;TYPE EDGE;LEVEL 20.0000E-3;LE VEL:CH1 20.00 00E-3;CH2
0.0000;CH3 0.0000;CH4 0.0000;:TRIG GER:A:UPPERTHRESHO
LD:CH1
1.4000;CH2 800.0000E-3 ;CH3 800.0000E-3;CH4 800.0000E-3;:
TRIGGER:A:LOWERTHRESHOLD:CH1 20.0000E-3;CH2
0.0000;CH3 0.0000;CH4 0.0000;:TRIG GER:A:HOLDOFF:TIME
20.0000E-9;:TRIGGER:A:EDGE:SOURCE CH1;COUPLING
DC;SLOPE RISE;:TRIGGER :A:LOGIC:CLASS SETHOLD;FUNCTION
AND;THRESHOLD:CH1 20.0000E-3;CH2 0 .0000;CH3
0.0000;CH4 0.0000;:TRI GGER:A:LOGIC:INPUT:CH1
X;CH2 X ;CH3 X;CH4 X;CLOCK:SOURC E NONE;EDGE
RISE;:TRIGGER:A:LOGIC:PATTERN:INPUT:CH1 X;CH2
X;CH3 X ;CH4 X;:TRIGGER:A :LOGIC :PATTERN:WHEN
TRUE;WHEN:LESSLIMIT 4.0000E-9;LIMIT 4.0000E-9;:TRIGGER:A
:SETHOLD:CLOCK:SOURCE CH1;EDGE RIS E;THRESHOLD
20.0000E-3;:TRIGGER:A:SETHOLD:DATA:SOURCE CH2;
SETUP<x>:DATE? (Query Only)
Returns the date when the oscilloscope setup was saved for the specified channel
<x>, where x can be 1 through 10.
Group
Save and Recall
2-762 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual
Commands Listed in Alphabetical Order
Syntax
SETUP<x>:DATE
?
Examples
SETUP4:DATE? might return SETUP4:DATE: 04–18–06 which is the setup
date for channel 4.
SETUP<x>:LABEL
This command specifies the setup label for the specified channel <x>, where
x can be 1 through 10.
Group
Save and Recall
Syntax
SETUP<x>:LABEL <Qstring>
Arguments
<Qstring> is an alphanumeric string of characters, enclosed in quotes, that
defines the label text for SETUP<x>. The length of the string is limited to 30
characters.
Examples
SETUP:LABEL? might return SETUP1: LABEL: TEST 2 which is the label setup
for channel 1.
SETUP<x>:TIME? (Query Only)
Returns the time when the oscilloscope setup was saved for the specified channel
<x>, where x can be 1 through 10.
Group
Save and Recall
Syntax
SETUP<x>:TIME?
Examples
SETUP2:TIME? might return “SETUP2:T IME: 15:24:0 7 which is the setup
time for channel 2.
SOCKETServer:ENAble
This command enables or disables the socket server which supports a Telnet or
other TCP/IP socket connection to send commands and queries to the instrument.
MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual 2-763
Commands Listed in Alphabetical Order
The default sta
te is enabled. (See page 1-11, Setting Up Remote Communications
Software.)
NOTE. If the socket server state is 0 (disabled) and this command is sent to enable
the socket server when the port is in use by another service, then the error event
code 221 (settings conict) is posted to the event queue, and the socket server
remains d isabled. In this case, select a different port number and attempt to
enable the s
ocket server again.
Group
Miscellaneous
Syntax
SOCKETServer:ENAble {ON|OFF|<NR1>}
SOCKETServer:ENAble?
Related Commands
SOCKETServer:PROTOCol, SOCKETServer:PORT
Arguments
ON enables the socket server.
OFF disables the socket server.
<NR1> = 0 disables the socket server; any other value turns it on.
Examples
SOCKETServer:ENAble ON enables the socket server.
SOCKETServer:ENAble? might return 1, indicating that the socket server is
enabled (the default).
SOCKETServer:PORT
This command sets the TCPIP port for the socket server connection. If the socket
server is enabled and the port specified is in use by another service, then the error
event code 221 (Settings conflict) is posted to the event queue and the socket
server remains in its current state (i.e. enabled/disabled and port address remain
unchanged). The default port is 4000.
Group
Miscellaneous
Syntax
SOCKETServer:PORT <NR1>
SOCKETServer:PORT?
2-764 MDO4000/B/C, MSO/DPO4000B and MDO3000 Series Oscilloscopes Programmer Manual