<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.openlighting.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Doudou</id>
		<title>wiki.openlighting.org - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.openlighting.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Doudou"/>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php/Special:Contributions/Doudou"/>
		<updated>2026-04-28T12:07:25Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=OLA_Python_API&amp;diff=2458</id>
		<title>OLA Python API</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=OLA_Python_API&amp;diff=2458"/>
				<updated>2008-02-28T22:38:33Z</updated>
		
		<summary type="html">&lt;p&gt;Doudou: /* Building the Python Bindings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building the Python Bindings ==&lt;br /&gt;
&lt;br /&gt;
See [[Building LLA]]  but run ''./configure --enable-python-libs''&lt;br /&gt;
&lt;br /&gt;
Note that you have to install Swig in order to build the python bindings (sudo apt-get install swig)&lt;br /&gt;
&lt;br /&gt;
There is also a forgotten data in lla/python/Makefile : you have to add -I../include to the value of DEFAULT_INCLUDES at the line 70.&lt;br /&gt;
&lt;br /&gt;
At the end of the installation, you should run ldconfig as root in order to use the python bindings.&lt;br /&gt;
&lt;br /&gt;
== Interesting Classes ==&lt;br /&gt;
&lt;br /&gt;
; LlaClient&lt;br /&gt;
: the main connection class&lt;br /&gt;
; dmxBuffer&lt;br /&gt;
: represents a list of DMX channel values&lt;br /&gt;
; LlaClientObserver&lt;br /&gt;
: base class to handle events&lt;br /&gt;
; LlaPlugin&lt;br /&gt;
: represents a Plugin&lt;br /&gt;
; LlaDevice&lt;br /&gt;
: represents a Device&lt;br /&gt;
&lt;br /&gt;
== Sending DMX ==&lt;br /&gt;
A simple example to send DMX:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
from lla import *&lt;br /&gt;
import sys&lt;br /&gt;
&lt;br /&gt;
con = LlaClient()&lt;br /&gt;
if con.start():&lt;br /&gt;
  sys.exit()&lt;br /&gt;
&lt;br /&gt;
universe = 0&lt;br /&gt;
&lt;br /&gt;
# create a dmxBuffer for the channel values&lt;br /&gt;
DMX_LEN = 512&lt;br /&gt;
dmx = dmxBuffer(DMX_LEN)&lt;br /&gt;
for i in range(0, DMX_LEN):&lt;br /&gt;
  dmx[i] = i&lt;br /&gt;
&lt;br /&gt;
con.send_dmx(universe, dmx, DMX_LEN)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Receiving DMX ==&lt;br /&gt;
&lt;br /&gt;
Receiving is slightly harder, we need to setup an Observer object to handle the events:&lt;br /&gt;
&lt;br /&gt;
''' THIS ISN'T WORKING YET ''' [simonn]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
from lla import *&lt;br /&gt;
import sys&lt;br /&gt;
&lt;br /&gt;
class Observer(LlaClientObserver):&lt;br /&gt;
  &amp;quot;&amp;quot;&amp;quot; Handle the events &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
  def new_dmx(self, uni, length, data):&lt;br /&gt;
    &amp;quot;&amp;quot;&amp;quot; Called with new dmx buffer &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
    return 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# create a new LlaClient&lt;br /&gt;
con = LlaClient()&lt;br /&gt;
&lt;br /&gt;
# create an observer object and register&lt;br /&gt;
ob = Observer()&lt;br /&gt;
con.set_observer(ob)&lt;br /&gt;
&lt;br /&gt;
if con.start():&lt;br /&gt;
  sys.exit()&lt;br /&gt;
&lt;br /&gt;
con.register_uni(1, LlaClient.REGISTER)&lt;br /&gt;
&lt;br /&gt;
while True:&lt;br /&gt;
  con.fd_action(1)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Doudou</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=OLA_Python_API&amp;diff=2416</id>
		<title>OLA Python API</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=OLA_Python_API&amp;diff=2416"/>
				<updated>2007-12-28T18:38:00Z</updated>
		
		<summary type="html">&lt;p&gt;Doudou: /* Building the Python Bindings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Building the Python Bindings ==&lt;br /&gt;
&lt;br /&gt;
See [[Building LLA]]  but run ''./configure --enable-python-libs''&lt;br /&gt;
&lt;br /&gt;
Note that you have to install Swig in order to build the python bindings (sudo apt-get install swig)&lt;br /&gt;
&lt;br /&gt;
== Interesting Classes ==&lt;br /&gt;
&lt;br /&gt;
; LlaClient&lt;br /&gt;
: the main connection class&lt;br /&gt;
; dmxBuffer&lt;br /&gt;
: represents a list of DMX channel values&lt;br /&gt;
; LlaClientObserver&lt;br /&gt;
: base class to handle events&lt;br /&gt;
; LlaPlugin&lt;br /&gt;
: represents a Plugin&lt;br /&gt;
; LlaDevice&lt;br /&gt;
: represents a Device&lt;br /&gt;
&lt;br /&gt;
== Sending DMX ==&lt;br /&gt;
A simple example to send DMX:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
from lla import *&lt;br /&gt;
import sys&lt;br /&gt;
&lt;br /&gt;
con = LlaClient()&lt;br /&gt;
if con.start():&lt;br /&gt;
  sys.exit()&lt;br /&gt;
&lt;br /&gt;
universe = 0&lt;br /&gt;
&lt;br /&gt;
# create a dmxBuffer for the channel values&lt;br /&gt;
DMX_LEN = 512&lt;br /&gt;
dmx = dmxBuffer(DMX_LEN)&lt;br /&gt;
for i in range(0, DMX_LEN):&lt;br /&gt;
  dmx[i] = i&lt;br /&gt;
&lt;br /&gt;
con.send_dmx(universe, dmx, DMX_LEN)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Receiving DMX ==&lt;br /&gt;
&lt;br /&gt;
Receiving is slightly harder, we need to setup an Observer object to handle the events:&lt;br /&gt;
&lt;br /&gt;
''' THIS ISN'T WORKING YET ''' [simonn]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
from lla import *&lt;br /&gt;
import sys&lt;br /&gt;
&lt;br /&gt;
class Observer(LlaClientObserver):&lt;br /&gt;
  &amp;quot;&amp;quot;&amp;quot; Handle the events &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
  def new_dmx(self, uni, length, data):&lt;br /&gt;
    &amp;quot;&amp;quot;&amp;quot; Called with new dmx buffer &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
    return 0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# create a new LlaClient&lt;br /&gt;
con = LlaClient()&lt;br /&gt;
&lt;br /&gt;
# create an observer object and register&lt;br /&gt;
ob = Observer()&lt;br /&gt;
con.set_observer(ob)&lt;br /&gt;
&lt;br /&gt;
if con.start():&lt;br /&gt;
  sys.exit()&lt;br /&gt;
&lt;br /&gt;
con.register_uni(1, LlaClient.REGISTER)&lt;br /&gt;
&lt;br /&gt;
while True:&lt;br /&gt;
  con.fd_action(1)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Doudou</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=Building_OLA&amp;diff=2415</id>
		<title>Building OLA</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=Building_OLA&amp;diff=2415"/>
				<updated>2007-12-28T18:34:37Z</updated>
		
		<summary type="html">&lt;p&gt;Doudou: /* Installed Dependencies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Sometimes you'll need to build [[LLA]] from the sources rather than using the pre-built .deb. For example on non-debian systems or if you want to use the LLA-Dmx4Linux plugin.&lt;br /&gt;
&lt;br /&gt;
See also: [[Building LLA for OS X]]&lt;br /&gt;
&lt;br /&gt;
== Installed Dependencies ==&lt;br /&gt;
&lt;br /&gt;
If you're building from the git version you'll need the perl Template module installed. Run the following:&lt;br /&gt;
&lt;br /&gt;
 perl -e &amp;quot;use Template&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you get an error you'll need to download and install Template.pm (or apt-get install libtemplate-perl)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If, while compiling, you get an error that looks like &lt;br /&gt;
&lt;br /&gt;
  Can't locate XML/Simple.pm in @INC&lt;br /&gt;
&lt;br /&gt;
you'll need to install XML::Simple (e.g. apt-get install libxml-simple-perl)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You may also install autoconf, automake and libtool (sudo apt-get install autoconf automake libtool).&lt;br /&gt;
&lt;br /&gt;
In some systems like Ubuntu, default shell has been replaced by Dash. The reconf script needs bash (as it uses popd and pushd). So if you encounter problems while executing the reconf script, you may edit it and replace /bin/sh by /bin/bash in the first line.&lt;br /&gt;
&lt;br /&gt;
== Download &amp;amp; Extract ==&lt;br /&gt;
&lt;br /&gt;
Either download the latest archive or grab the sources via git:&lt;br /&gt;
&lt;br /&gt;
 wget http://www.nomis52.net/data/sources/lla/lla-latest.tar.gz&lt;br /&gt;
 tar -zxf lla-latest.tar.gz&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 git clone http://www.nomis52.net/git/lla&lt;br /&gt;
&lt;br /&gt;
== Build ==&lt;br /&gt;
&lt;br /&gt;
If you downloaded an archive you can skip the reconf step, otherwise run reconf which will also auto-generate parts of the code:&lt;br /&gt;
&lt;br /&gt;
 ./reconf&lt;br /&gt;
 Generating source files...&lt;br /&gt;
 Done lla-UsbPro&lt;br /&gt;
 Done lla-ArtNet&lt;br /&gt;
 Running autotools&lt;br /&gt;
 + aclocal -I config&lt;br /&gt;
 + autoconf&lt;br /&gt;
 + autoheader&lt;br /&gt;
 + automake -a&lt;br /&gt;
 + exit&lt;br /&gt;
&lt;br /&gt;
Then run ./configure and check which plugins will be built:&lt;br /&gt;
&lt;br /&gt;
 ./configure&lt;br /&gt;
 ...&lt;br /&gt;
 checking for artnet_new in -lartnet... yes&lt;br /&gt;
 checking for DMXdev in -ldmx4linux... no&lt;br /&gt;
 checking for espnet_new in -lespnet... yes&lt;br /&gt;
 checking for shownet_new in -lshownet... no&lt;br /&gt;
 checking for sandnet_new in -lsandnet... yes&lt;br /&gt;
 checking for pathport_new in -lpathport... yes&lt;br /&gt;
&lt;br /&gt;
In this case we're not going to build the shownet and dmx4linux plugins as we don't have the necessary libraries installed.&lt;br /&gt;
&lt;br /&gt;
Finally run make:&lt;br /&gt;
&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
== Install ==&lt;br /&gt;
&lt;br /&gt;
(become root)&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
== Test ==&lt;br /&gt;
&lt;br /&gt;
Check that llad runs:&lt;br /&gt;
&lt;br /&gt;
 llad -d 3 -f -s&lt;/div&gt;</summary>
		<author><name>Doudou</name></author>	</entry>

	<entry>
		<id>https://wiki.openlighting.org/index.php?title=DMX_USB_Pro&amp;diff=2390</id>
		<title>DMX USB Pro</title>
		<link rel="alternate" type="text/html" href="https://wiki.openlighting.org/index.php?title=DMX_USB_Pro&amp;diff=2390"/>
				<updated>2007-12-18T21:58:25Z</updated>
		
		<summary type="html">&lt;p&gt;Doudou: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:USB]]&lt;br /&gt;
&lt;br /&gt;
[[Image:Dmxusb_pro.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
Link: http://www.enttec.com/index.php?menu=Products&amp;amp;prod=70304&amp;amp;show=description&amp;amp;name=dmxusbpro &amp;lt;br&amp;gt;&lt;br /&gt;
Made by: [[Enttec]] &amp;lt;br&amp;gt;&lt;br /&gt;
{{Features|win=yes|osx=yes|linux=yes|tx=yes|rx=yes|rdm=yes}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The pro widget unlike it's little brother (The Open DMX USB) contains a microprocessor (ATMEGA88) responsible for framing and transmission, or reception of dmx. Also it's USB interface is a FTDI FT245BM, VCP (virtual com port) drivers make programming easy as opening a serial port and sending/receiving! it has 1500v dmx line isolation, A green LED which indicates RX or TX activity, and gold plated neutrik XLR's (1xmale, 1xfemale wired in parallel).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Related Products:&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* [[RDM USB Pro]]&lt;br /&gt;
* [[Open DMX USB]]&lt;br /&gt;
* [[Pro Toolkit]]&lt;/div&gt;</summary>
		<author><name>Doudou</name></author>	</entry>

	</feed>