DMX USB Pro Interface¶
rcp.dmx¶
Objects related to DMX lighting control.
- class rcp.dmx.QtDMXUSBPro[source]¶
Class to manage a serial connection to an ENTTEC DMXUSB PRO for DMX lighting control output. Uses the Qt QSerialPort object for data transport. This currently only supports output, although the device is capable of receiving DMX. For details on the device, please see https://www.enttec.com/range/controls/dmx-usb-interfaces/
- open()[source]¶
Open the serial port and initialize communications. If the port is already open, this will close it first. If the current name is None, this will not open anything. Returns True if the port is open, else False.
- set_channel(channel, value)[source]¶
Set a single channel value and update the hardware.
- Parameters:
start – zero-based index of channel to update
value – 8-bit integer value