Mar-16-2023, 10:37 PM
(This post was last modified: Mar-17-2023, 09:13 AM by Gribouillis.)
Howdy, Everyone.
Formally, I'm a retired programmer. Informally, I still like to play so starting last summer began teaching myself Python.
Where I am stuck is using the PyDMXControl library.. I've written the code to import libraries and Python finds the light controller on Comm3 with Port ID 24577. I’m stumped as to which commands in library OpenDMXController needed to command the light controller and turn lights on/off. I’m not finding enough information on OpenDMXController’s context menu's attributes.
Ideas,
Thanks,
Scott F
Formally, I'm a retired programmer. Informally, I still like to play so starting last summer began teaching myself Python.
Where I am stuck is using the PyDMXControl library.. I've written the code to import libraries and Python finds the light controller on Comm3 with Port ID 24577. I’m stumped as to which commands in library OpenDMXController needed to command the light controller and turn lights on/off. I’m not finding enough information on OpenDMXController’s context menu's attributes.
import win32com.client import serial from serial.tools import list_ports from PyDMXControl.controllers import OpenDMXController dmx = OpenDMXController dmx.?????is where I am stuck. It lists many context options but stuck trying to find what each does and the syntax.
Ideas,
Thanks,
Scott F
Gribouillis write Mar-17-2023, 09:13 AM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.