Closed circuitfox closed 5 years ago
With a serial instrument dev, the following code should set 2 stop bits
dev
from pyvisa import constants dev.stop_bits = constants.StopBits.two print(dev.stop_bits)
However, the print statement outputs StopBits.one.
StopBits.one
This occurs with pyvisa-1.10.0 and pyvisa-py-0.3.1. It also occurs with pyvisa-1.10.0 and the latest master of pyvisa-py.
With a serial instrument
dev
, the following code should set 2 stop bitsHowever, the print statement outputs
StopBits.one
.This occurs with pyvisa-1.10.0 and pyvisa-py-0.3.1. It also occurs with pyvisa-1.10.0 and the latest master of pyvisa-py.