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 Command Line Tools"

From wiki.openlighting.org

Jump to: navigation, search
(Created page with '=== ola_artnet === This tool queries and sets the ArtNet node's parameters. Options: * -d, --dev <device_id> The device id to configure. * -l, --long_name <long_name> Set the l…')
 
m (ola_usbpro: Update with link to man page)
 
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
=== ola_artnet ===
+
For information on all OLA commands, see [[man:index|the man pages]].
  
This tool queries and sets the ArtNet node's parameters.
+
== ola_artnet ==
  
Options:
+
This tool queries and sets the ArtNet node's parameters, for more information, see [[man:man1/ola_artnet.1|the man page]].
* -d, --dev <device_id> The device id to configure.
 
* -l, --long_name <long_name> Set the long name of the ArtNet device
 
* -n, --name <name> Set the name of the ArtNet device
 
* -s, --subnet <subnet> Set the subnet of the ArtNet device
 
  
 +
It can also be used to list the IP addresses of the ArtNet devices listening to a particular universe:
 +
<pre>
 +
$ ola_artnet  -u 0 -d 1
 +
10.0.0.88
 +
</pre>
 +
 +
== ola_dev_info ==
 +
 +
Display olad devices and ports, for more information, see [[man:man1/ola_dev_info.1|the man page]].
 +
 +
== ola_dmxconsole ==
 +
 +
Send data to the OLA service, for more information, see [[man:man1/ola_dmxconsole.1|the man page]].
 +
 +
== ola_dmxmonitor ==
 +
 +
Monitor the values on a DMX512 universe, for more information, see [[man:man1/ola_dmxmonitor.1|the man page]].
 +
 +
== ola_e131 ==
 +
 +
Manage E1.31 options, for more information, see [[man:man1/ola_e131.1|the man page]].
 +
 +
== ola_patch ==
 +
 +
Control OLA port bindings, for more information, see [[man:man1/ola_patch.1|the man page]].
 +
 +
== ola_set_priority ==
 +
 +
Sets the priorities for ports. See [[OLA Merging Algorithms]] for more information on what the does, for more information on the command, see [[man:man1/ola_set_priority.1|the man page]].
 +
 +
== ola_streaming_client ==
 +
 +
Stream data to the OLA server, for more information, see [[man:man1/ola_streaming_client.1|the man page]].
  
 
<pre>
 
<pre>
$ ola_artnet -d 1
+
# send a single update
Name: ola - ArtNet node
+
$ ola_streaming_client  -u 1 -d 1,2,255,255
Long Name: ola - ArtNet node
+
# read data from stdin
Subnet: 0
+
$ dmx_generator | ola_streaming_client  -u 1
 +
</pre>
  
$ ola_artnet -d 1 -n "new name" -s 1
+
== ola_uni_info ==
Name: new name
 
Long Name: ola - ArtNet node
 
Subnet: 1
 
</pre>
 
  
=== ola_usbpro ===
+
Display the active universes in OLA, for more information, see [[man:man1/ola_uni_info.1|the man page]].
  
This tools queries and control the parameters of the [[DMX USB Pro|Enttec USB Pro]] devices.
+
== ola_usbpro ==
  
Options:
+
This tools queries and control the parameters of the [[DMX USB Pro|Enttec USB Pro]] devices, for more information, see [[man:man1/ola_usbpro.1|the man page]].
* -d, --dev <dev_id> The device id to configure.
 
* -s, --serial Show the serial number for this device.
 
* -b, --brk <brk> Set the break time in 10.67 microseconds steps (9 - 127)
 
* -m, --mab <mab> Set the make after-break-time in 10.67 microseconds steps (1 - 127)
 
* -r, --rate <rate> Set the transmission rate to <rate> frames per second (1-40)
 
* -s, --serial Get the serial number.
 
  
 
<pre>
 
<pre>

Latest revision as of 09:28, 24 July 2013

For information on all OLA commands, see the man pages.

ola_artnet

This tool queries and sets the ArtNet node's parameters, for more information, see the man page.

It can also be used to list the IP addresses of the ArtNet devices listening to a particular universe:

$ ola_artnet  -u 0 -d 1 
10.0.0.88

ola_dev_info

Display olad devices and ports, for more information, see the man page.

ola_dmxconsole

Send data to the OLA service, for more information, see the man page.

ola_dmxmonitor

Monitor the values on a DMX512 universe, for more information, see the man page.

ola_e131

Manage E1.31 options, for more information, see the man page.

ola_patch

Control OLA port bindings, for more information, see the man page.

ola_set_priority

Sets the priorities for ports. See OLA Merging Algorithms for more information on what the does, for more information on the command, see the man page.

ola_streaming_client

Stream data to the OLA server, for more information, see the man page.

# send a single update
$ ola_streaming_client  -u 1 -d 1,2,255,255
# read data from stdin
$ dmx_generator | ola_streaming_client  -u 1

ola_uni_info

Display the active universes in OLA, for more information, see the man page.

ola_usbpro

This tools queries and control the parameters of the Enttec USB Pro devices, for more information, see the man page.

$ ola_usbpro -d 5
Device: 5
Firmware: 1.44
Break Time: 96.03us
MAB Time: 96.03us
Packet Rate: 40 packets/sec

$ ola_usbpro -d 5 -s
Device: 5
Serial: 02050016

$ ola_usbpro -d 5 -m 1 -b 9 -r 30
Device: 5
Firmware: 1.44
Break Time: 96.03us
MAB Time: 10.67us
Packet Rate: 30 packets/sec