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.

OLA Command Line Tools

From wiki.openlighting.org

Revision as of 14:39, 8 August 2009 by Nomis52 (talk | contribs) (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ā€¦')
(diff) ā† Older revision | Latest revision (diff) | Newer revision ā†’ (diff)
Jump to: navigation, search

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 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


$ ola_artnet -d 1
Name: ola - ArtNet node
Long Name: ola - ArtNet node
Subnet: 0

$ ola_artnet -d 1 -n "new name" -s 1
Name: new name
Long Name: ola - ArtNet node
Subnet: 1

ola_usbpro

This tools queries and control the parameters of the Enttec USB Pro devices.

Options:

  • -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.
$ 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