licel_SilentStat

class for Handeling the ethernet controller’s SilentMode feature.

class Licel.licel_SilentStat.SilentStat(ethernetController: licel_tcpip.EthernetController)
OFF() str

Deactivate the silent stat.

In this state, the controller will not delay the STAT? command sent to the selected transient recorder.

Returns:

controller response

Return type:

str

ON() str

Activate the silent stat.

In this state, the controller will delay the STAT? command sent to the selected transient recorder for the specified delay times around every trigger. All other commands are still forwarded instantaneously.

Returns:

controller response

Return type:

str

getDelay() Tuple[float, float]

Get the current pre-trigger and post-trigger block delay times for the silent stat.

The delay times are returned in microseconds.

Returns:

tuple containing pre-trigger and post-trigger block delay times in microseconds

Return type:

Tuple[float, float]

getState() str

Get the current state of the silent stat.

Returns the raw controller response string.

Returns:

controller response

Return type:

str

setDelay(preTriggerBlock_us: int, postTriggerBlock_us: int) str

Set the pre-trigger and post-trigger block delay times for the silent stat.

The delay times are specified in microseconds.

The controller will delay the STAT? command sent to the selected transient recorder for the specified delay times around every trigger when the silent stat is activated. All other commands are still forwarded instantaneously.

Parameters:
  • preTriggerBlock_us (int) – pre-trigger block delay time in microseconds

  • postTriggerBlock_us (int) – post-trigger block delay time in microseconds

Returns:

controller response

Return type:

str

store(password: str) str

Store the current silent stat settings in the controller’s non-volatile memory.

This ensures that the settings are retained even after a power cycle.

Parameters:

password (str) – ethernet controller password for storing settings

Returns:

controller response

Return type:

str