-
Notifications
You must be signed in to change notification settings - Fork 85
Description
Hello thank for share the code.
I am wrote a code to read one array of UDT. That script run fine in Windows 10 Pro but when I try in Linux Ubuntu 18 the return from ControlLogix show a wear value.
#***********************************************************
from pycomm3 import LogixDriver
with LogixDriver('77.171.2.62') as CLXSiloClinker:
filas=CLXSiloClinker.read('Registros[98]')
print(filas)
#*************************************************************
Return in Linux Ubuntu:
Registros[98], {'Conductor': '', 'Destino': '\x08\x00\x00\x00Galera 1', 'Dia': 1, 'Hora': 0, ...}, QP_RegistroCamiones, None
The value in a ControlLogix filas['Destino'] must be 'Galera 1' but I get '\x08\x00\x00\x00Galera 1'
If I run the same Python script on Windows 10 Pro this sript run well
I do not know what I doing wrong
thank you for your help!