You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The get_data() function giving result as"" \x02testing\r\x030E\r\n"" . how can i get this data in decoded format using astm-serial library i.e "testing".
below is the block of code i have used to read the data.
The get_data() function giving result as"" \x02testing\r\x030E\r\n"" . how can i get this data in decoded format using astm-serial library i.e "testing".
below is the block of code i have used to read the data.
from astm_serial.client import AstmConn
astm = AstmConn(port='COM3', baudrate=9600, timeout=10)
astm.send_enq()
print(astm)
while True:
data = astm.get_data()
print(data)
The text was updated successfully, but these errors were encountered: