Remote Commands
Commands
6
6-11
Coupled Commands
Coupled
x
These are called coupled commands
(examples: CUR_POST and OUT) because they “couple” in a compound command
sequence. Care must be taken to be sure the action of one command does not disable the
action of a second command and thereby cause a fault. For more information, see
“Coupled Commands” in Chapter 5.
CFREQ?
Overlapped CoupledIEEE-488 RS-232 Sequential
xx xx x
(Capacitance Frequency query) Returns the optimal frequency for stimulus when
measuring or calibrating capacitance output.
Response: <value> of the optimal frequency
Example: CFREQ? returns 1.0E+2
Returns 100 Hz as the optimal frequency for the selected capacitance output (1.0 μF for
this example). The return is 0 if not sourcing capacitance.
CLOCK
Overlapped CoupledIEEE-488 RS-232 Sequential
xx xx x
(Real-Time Clock command) Sets the real time clock, time only, or date and time. To set
the date, the CALIBRATION switch must be in the ENABLE position.
Parameters: 1. (optional) year in the format YYYY
2. (optional) month in the format MM
3. (optional) day in the format DD
4. hour in the format HH
5. minute in the format MM
6. second in the format SS
Examples: CLOCK 1998,6,1,9,52,10
sets clock to June 1, 1998, 9:52:10 AM
CLOCK 13,10,10 sets clock time only to 1:10:10 PM
CLOCK?
Overlapped CoupledIEEE-488 RS-232 Sequential
xx xx x
(Real_Time Clock query) Returns the date and time the real time clock.
Response: (character) 1. date in the format YYYY-MM-DD
(character) 2. time in the format HH:MM:SS
Example: CLOCK? returns 1998-12-04,13:03:50
The clock is set to December 4, 1998, 13:03:50.
*CLS
Overlapped CoupledIEEE-488 RS-232 Sequential
xx xx x
(Clear Status command) Clears the ESR, ISCR0, ISCR1, the error queue, and the RQS
bit in the status byte. This command terminates pending operation complete commands
(*OPC or *OPC?).
Parameter: (None)
Example: *CLS
Clear the ESR, ISCR0, ISCR1, the error queue, and the RQS bit in the status byte.