Python Forum
Python and DMX (aka, light controller)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python and DMX (aka, light controller)
#1
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.

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.
Reply


Messages In This Thread
Python and DMX (aka, light controller) - by ScottAF - Mar-16-2023, 10:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with Python Script to generate SVG Dot Matrix Pattern for LED Light Guide iamrickm 2 814 Aug-25-2023, 06:07 PM
Last Post: iamrickm
  How can flask find the controller? 3lnyn0 3 1,379 Jul-08-2022, 10:05 AM
Last Post: Larz60+
  Controller Buzzer as Distance Decreases barkster 6 2,133 Nov-01-2021, 03:26 PM
Last Post: barkster
  Auto re-pair / re-sync Controller via Script? User3000 2 2,373 Nov-30-2020, 11:42 AM
Last Post: User3000
  Tuning PID controller Sancho_Pansa 4 4,451 Nov-09-2020, 07:51 AM
Last Post: Sancho_Pansa
  Xbox Controller arki 0 1,735 Jun-30-2020, 10:32 AM
Last Post: arki
  Please help! Akai APC20 midi controller script versusliveact 0 2,158 Feb-14-2020, 05:37 AM
Last Post: versusliveact
  managing command codes for external controller box Oolongtea 0 1,939 Sep-19-2019, 08:32 AM
Last Post: Oolongtea
  Python with LED light strip question. Ostromaj 5 4,096 Aug-07-2018, 09:06 PM
Last Post: Ostromaj
  beginner programming LED light rbowler 2 44,585 Jun-16-2018, 08:29 PM
Last Post: rbowler

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020