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
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: