Receive

SCPI Commands

CALL:CDMA:SIGNaling<Instance>:PDM:RECeive:WATermark
CALL:CDMA:SIGNaling<Instance>:PDM:RECeive:RESet
class Receive[source]

Receive commands group definition. 2 total commands, 0 Sub-groups, 2 group commands

class WatermarkStruct[source]

Structure for reading output parameters. Fields:

  • Queue_Depth: int: Number of messages waiting in the queue

  • Queue_State: enums.QueueState: OK | OVERflow Overflow indication flag

get_watermark()WatermarkStruct[source]
# SCPI: CALL:CDMA:SIGNaling<Instance>:PDM:RECeive:WATermark
value: WatermarkStruct = driver.call.pdm.receive.get_watermark()

Returns the current depth and overflow status of the receive queue. If the queue overflows, new messages are lost until the queue is reset. After the overflow, the existing messages in the queue still can be read.

return

structure: for return value, see the help for WatermarkStruct structure arguments.

reset()None[source]
# SCPI: CALL:CDMA:SIGNaling<Instance>:PDM:RECeive:RESet
driver.call.pdm.receive.reset()

Resets the incoming message queue and overflow flag. All messages in the queue are discarded.

reset_with_opc()None[source]
# SCPI: CALL:CDMA:SIGNaling<Instance>:PDM:RECeive:RESet
driver.call.pdm.receive.reset_with_opc()

Resets the incoming message queue and overflow flag. All messages in the queue are discarded.

Same as reset, but waits for the operation to complete before continuing further. Use the RsCmwCdma2kSig.utilities.opc_timeout_set() to set the timeout value.