Flog
SCPI Commands
FLOG:STATe
FLOG:DATA
FLOG:TRIGgered
FLOG:SRATe
FLOG:STIMe
FLOG:TARGet
- class FlogCls[source]
Flog commands group definition. 8 total commands, 1 Subgroups, 6 group commands
- get_data() List[float] [source]
# SCPI: FLOG:DATA value: List[float] = driver.flog.get_data()
Queries FastLog data as a block. The block is returned in the binary format starting in the sequence of voltage followed by current measurements, i.e. V, I, V, I, …. The R&S NGU accepts the line message EOI and/or the ASCII character NL (0Ah) as an indication that data transmission has been completed The binary data stream must be concluded with EOI or NL or EOI followed by NL. If the data stream is not concluded with either EOI or NL, the R&S NGU will wait for additional data. In the case of a binary data transmission, the R&S NGU ignores the bit combination NL (0Ah) within the data stream. The binary data block has the following structure: #<LengthofLength><Length><block_data>
INTRO_CMD_HELP: Example: #234<block_data>
<LengthofLength> specifies how many positions the subsequent length specification occupies (‘2’ in the example)
<Length> specifies the number of subsequent bytes (‘34’ in the example)
<binary block data> specifies the binary block data of the specified length
To configure fastlog for scpi target, see Example ‘Configuring fastlog for scpi target’.
- return
result: No help available
- get_state() bool [source]
# SCPI: FLOG[:STATe] value: bool = driver.flog.get_state()
Sets or queries the FastLog state.
- return
arg_0: 1 Enables the FastLog state. 0 Disables the FastLog state.
- get_stime() float [source]
# SCPI: FLOG:STIMe value: float = driver.flog.get_stime()
No command help available
- return
arg_0: No help available
- get_symbol_rate() FastLogSampleRate [source]
# SCPI: FLOG:SRATe value: enums.FastLogSampleRate = driver.flog.get_symbol_rate()
Sets or queries the sample rate of the FastLog function.
- return
arg_0: No help available
- get_target() FastLogTarget [source]
# SCPI: FLOG:TARGet value: enums.FastLogTarget = driver.flog.get_target()
Chose the target the data shall be written to.
- return
arg_0: SCPI | USB SCPI Transfer data to SCPI client. The sum of all sample rates have to be smaller or equal to 500 kS/s. USB Saves data to a binary file which is saved to the direectory specified in the ‘Target Folder’.
- get_triggered() bool [source]
# SCPI: FLOG:TRIGgered value: bool = driver.flog.get_triggered()
Sets or queries the triggered state of FastLog. See Figure ‘Overview of trigger IO system’.
- return
arg_0: 1 Activates the FastLog state. 0 Deactivates the FastLog state.
- set_state(arg_0: bool) None [source]
# SCPI: FLOG[:STATe] driver.flog.set_state(arg_0 = False)
Sets or queries the FastLog state.
- param arg_0
1 Enables the FastLog state. 0 Disables the FastLog state.
- set_stime(arg_0: float) None [source]
# SCPI: FLOG:STIMe driver.flog.set_stime(arg_0 = 1.0)
No command help available
- param arg_0
No help available
- set_symbol_rate(arg_0: FastLogSampleRate) None [source]
# SCPI: FLOG:SRATe driver.flog.set_symbol_rate(arg_0 = enums.FastLogSampleRate.S001k)
Sets or queries the sample rate of the FastLog function.
- param arg_0
500K | 250K | 125K | 62K5 | 31K25 | 15K625 | 7K812 | 3K906 | 1K953 | 976 | 488 | 244 | 122 | 61 | 30 | 15
- set_target(arg_0: FastLogTarget) None [source]
# SCPI: FLOG:TARGet driver.flog.set_target(arg_0 = enums.FastLogTarget.SCPI)
Chose the target the data shall be written to.
- param arg_0
SCPI | USB SCPI Transfer data to SCPI client. The sum of all sample rates have to be smaller or equal to 500 kS/s. USB Saves data to a binary file which is saved to the direectory specified in the ‘Target Folder’.
- set_triggered(arg_0: bool) None [source]
# SCPI: FLOG:TRIGgered driver.flog.set_triggered(arg_0 = False)
Sets or queries the triggered state of FastLog. See Figure ‘Overview of trigger IO system’.
- param arg_0
1 Activates the FastLog state. 0 Deactivates the FastLog state.
Subgroups