https://wiki.openlighting.org/api.php?action=feedcontributions&user=Ssm2017&feedformat=atomwiki.openlighting.org - User contributions [en]2024-03-29T08:43:45ZUser contributionsMediaWiki 1.29.1https://wiki.openlighting.org/index.php?title=OLA_Patch_persistency&diff=4693OLA Patch persistency2013-03-03T18:32:34Z<p>Ssm2017: /* Patch Persistency */ added the warning</p>
<hr />
<div>= Patch Persistency =<br />
The patch persistency information is stored in plain text files inside your configuration folder (~/.ola or /var/lib/ola/conf)<br />
<br />
The "universe" information is stored inside "ola-universe.conf"<br />
<br />
The "patch" information is stored inside "ola-port.conf"<br />
<br />
To start with something clean we can delete the "ola-universe.conf" and "ola-port.conf" files and ola will create them again when stopping ola.<br />
<br />
WARNING : To keep a persistency, ola need to stop cleanly. That means that is the computer is crashing or if ola is crashing, the patch is not stored in files.<br />
<br />
== Example ==<br />
We are going to patch an ArtNet universe as an input with a DmxKing ultraDMX Micro as an output.<br />
<br />
On this example, i have enabled only the plugins :<br />
* ArtNet<br />
and<br />
* serial usb<br />
setting all the plugins in the config folder with<br />
enabled = false<br />
except the 2 ones needed witch i have enabled using<br />
enabled = true<br />
<br />
=== Starting ola ===<br />
We are starting ola using either the command<br />
/etc/init.d/olad start<br />
or<br />
olad -l 3<br />
-l 3 : means that we are starting ola with the login level 3<br />
<br />
=== Getting devices info ===<br />
To get the devices info we are using the command<br />
ola_device_info<br />
That is returning :<br />
Device 1: ArtNet [10.0.0.2]<br />
port 0, IN , priority 100, RDM supported<br />
port 1, IN , priority 100, RDM supported<br />
port 2, IN , priority 100, RDM supported<br />
port 3, IN , priority 100, RDM supported<br />
port 0, OUT , RDM supported<br />
port 1, OUT , RDM supported<br />
port 2, OUT , RDM supported<br />
port 3, OUT , RDM supported<br />
Device 2: DMXking.com - ultraDMX Micro<br />
port 0, IN Serial #: 84000775, priority 100<br />
port 0, OUT Serial #: 84000775, RDM supported<br />
<br />
=== Patching the devices ===<br />
Fist we are patching the ArtNet device using<br />
ola_patch -d 1 -i -p 0 -u 0<br />
That means :<br />
patch device 1 (-d 1) input (-i) port 0 (-p 0) to the universe 0 (-u 0)<br />
(ola is using the output port as the default one, this is why we need to tell it to use the input using -i.<br />
<br />
Then we are patching the ultraDMX micro using<br />
ola_patch -d 2 -p 0 -u 0<br />
<br />
Now the device info is returning<br />
Device 1: ArtNet [10.0.0.2]<br />
port 0, IN ArtNet Universe 0:0:0, priority 100, patched to universe 0, RDM supported<br />
port 1, IN , priority 100, RDM supported<br />
port 2, IN , priority 100, RDM supported<br />
port 3, IN , priority 100, RDM supported<br />
port 0, OUT , RDM supported<br />
port 1, OUT , RDM supported<br />
port 2, OUT , RDM supported<br />
port 3, OUT , RDM supported<br />
Device 2: DMXking.com - ultraDMX Micro<br />
port 0, IN Serial #: 84000775, priority 100<br />
port 0, OUT Serial #: 84000775, patched to universe 0, RDM supported<br />
<br />
=== Resulted files ===<br />
After stopping ola (using "/etc/init.d/olad stop" or "ctrl+c" (if running it directly on the command line))<br />
<br />
The ola-port.conf and ola-universe.conf are filled with the infos.<br />
<br />
==== ola-universe.conf ====<br />
Here is the content of this file<br />
uni_0_merge = LTP<br />
uni_0_name = Universe 0<br />
LTP priority is set by default.<br />
<br />
A default name "Universe 0" was given to the universe 0.<br />
<br />
==== ola-port.conf ====<br />
Here is the content of this file<br />
2-1-I-0 = 0<br />
2-1-I-0_priority_value = 100<br />
2-1-I-1_priority_value = 100<br />
2-1-I-2_priority_value = 100<br />
2-1-I-3_priority_value = 100<br />
5-84000775-I-0_priority_value = 100<br />
5-84000775-O-0 = 0<br />
<br />
What does it mean ?<br />
<br />
First we need to know about the plugins ids.<br />
<br />
To get the plugins infos, we are using<br />
ola_plugin_info<br />
That is returning<br />
Id Plugin Name<br />
--------------------------------------<br />
1 Dummy<br />
2 ArtNet<br />
3 ShowNet<br />
4 ESP Net<br />
5 Serial USB<br />
6 Enttec Open DMX<br />
7 SandNet<br />
8 StageProfi<br />
9 Pathport<br />
11 E1.31 (sACN)<br />
12 USB<br />
13 FTDI USB DMX<br />
14 OSC<br />
--------------------------------------<br />
In this example, we are only using the ArtNet plugin and the Serial USB plugins.<br />
<br />
We can see that the ArtNet has the id 2 and the Serial USB has the id 5.<br />
<br />
The ola-port.conf file is storing the info as<br />
<plugin-id>-<device-id>-<port-id><br />
We can translate the first line as :<br />
<br />
The plugin 2, device 1 and input port 0 is patched to the universe 0.<br />
<br />
The second line is defining the priority level.<br />
<br />
Then we can see that other ports are not patched.<br />
<br />
And then on the sixth line, we can translate it as :<br />
<br />
The plugin 5, device 84000775 (remember ola_device_info values) Input port 0 is not patched.<br />
<br />
And on the 7th line we can see translate it as :<br />
<br />
The plugin 5, device 84000775 Output port 0 is patched to universe 0.</div>Ssm2017https://wiki.openlighting.org/index.php?title=OLA_Patch_persistency&diff=4692OLA Patch persistency2013-03-03T18:30:10Z<p>Ssm2017: Creating the file</p>
<hr />
<div>= Patch Persistency =<br />
The patch persistency information is stored in plain text files inside your configuration folder (~/.ola or /var/lib/ola/conf)<br />
<br />
The "universe" information is stored inside "ola-universe.conf"<br />
<br />
The "patch" information is stored inside "ola-port.conf"<br />
<br />
To start with something clean we can delete the "ola-universe.conf" and "ola-port.conf" files and ola will create them again when stopping ola.<br />
<br />
== Example ==<br />
We are going to patch an ArtNet universe as an input with a DmxKing ultraDMX Micro as an output.<br />
<br />
On this example, i have enabled only the plugins :<br />
* ArtNet<br />
and<br />
* serial usb<br />
setting all the plugins in the config folder with<br />
enabled = false<br />
except the 2 ones needed witch i have enabled using<br />
enabled = true<br />
<br />
=== Starting ola ===<br />
We are starting ola using either the command<br />
/etc/init.d/olad start<br />
or<br />
olad -l 3<br />
-l 3 : means that we are starting ola with the login level 3<br />
<br />
=== Getting devices info ===<br />
To get the devices info we are using the command<br />
ola_device_info<br />
That is returning :<br />
Device 1: ArtNet [10.0.0.2]<br />
port 0, IN , priority 100, RDM supported<br />
port 1, IN , priority 100, RDM supported<br />
port 2, IN , priority 100, RDM supported<br />
port 3, IN , priority 100, RDM supported<br />
port 0, OUT , RDM supported<br />
port 1, OUT , RDM supported<br />
port 2, OUT , RDM supported<br />
port 3, OUT , RDM supported<br />
Device 2: DMXking.com - ultraDMX Micro<br />
port 0, IN Serial #: 84000775, priority 100<br />
port 0, OUT Serial #: 84000775, RDM supported<br />
<br />
=== Patching the devices ===<br />
Fist we are patching the ArtNet device using<br />
ola_patch -d 1 -i -p 0 -u 0<br />
That means :<br />
patch device 1 (-d 1) input (-i) port 0 (-p 0) to the universe 0 (-u 0)<br />
(ola is using the output port as the default one, this is why we need to tell it to use the input using -i.<br />
<br />
Then we are patching the ultraDMX micro using<br />
ola_patch -d 2 -p 0 -u 0<br />
<br />
Now the device info is returning<br />
Device 1: ArtNet [10.0.0.2]<br />
port 0, IN ArtNet Universe 0:0:0, priority 100, patched to universe 0, RDM supported<br />
port 1, IN , priority 100, RDM supported<br />
port 2, IN , priority 100, RDM supported<br />
port 3, IN , priority 100, RDM supported<br />
port 0, OUT , RDM supported<br />
port 1, OUT , RDM supported<br />
port 2, OUT , RDM supported<br />
port 3, OUT , RDM supported<br />
Device 2: DMXking.com - ultraDMX Micro<br />
port 0, IN Serial #: 84000775, priority 100<br />
port 0, OUT Serial #: 84000775, patched to universe 0, RDM supported<br />
<br />
=== Resulted files ===<br />
After stopping ola (using "/etc/init.d/olad stop" or "ctrl+c" (if running it directly on the command line))<br />
<br />
The ola-port.conf and ola-universe.conf are filled with the infos.<br />
<br />
==== ola-universe.conf ====<br />
Here is the content of this file<br />
uni_0_merge = LTP<br />
uni_0_name = Universe 0<br />
LTP priority is set by default.<br />
<br />
A default name "Universe 0" was given to the universe 0.<br />
<br />
==== ola-port.conf ====<br />
Here is the content of this file<br />
2-1-I-0 = 0<br />
2-1-I-0_priority_value = 100<br />
2-1-I-1_priority_value = 100<br />
2-1-I-2_priority_value = 100<br />
2-1-I-3_priority_value = 100<br />
5-84000775-I-0_priority_value = 100<br />
5-84000775-O-0 = 0<br />
<br />
What does it mean ?<br />
<br />
First we need to know about the plugins ids.<br />
<br />
To get the plugins infos, we are using<br />
ola_plugin_info<br />
That is returning<br />
Id Plugin Name<br />
--------------------------------------<br />
1 Dummy<br />
2 ArtNet<br />
3 ShowNet<br />
4 ESP Net<br />
5 Serial USB<br />
6 Enttec Open DMX<br />
7 SandNet<br />
8 StageProfi<br />
9 Pathport<br />
11 E1.31 (sACN)<br />
12 USB<br />
13 FTDI USB DMX<br />
14 OSC<br />
--------------------------------------<br />
In this example, we are only using the ArtNet plugin and the Serial USB plugins.<br />
<br />
We can see that the ArtNet has the id 2 and the Serial USB has the id 5.<br />
<br />
The ola-port.conf file is storing the info as<br />
<plugin-id>-<device-id>-<port-id><br />
We can translate the first line as :<br />
<br />
The plugin 2, device 1 and input port 0 is patched to the universe 0.<br />
<br />
The second line is defining the priority level.<br />
<br />
Then we can see that other ports are not patched.<br />
<br />
And then on the sixth line, we can translate it as :<br />
<br />
The plugin 5, device 84000775 (remember ola_device_info values) Input port 0 is not patched.<br />
<br />
And on the 7th line we can see translate it as :<br />
<br />
The plugin 5, device 84000775 Output port 0 is patched to universe 0.</div>Ssm2017https://wiki.openlighting.org/index.php?title=Open_Lighting_Architecture&diff=4691Open Lighting Architecture2013-03-03T18:12:49Z<p>Ssm2017: /* Getting Started */ added "OLA Patch persistency"</p>
<hr />
<div>[[Image:OLA-Logo-Fitted-48px.png|right]]<br />
Link: http://code.google.com/p/open-lighting/ <br><br />
{{Features|free=yes|tx=yes|rx=yes|linux=yes|osx=yes|http=yes|rdm=yes}}<br />
[[Image:Ola-download.png |right|link=http://opendmx.net/index.php/Download_%26_Install_OLA]]<br />
[[Image:Llad_home.png| thumb |200px|right|Universe Settings]]<br />
[[Image:Ola-rdm.png|thumb|200px|right|RDM Devices Page]]<br />
[[Image:OLA_patching.png|thumb|200px|right|Drag & Drop RDM Patching]]<br />
[[Image:Ola-mobile.png|thumb|200px|right|Mobile UI]]<br />
<br />
__NOTOC__<br />
The Open Lighting Architecture (OLA) is part of the [[Open Lighting Project]] and provides applications with a mechanism to send and receive [[DMX512]] & [[RDM]] commands using hardware devices and DMX over IP protocols. This enables [[:Category:Controllers | software lighting controllers]] to communicate with hardware either via Ethernet or traditional DMX512 networks.<br />
<br />
OLA can also convert DMX512 data sent using DMX over IP protocols from one format to another, allowing devices from different manufacturers to interact with one another. For example a [[Strand_Lighting|Strand]] Lighting Console using ShowNet can send DMX512 to an [[Enttec]] [[DmxEtherGate MKII|EtherGate]]. When combined with a physical DMX interface such as the [[DMX USB Pro]], OLA can send and receive data from wired DMX512 networks.<br />
<br />
==Supported Protocols==<br />
<br />
{| border=1 cellspacing="0"<br />
! '''Protocol'''!! Linux !! '''Mac OS X''' || '''FreeBSD'''<br />
|-<br />
|| [[:Category:ArtNet|ArtNet, ArtNet 2, ArtNet 3]] || [[Image:Green-tick.png|center]] [[Image:Rdm.gif|center]] || [[Image:Green-tick.png|center]][[Image:Rdm.gif|center]] || [[Image:Green-tick.png|center]][[Image:Rdm.gif|center]]<br />
|-<br />
|| [[E1.31]] / [[ACN]] || [[Image:Green-tick.png|center]] || [[Image:Green-tick.png|center]] || [[Image:Green-tick.png|center]]<br />
|-<br />
|| [[:Category:ESP Net|ESP Net]] || [[Image:Green-tick.png|center]] || [[Image:Green-tick.png|center]] || [[Image:Green-tick.png|center]]<br />
|-<br />
|| [[OSC]] (Open Sound Control) || [[Image:Green-tick.png|center]] || [[Image:Green-tick.png|center]] || ?<br />
|-<br />
|| [[:Category:Pathport|Pathport]] || [[Image:Green-tick.png|center]] || [[Image:Green-tick.png|center]] || [[Image:Green-tick.png|center]]<br />
|-<br />
|| [[:Category:Sandnet|Sandnet]] || [[Image:Green-tick.png|center]] || [[Image:Green-tick.png|center]] || [[Image:Green-tick.png|center]]<br />
|-<br />
|| [[:Category:ShowNet|ShowNet]] || [[Image:Green-tick.png|center]] || [[Image:Green-tick.png|center]] || [[Image:Green-tick.png|center]]<br />
|}<br />
<br />
<br />
==Supported Devices==<br />
<br />
{| border=1 cellspacing="0"<br />
! '''Device'''!! Linux !! '''Mac OS X''' || '''FreeBSD'''<br />
|-<br />
|| [[Anyma uDMX]] || [[Image:Trans.gif|center]] || [[Image:Trans.gif|center]] || ?<br />
|-<br />
|| [[Arduino RGB Mixer]] || [[Image:Green-tick.png|center]] [[Image:Rdm.gif|center]] || [[Image:Green-tick.png|center]] [[Image:Rdm.gif|center]] || ?<br />
|-<br />
|| [[DMX 4 Linux]] || [[Image:Trans.gif|center]] || || ?<br />
|-<br />
|| [[DMX USB Pro]] || [[Image:Trans.gif|center]] [[Image:Recv.gif|center]] [[Image:Rdm.gif|center]] || [[Image:Trans.gif|center]] [[Image:Recv.gif|center]] [[Image:Rdm.gif|center]] || [[Image:Trans.gif|center]] [[Image:Recv.gif|center]] [[Image:Rdm.gif|center]]<br />
|-<br />
|| [[DMX USB Pro MkII]] || [[Image:Trans.gif|center]] [[Image:Recv.gif|center]] [[Image:Rdm.gif|center]] || [[Image:Trans.gif|center]] [[Image:Recv.gif|center]] [[Image:Rdm.gif|center]] || [[Image:Trans.gif|center]] [[Image:Recv.gif|center]] [[Image:Rdm.gif|center]]<br />
|-<br />
|| [[DMX-TRI]] || [[Image:Trans.gif|center]] || [[Image:Trans.gif|center]] || [[Image:Trans.gif|center]]<br />
|-<br />
|| [[DMXking USB DMX512-A]] || [[Image:Trans.gif|center]] [[Image:Recv.gif|center]] || [[Image:Trans.gif|center]] [[Image:Recv.gif|center]] || ?<br />
|-<br />
|| [[DMXter4 RDM]] / [[MiniDMXter]] || [[Image:Rdm.gif|center]] || [[Image:Rdm.gif|center]] || ?<br />
|-<br />
|| [[Eurolite USB DMX512 PRO]] || [[Image:Trans.gif|center]] || [[Image:Trans.gif|center]] || ?<br />
|-<br />
|| [[Open DMX USB]] || [[Image:Trans.gif|center]] || || ?<br />
|-<br />
|| [[Packetheads USB_DMX Dongle]] || [[Image:Green-tick.png|center]] || [[Image:Green-tick.png|center]] || ?<br />
|-<br />
|| [[RDM USB Pro]] || [[Image:Trans.gif|center]] [[Image:Recv.gif|center]] || [[Image:Trans.gif|center]] [[Image:Recv.gif|center]] || ?<br />
|-<br />
|| [[RDM-TRI]] || [[Image:Trans.gif|center]] [[Image:Rdm.gif|center]] || [[Image:Trans.gif|center]] [[Image:Rdm.gif|center]] || [[Image:Trans.gif|center]] [[Image:Rdm.gif|center]] <br />
|-<br />
|| [[Robe Universal Interface]] || [[Image:Trans.gif|center]] [[Image:Recv.gif|center]] [[Image:Rdm.gif|center]] || [[Image:Trans.gif|center]] [[Image:Recv.gif|center]] [[Image:Rdm.gif|center]] || ?<br />
|-<br />
|| [[RUNIT WTX]] || [[Image:Trans.gif|center]] [[Image:Recv.gif|center]] [[Image:Rdm.gif|center]] || [[Image:Trans.gif|center]] [[Image:Recv.gif|center]] [[Image:Rdm.gif|center]] || ?<br />
|-<br />
|| SPI || [[Image:Trans.gif|center]] || || ?<br />
|-<br />
|| [[StageProfi]] || [[Image:Trans.gif|center]] || [[Image:Trans.gif|center]] (Ethernet version only) || ?<br />
|-<br />
|| [http://machosehead.wordpress.com/2010/06/12/udmx_asp/ uDMX_asp] || [[Image:Trans.gif|center]] || [[Image:Trans.gif|center]] || ?<br />
|-<br />
|| [[ultraDMX Pro]] || [[Image:Trans.gif|center]] [[Image:Recv.gif|center]] || [[Image:Trans.gif|center]] [[Image:Recv.gif|center]] || ?<br />
|-<br />
|| [[ultraDMX Micro]] || [[Image:Trans.gif|center]] [[Image:Recv.gif|center]] || [[Image:Trans.gif|center]] [[Image:Recv.gif|center]] || ?<br />
|-<br />
|| [[USBDMX2]] || [[Image:Trans.gif|center]] || [[Image:Trans.gif|center]] || ?<br />
|-<br />
|| [http://www.soh.cz/produkty/modul-usb-dmx512 USB-DMX512] || [[Image:Trans.gif|center]] || [[Image:Trans.gif|center]] || ?<br />
|-<br />
|| [[Velleman K8062]] || [[Image:Trans.gif|center]] || [[Image:Trans.gif|center]] || ?<br />
|-<br />
|| [[Velleman_K8062_Upgrade|VX8062]] || [[Image:Trans.gif|center]] || [[Image:Trans.gif|center]] || ?<br />
|}<br />
<br />
==Getting Started==<br />
<br />
Start here if you've never used OLA before and read these in order.<br />
* [[Download & Install OLA]]<br />
* [[Using OLA]] - A basic introduction<br />
* [[OLA Command Line Tools]] - Documentation for the tools in ola-examples<br />
* [[OLA Device Specific Configuration]]<br />
* [[OLA Tips & Tricks]]<br />
* [[RDM with OLA]]<br />
<br />
<b>Tutorials</b><br />
* [[OLA on Windows with VMWare]]<br />
* [[OLA Live CD]], instructions on how to use the Live CD<br />
* [[OLA Raspberry Pi]]<br />
* [[OLA on Beaglebone]]<br />
* [[OlaOutput Max External]] - Setup OlaOutput on Mac OS X to send DMX messages from Max/MSP/Jitter<br />
* [[OLAGuruPlug]] - Running OLA on a [http://www.globalscaletechnologies.com/c-4-guruplugs.aspx GuruPlug]<br />
* [[OlaLED]] - control RGB LED via http<br />
* [[OLA RDM Responder Testing]]<br />
<br />
<br />
<b>Advanced Topics:</b><br />
* [[OLA Merging Algorithms]]<br />
* [[OLA DiffServ support]] (QOS settings)<br />
* [[OLA DMX Trigger]]<br />
* [[OLA Patch persistency]]<br />
<br />
<b>Developer Documentation:</b><br />
* [[OLA developer info]] - about the source code and structure<br />
* [[OLA Client API]] - the C++ API<br />
* [[OLA Python API]] - easy DMX programming<br />
* [[Build OLA Mac Packages]] - notes for building the .dmg images<br />
* [[Building OLA for Windows]] - Notes on Windows support (in progress)<br />
* [[Using OLA with Xcode]] - on a Mac, in Objective-C++<br />
* [[Writing RDM Responder Tests]]<br />
* [[Port Throttling]] <br />
* [[OLA Performance Stats]]<br />
* [[OLA TimeCode]]<br />
<br />
<b>Tutorials</b>, these refer to the previous release but parts of them are still relevant.<br />
* [[LLA Sandnet Tutorial]] - Setup Horizon using Sandnet and LLA<br />
* [[LLA and Q Light Controller Ubuntu Tutorial]] - Setup LLA on Ubuntu/Debian-type distro with QLC<br />
* [[LLA and Q Light Controller OSX Tutorial]] - Setup LLA on Mac OS X with QLC<br />
<br />
[[Category:ArtNet]]<br />
[[Category:ESP Net]]<br />
[[Category:E1.31]]<br />
[[Category:Sandnet]]<br />
[[Category:ShowNet]]<br />
[[Category:Utilities]]<br />
[[Category:Pathport]]</div>Ssm2017https://wiki.openlighting.org/index.php?title=OLA_Command_Line_Tools&diff=4675OLA Command Line Tools2013-02-22T07:12:45Z<p>Ssm2017: /* ola_dmxconsole */ added some shortcuts</p>
<hr />
<div>=== ola_artnet ===<br />
<br />
This tool queries and sets the ArtNet node's parameters.<br />
<br />
Options:<br />
* -d, --dev <device_id> The device id to configure.<br />
* -l, --long_name <long_name> Set the long name of the ArtNet device<br />
* -n, --name <name> Set the name of the ArtNet device<br />
* -s, --subnet <subnet> Set the subnet of the ArtNet device<br />
<br />
<pre><br />
$ ola_artnet -d 1<br />
Name: ola - ArtNet node<br />
Long Name: ola - ArtNet node<br />
Subnet: 0<br />
<br />
$ ola_artnet -d 1 -n "new name" -s 1<br />
Name: new name<br />
Long Name: ola - ArtNet node<br />
Subnet: 1<br />
</pre><br />
<br />
It can also be used to list the IP addresses of the ArtNet devices listening to a particular universe:<br />
<br />
<pre><br />
$ ola_artnet -u 0 -d 1 <br />
10.0.0.88<br />
</pre><br />
<br />
=== ola_dmxconsole ===<br />
<br />
Send data to a OLA service.<br />
<br />
Options<br />
* -u The universe ID to send data for<br />
<br />
<pre><br />
# open a console for universe 10<br />
ola_dmxconsole -u 10<br />
</pre><br />
<br />
==== some shortcuts ====<br />
q = quit<br />
<br />
f = all channel @ full<br />
<br />
b = all channels blackout<br />
<br />
arrow keys = move between channels<br />
<br />
up/down = coarse change channel value<br />
<br />
+/- = fine change channel value<br />
<br />
space bar = toggle channel value 0 / full<br />
<br />
m = change display mode (% hex dec)<br />
<br />
n = toggle display 1 thru 512 or 0 thru 511<br />
<br />
u = undo<br />
<br />
del = shift channels left<br />
<br />
=== ola_dmxmonitor ===<br />
<br />
Monitor the values on a DMX512 universe<br />
<br />
Options<br />
* -u The universe ID to monitor<br />
<br />
<pre><br />
# open a monitor for universe 10<br />
ola_dmxmonitor -u 10<br />
</pre><br />
<br />
in the app, you can change :<br />
<br />
* display in octal/hexa/decimal<br />
<br />
press m<br />
<br />
* increment/decrement channel<br />
<br />
press + or -<br />
<br />
* increment/decrement per 10 unit<br />
<br />
press page UP or page DOWN<br />
<br />
=== ola_e131 ===<br />
<br />
Manage E1.31 options.<br />
<br />
Option:<br />
* -d, --dev Id of the device to control.<br />
* -h, --help Display this help message and exit.<br />
* -i Input port<br />
* -p, --port_id Id of the port to control<br />
* --preview_mode Set the preview mode bit<br />
<br />
<pre><br />
# turn preview mode on<br />
$ ola_e131 -d X -p 1 --preview_mode<br />
</pre><br />
<br />
=== ola_set_priority ===<br />
<br />
Sets the priorities for ports. See [[OLA Merging Algorithms]] for more information on what the does.<br />
<br />
Options:<br />
* -d, --device <device> Id of device to patch.<br />
* -h, --help Display this help message and exit.<br />
* -i, --input Set an input port<br />
* -o, --override <value> Set the port priority to a static value.<br />
* -p, --port <port> Id of the port to patch.<br />
<br />
<pre><br />
# Override an input port's priority<br />
$ ola_set_priority -d X -p 1 -i -o 50<br />
# Reset an output port to inherit mode<br />
$ ola_set_priority -d X -p 1 <br />
</pre><br />
<br />
=== ola_streaming_client ===<br />
<br />
Stream data to the OLA server.<br />
<br />
Options:<br />
* -d, --dmx <dmx_data> DMX512 data, e.g. '1,240,0,255'<br />
* -h, --help Display this help message and exit.<br />
* -u, --universe <universe_id> Id of universe to send data for.<br />
<br />
<pre><br />
# send a single update<br />
$ ola_streaming_client -u 1 -d 1,2,255,255<br />
# read data from stdin<br />
$ dmx_generator | ola_streaming_client -u 1<br />
</pre><br />
<br />
=== ola_usbpro ===<br />
<br />
This tools queries and control the parameters of the [[DMX USB Pro|Enttec USB Pro]] devices.<br />
<br />
Options:<br />
* -d, --dev <dev_id> The device id to configure.<br />
* -s, --serial Show the serial number for this device. <br />
* -b, --brk <brk> Set the break time in 10.67 microseconds steps (9 - 127)<br />
* -m, --mab <mab> Set the make after-break-time in 10.67 microseconds steps (1 - 127)<br />
* -r, --rate <rate> Set the transmission rate to <rate> frames per second (1-40)<br />
* -s, --serial Get the serial number.<br />
<br />
<pre><br />
$ ola_usbpro -d 5<br />
Device: 5<br />
Firmware: 1.44<br />
Break Time: 96.03us<br />
MAB Time: 96.03us<br />
Packet Rate: 40 packets/sec<br />
<br />
$ ola_usbpro -d 5 -s<br />
Device: 5<br />
Serial: 02050016<br />
<br />
$ ola_usbpro -d 5 -m 1 -b 9 -r 30<br />
Device: 5<br />
Firmware: 1.44<br />
Break Time: 96.03us<br />
MAB Time: 10.67us<br />
Packet Rate: 30 packets/sec<br />
<br />
</pre></div>Ssm2017