LCX_UserManual_en_08_1.pdf - 第220页
Remote control commands R&S ® LCX Series 220 User Manual 1 179.2260.02 ─ 08 :LOG:INTerval 0 LOG:COUNt ..................................................................................................................…

Remote control commands
R&S
®
LCX Series
219User Manual 1179.2260.02 ─ 08
Example: Logging data settings
The example represents the remote control commands for configuring the logging
mode.
****************************************
// Configure the logging function.
// Deactivate logging mode to set the parameters:
****************************************
:LOG:STATe OFF
****************************************
// Configure the parameters:
// select 10 min time interval, SPAN mode, start time and duration.
:LOG:INTerval 300
:LOG:MODE SPAN
:LOG:STIMe 2020,5,1,13,30,00
:LOG:DURation 150
// :LOG:MODE COUNt
// :LOG:COUNt 100
****************************************
// Query the data logging settings
:LOG:MODE?
// Response: SPAN
:LOG:FNAME?
// Response: 'log-20210225T105014.455.csv', EXT
:LOG:INTerval?
/// Response 300
:LOG:STIMe?
// Response: 2020,5,1,13,30,00 // 2020-05-01, 13:30 pm
:LOG:DURation?
// Response: 150 // 2 h 30 min,0 s
:LOG:COUNt?
// Response: 100
:LOG:COUNt? MIN
// Response: 1
:LOG:COUNt? MAX
// Response: 1000000
****************************************
// Start and stop logging data
:LOG[:STATe] ON
:LOG[:STATe]?
// Response: 1 // logging data is activated
****************************************
// Restart logging of a new measurement
LOG subsystem

Remote control commands
R&S
®
LCX Series
220User Manual 1179.2260.02 ─ 08
:LOG:INTerval 0
LOG:COUNt..................................................................................................................220
LOG:DURation.............................................................................................................. 220
LOG:FNAMe..................................................................................................................220
LOG:INTerval.................................................................................................................221
LOG:MODE...................................................................................................................221
LOG:STIMe...................................................................................................................221
LOG[:STATe]................................................................................................................. 222
LOG:COUNt <Sample Count>
Sets the number of measurement readings in count mode. To set the mode, use the
command LOG:MODE on page 221 to be captured.
Parameters:
<Sample Count> Range: 1 to 10E+6
*RST: 10
Example: See Example "Logging data settings" on page 219.
Manual operation: See "Count" on page 104
LOG:DURation <Logging Duration>
Defines the duration of logging for the measurement in span and duration mode. To set
the mode, use the command LOG:MODE on page 221.
Parameters:
<Logging Duration> Range: 0 s to 349199 s
*RST: 60 s
Default unit: s
Example: See Example "Logging data settings" on page 219.
Manual operation: See "Duration" on page 104
LOG:FNAMe <Logging File Name>
Sets the file name and path for the storing the data recorded during data logging.
The query returns the file name and path. You can query the information also when
data logging is running.
Parameters:
<Logging File Name> String with the directory and filename.
Example: See Example "Logging data settings" on page 219.
Manual operation: See "<logging file name>" on page 98
LOG subsystem

Remote control commands
R&S
®
LCX Series
221User Manual 1179.2260.02 ─ 08
LOG:INTerval <Sample Interval>
Selects the logging measurement interval. The measurement interval describes the
time between the recorded measurements.
Parameters:
<Sample Interval> Range: 0.1 s to 600 s
Increment: 0.1 s
*RST: 0.1 s
Default unit: s
Example: See Example "Logging data settings" on page 219.
Manual operation: See "Interval" on page 104
LOG:MODE <Logging Mode>
Selects the data logging mode.
Parameters:
<Logging Mode> UNLimited | COUNt | DURation | SPAN
UNLimited
No specified limit of measurement readings.
COUNt
Determines the number of measurement readings.
DURation
Sets a time interval between the measurement readings.
SPAN
Defines start time and time span for the measurement readings.
*RST: UNLimited
Example: See Example "Logging data settings" on page 219.
Manual operation: See "Mode" on page 103
LOG:STIMe <Year>, <Month>, <Day>, <Hour>, <Minute>, <Second>
Sets the logging start time.
Parameters:
<Year> Four-digit number, including the century and millennium informa-
tion.
Range: 1970 to 2037
<Month> Range: 1 to 12
<Day> Range: 1 to 31
<Hour> Range: 0 to 23
Default unit: h
<Minute> Range: 0 to 59
Default unit: min
LOG subsystem