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.
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
m (Tips & Tricks moved to LLA Tips & Tricks: more descriptive name) |
(→Plugin Config Files) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
== Plugin Config Files == | == Plugin Config Files == | ||
− | Each plugin can create a config file (usually stored in ~/. | + | 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 7: | Line 7: | ||
You can find the available options by querying the plugin using lla_plugin_info: | You can find the available options by querying the plugin using lla_plugin_info: | ||
− | $ | + | $ ola_plugin_info |
ID Device Name | ID Device Name | ||
-------------------------------------- | -------------------------------------- | ||
Line 23: | Line 23: | ||
− | $ | + | $ 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 : | + | --- 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 | + | In addition to the parameters defined by the plugin, there is one parameter available for all plugins ''enabled'': |
− | # | + | # skip loading the plugin |
enabled = false | enabled = false | ||
− | |||
− | |||
− |
Latest revision as of 01:47, 29 August 2011
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:
$ ola_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