LCX_UserManual_en_08_1.pdf - 第219页

Remote control commands R&S ® LCX Series 219 User Manual 1 179.2260.02 ─ 08 Example: Logging data settings The example represents the remote control commands for configuring the logging mode. ************************…

100%1 / 265
Remote control commands
R&S
®
LCX Series
218User Manual 1179.2260.02 ─ 08
Example: see Section 11.13, "HCOPy subsystem", on page 216.
Usage: Query only
11.14 LOG subsystem
The LOG subsystem contains the commands for setting the parameters of the mea-
surement logging function.
LOG subsystem
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