Define

SCPI Command :

CALCulate<n>:MATH[:EXPRession][:DEFine]
Commands in total: 1
Subgroups: 0
Direct child commands: 1
get(window=Window.Default) str[source]
# CALCulate<n>:MATH[:EXPRession][:DEFine]
value: str = driver.calculate.math.expression.define.get(window = repcap.Window.Default)

Selects the mathematical expression for trace mathematics. Before you can use the command, you have to turn trace mathematics on.

Parameters:

window – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Calculate’)

Returns:

expression: (TRACE1-TRACE2) Subtracts trace 2 from trace 1. (TRACE1-TRACE3) Subtracts trace 3 from trace 1. (TRACE1-TRACE4) Subtracts trace 4 from trace 1.

set(expression: str, window=Window.Default) None[source]
# CALCulate<n>:MATH[:EXPRession][:DEFine]
driver.calculate.math.expression.define.set(expression = rawAbc, window = repcap.Window.Default)

Selects the mathematical expression for trace mathematics. Before you can use the command, you have to turn trace mathematics on.

Parameters:
  • expression – (TRACE1-TRACE2) Subtracts trace 2 from trace 1. (TRACE1-TRACE3) Subtracts trace 3 from trace 1. (TRACE1-TRACE4) Subtracts trace 4 from trace 1.

  • window – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Calculate’)