Ttl<TTL>

RepCap Settings

# Range: Ix1 .. Ix2
rc = driver.configure.base.ttl.repcap_tTL_get()
driver.configure.base.ttl.repcap_tTL_set(repcap.TTL.Ix1)

SCPI Command:

CONFigure:BASE:TTL<Index>
class TtlCls[source]

Ttl commands group definition. 3 total commands, 2 Subgroups, 1 group commands Repeated Capability: TTL, default value after init: TTL.Ix1

get(tTL=TTL.Default) List[bool][source]
# SCPI: CONFigure:BASE:TTL<Index>
value: List[bool] = driver.configure.base.ttl.get(tTL = repcap.TTL.Default)

Sets or queries the individual bits of a TTL register of the CONTROL connector. A register with direction IN can only be queried. A register with direction OUT can be configured. Before querying the input register, update the values, see CONFigure:BASE:TTL2:UPDate.

param tTL:

optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Ttl’)

return:

pin_state: OFF | ON Comma-separated list of four values, one per bit of the register Register 1: Pin 1, 2, 3, 4 Register 2: Pin 14, 15, 16, 17 OFF = 0, ON = 1

set(pin_state: List[bool], tTL=TTL.Default) None[source]
# SCPI: CONFigure:BASE:TTL<Index>
driver.configure.base.ttl.set(pin_state = [True, False, True], tTL = repcap.TTL.Default)

Sets or queries the individual bits of a TTL register of the CONTROL connector. A register with direction IN can only be queried. A register with direction OUT can be configured. Before querying the input register, update the values, see CONFigure:BASE:TTL2:UPDate.

param pin_state:

OFF | ON Comma-separated list of four values, one per bit of the register Register 1: Pin 1, 2, 3, 4 Register 2: Pin 14, 15, 16, 17 OFF = 0, ON = 1

param tTL:

optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Ttl’)

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.configure.base.ttl.clone()

Subgroups