Polarity
SCPI Command :
SBUS<*>:NRZU:DATA:POLarity
- Commands in total: 1Subgroups: 0Direct child commands: 1
- get(serialBus=SerialBus.Default) SbusSpiCsPolarity[source]
# SBUS<*>:NRZU:DATA:POLarity value: enums.SbusSpiCsPolarity = driver.sbus.nrzu.data.polarity.get(serialBus = repcap.SerialBus.Default)
Sets the polarity for the data line.
- Parameters:
serialBus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sbus’)
- Returns:
data_polarity: ACTLow | ACTHigh
ACTLow: The transmitted signal for the data line is active high (high = 1) .
ACTHigh: The transmitted signal for the data line is active low (low = 1) .
- set(data_polarity: SbusSpiCsPolarity, serialBus=SerialBus.Default) None[source]
# SBUS<*>:NRZU:DATA:POLarity driver.sbus.nrzu.data.polarity.set(data_polarity = enums.SbusSpiCsPolarity.ACTHigh, serialBus = repcap.SerialBus.Default)
Sets the polarity for the data line.
- Parameters:
data_polarity –
ACTLow | ACTHigh
ACTLow: The transmitted signal for the data line is active high (high = 1) .
ACTHigh: The transmitted signal for the data line is active low (low = 1) .
serialBus – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Sbus’)