nomis52.net
View Simon Newton's profile on LinkedIn

LLA Tools

This page documents the examples programs that come with LLA which allow you to configure the service.

lla_dev_info

Prints a list of all the devices and ports on the system and which universes they are patched to.

Options

None

Example

$ lla_dev_info Device 0: Dummy Device port 0, cap IN/OUT Device 1: Art-Net Device port 0, cap IN port 1, cap IN, universe 1 port 2, cap IN port 3, cap IN port 4, cap OUT, universe 4 port 5, cap OUT port 6, cap OUT port 7, cap OUT Device 2: ESPNet Device port 0, cap IN port 1, cap IN port 2, cap IN port 3, cap IN, universe 3 port 4, cap IN port 5, cap OUT port 6, cap OUT port 7, cap OUT port 8, cap OUT port 9, cap OUT Device 3: ShowNet Device port 0, cap IN port 1, cap IN port 2, cap IN port 3, cap IN, universe 4 port 4, cap IN port 5, cap IN port 6, cap IN port 7, cap IN port 8, cap OUT, universe 3 port 9, cap OUT, universe 1 port 10, cap OUT port 11, cap OUT port 12, cap OUT port 13, cap OUT port 14, cap OUT port 15, cap OUT

lla_dmxconsole

A simple console based lighting console (based on the sample from the DMX4Linux Project). This can generate DMX data to be sent to LLA.

Options

-u <universe> The universe to send to

lla_dmxmonitor

The opposite of lla_dmxconsole, this allows you to monitor DMX on a universe.

Options

-u <universe> The universe to receive from.

lla_latency

Monitors the latency. This program sends DMX packets to the LLA Core and measures the time it takes for them to return.

Options

-u <universe> The universe to send / receive from.

Example

simon@windu:~/lighting/lla-examples/src$ lla_latency rtt 7947 usec rtt 111 usec rtt 118 usec rtt 100 usec rtt 81 usec rtt 77 usec rtt 73 usec rtt 373 usec rtt 112 usec rtt 110 usec rtt 104 usec rtt 81 usec rtt 75 usec rtt 73 usec rtt 548 usec rtt 117 usec rtt 112 usec rtt 75 usec Best 73 , Worst 7947, Avg 571

lla_patch

This controls the patching for ports. It is used to patch / unpatch a port from a universe.

Options

-a, --patch Patch this port (default). -d, --device <device> Id of device to patch. -p, --port <port> Id of the port to patch. -r, --unpatch Unpatch this port. -u, --universe <uni> Id of the universe to patch to (default 0).

Example

Patch port 2 of device 1 to universe 4:

$ lla_patch -d 1 -p 2 -u 4

Unpatch port 2 of device 1:

$ lla_patch -r -d 1 -p 2

lla_plugin_info

Displays information about the loaded plugins.

Options

-p, --pid <pid> Id of the plugin to fetch the description of.

Example

See which plugins are loaded

$ lla_plugin_info ID Device Name -------------------------------------- 0 Dummy Plugin 1 ArtNet Plugin 2 EspNet Plugin 3 ShowNet Plugin 4 UsbPro Plugin --------------------------------------

Show the help for the ArtNet plugin.

$ lla_plugin_info -p 1 ArtNet Plugin ---------------------------- Output Omitted

lla_uni_info

Show informantion about the universes in use.

Example

$ lla_uni_info ID Name Merge Mode ---------------------------------------------------------- 0 conventional 1 effects 3 4 testing ----------------------------------------------------------

lla_uni_name

Set the name of a universe.

Options

-n, --name <name> Name for the universe. -u, --universe <uni> Id of the universe to patch to (default 0).

Example

$ lla_uni_name -u 4 -n testing

lla_usbpro

Query and control the parameters of the Enttec USB Pro device

Options

-b, --brk <brk> Set the break time -d, --dev <dev_id> The device id to configure -m, --mab <mab> Set the make after-break-time -p, --params Get the parameters. -r, --rate <rate> Set the transmission rate. -s, --serial Get the serial number.

Example

$ lla_usbpro -d 4 -p Device 4 Firmware: 1.43 Breaktime: 96.03 us MAB Time: 10.67 us Frame Rate: 40 frames/sec