Personal tools
The Open Lighting Project has moved!

We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.

Difference between revisions of "OLA Tips & Tricks"

From wiki.openlighting.org

Jump to: navigation, search
m (Tips & Tricks moved to LLA Tips & Tricks: more descriptive name)
Line 1: Line 1:
 
== Plugin Config Files ==
 
== Plugin Config Files ==
  
Each plugin can create a config file (usually stored in ~/.lla ) to store settings. Config files are in the form:
+
Each plugin can create a config file (usually stored in ~/.ola ) to store settings. Config files are in the form:
 
  # lines starting with a # are comments
 
  # lines starting with a # are comments
 
  key = value
 
  key = value
Line 23: Line 23:
 
   
 
   
 
   
 
   
  $ lla_plugin_info -p 8
+
  $ ola_plugin_info -p 8
 
  Stage Profi Plugin
 
  Stage Profi Plugin
 
  ----------------------------
 
  ----------------------------
Line 29: Line 29:
 
  This plugin creates devices with one output port.
 
  This plugin creates devices with one output port.
 
   
 
   
  --- Config file : lla-stageprofi.conf ---
+
  --- Config file : ola-stageprofi.conf ---
 
   
 
   
 
  device = /dev/ttyUSB0
 
  device = /dev/ttyUSB0
Line 36: Line 36:
 
  for the LAN version. Multiple devices are supported.
 
  for the LAN version. Multiple devices are supported.
  
In addition to the parameters defined by the plugin, there are two parameters available for all plugins, ''enabled'' and ''debug'':
+
In addition to the parameters defined by the plugin, there is one parameter available for all plugins ''enabled'':
  
  # don't load this plugin
+
  # skip loading the plugin
 
  enabled = false
 
  enabled = false
 
# turn on debug
 
debug = true
 

Revision as of 19:12, 2 August 2009

Plugin Config Files

Each plugin can create a config file (usually stored in ~/.ola ) to store settings. Config files are in the form:

# lines starting with a # are comments
key = value

You can find the available options by querying the plugin using lla_plugin_info:

$ lla_plugin_info 
  ID   Device Name
--------------------------------------
   0   ArtNet Plugin
   1   Dummy Plugin
   2   EspNet Plugin
   3   OpenDmx Plugin
   4   Pathport Plugin
   5   ShowNet Plugin
   6   SandNet Plugin
   7   UsbPro Plugin
   8   StageProfi Plugin
   9   Dmx4Linux Plugin
--------------------------------------


$ ola_plugin_info  -p 8
Stage Profi Plugin
----------------------------

This plugin creates devices with one output port.

--- Config file : ola-stageprofi.conf ---

device = /dev/ttyUSB0
device = 192.168.1.250
The device to use either as a path for the USB version or an IP address
for the LAN version. Multiple devices are supported.

In addition to the parameters defined by the plugin, there is one parameter available for all plugins enabled:

# skip loading the plugin
enabled = false