Mercurial > code > home > repos > light9
diff bin/collector @ 1974:9a81855ec766
new artnet output module
Ignore-this: b86cd8e651b5848cf03c247123647505
author | drewp@bigasterisk.com |
---|---|
date | Sat, 08 Jun 2019 07:43:46 +0000 |
parents | b26a1e7fcfbe |
children | 5c8b6cd330da |
line wrap: on
line diff
--- a/bin/collector Sat Jun 08 07:37:43 2019 +0000 +++ b/bin/collector Sat Jun 08 07:43:46 2019 +0000 @@ -27,7 +27,7 @@ from rdfdb.syncedgraph import SyncedGraph from standardservice.scalessetup import gatherProcessStats -from light9.collector.output import Udmx, DummyOutput # noqa +from light9.collector.output import Udmx, ArtnetDmx, DummyOutput # noqa class Updates(cyclone.websocket.WebSocketHandler): @@ -66,13 +66,13 @@ def launch(graph, doLoadTest=False): try: # todo: drive outputs with config files - rate = 20 # On udmx, 22 breaks. 28 breaks. 30 breaks. + rate = 20 # On udmx, 22 breaks. 28 breaks. 30 breaks. outputs = [ - - Udmx(L9['output/dmxA/'], bus=3, address=None, lastDmxChannel=221, rate=rate), - Udmx(L9['output/dmxB/'], bus=1, address=None, lastDmxChannel=221, rate=rate), + + #Udmx(L9['output/dmxB/'], bus=1, address=None, lastDmxChannel=221, rate=rate), #DummyOutput(L9['output/dmxA/']), - DummyOutput(L9['output/dmxB/']), + DummyOutput(L9['output/dmxA/']), + ArtnetDmx(L9['output/dmxB/'], rate=rate), ] except Exception: log.error("setting up outputs:")