Buffer
SCPI Commands :
STARt:BASE:BUFFer
STOP:BASE:BUFFer
CONTinue:BASE:BUFFer
DELete:BASE:BUFFer
CLEar:BASE:BUFFer
FETCh:BASE:BUFFer
- class BufferCls[source]
Buffer commands group definition. 7 total commands, 1 Subgroups, 6 group commands
- clear(buffer: str) None [source]
# SCPI: CLEar:BASE:BUFFer driver.buffer.clear(buffer = 'abc')
Clears the contents of a buffer. You get an empty buffer that you can fill with new commands.
- param buffer:
string
- continue_py(buffer: str) None [source]
# SCPI: CONTinue:BASE:BUFFer driver.buffer.continue_py(buffer = 'abc')
Reactivates a buffer which was deactivated via method RsCmwBase.Buffer.stop) . The R&S CMW continues writing data to the buffer.
- param buffer:
string
- delete(buffer: str) None [source]
# SCPI: DELete:BASE:BUFFer driver.buffer.delete(buffer = 'abc')
Deletes a buffer.
- param buffer:
string
- fetch(buffer: str, line_number: int) str [source]
# SCPI: FETCh:BASE:BUFFer value: str = driver.buffer.fetch(buffer = 'abc', line_number = 1)
Reads the contents of a buffer line. Buffer contents are stored line by line. Every query generates a new buffer line. The queries are not stored together with the results. Reading buffer contents is non-destructive. The lines can be read in arbitrary order.
- param buffer:
No help available
- param line_number:
integer Line number, selects the line to be read.
- return:
line: No help available
- start(buffer: str) None [source]
# SCPI: STARt:BASE:BUFFer driver.buffer.start(buffer = 'abc')
Creates and activates a buffer. If the buffer exists already, it is cleared (equivalent to method RsCmwBase.Buffer.clear) .
- param buffer:
string The buffer is identified via this label in all buffer commands.
- stop() None [source]
# SCPI: STOP:BASE:BUFFer driver.buffer.stop()
Deactivates the active buffer. Only one buffer can be active at a time. The buffer and its contents are maintained, but data recording is paused. Use method RsCmwBase.Buffer.continue_py to reactivate a buffer.
- stop_with_opc(opc_timeout_ms: int = -1) None [source]
# SCPI: STOP:BASE:BUFFer driver.buffer.stop_with_opc()
Deactivates the active buffer. Only one buffer can be active at a time. The buffer and its contents are maintained, but data recording is paused. Use method RsCmwBase.Buffer.continue_py to reactivate a buffer.
Same as stop, but waits for the operation to complete before continuing further. Use the RsCmwBase.utilities.opc_timeout_set() to set the timeout value.
- param opc_timeout_ms:
Maximum time to wait in milliseconds, valid only for this call.
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.buffer.clone()
Subgroups