Hi,
I'm working with some Samsung LFD, namely ME40A, that I'm trying to turn on and off over rs232.
Here's the manual:
[Link: downloadcenter.samsung.com]I can figure out how to format the string in python. This is what I've tried.
import time
import serial
STAT = "\xAA\x11\x01\x00\x12"
ON = "\xAA\x11\x01\x01\x01\x14"
OFF = "\xAA\x11\x01\x01\x00\x13"
ser = serial.Serial(
port='/dev/ttyUSB0',
baudrate=9600,
parity=serial.PARITY_NONE,
stopbits=serial.STOPBITS_ONE,
bytesize=serial.EIGHTBITS,
xonxoff=False,
timeout=1
)
#ser.open()
#ser.isOpen()
ser.write(STAT)
Any ideas on how to format the string? It's a daisy chain of rs232 with ID set on the monitors.
-eNORm-