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 "RDM Test Setup Procedure"

From wiki.openlighting.org

Jump to: navigation, search
Line 1: Line 1:
== Install OLA ==
+
This covers the additional tasks required after installing [[OLA]] to run the [[RDM_Responder_Testing|RDM Responder Tests]]. If you're using the downloaded Raspberry Pi image you don't need to do this as it's all done as part of the image.
  
Follow one of [[OLA on OS X]] or [[OLA on Linux]] or [[OLA on Windows with VMWare]] to install [[OLA]]. If you want the biggest benefit from the tests you should use the version in the git repo as tests are added regularly.
+
== Controller Setup ==
 
 
== Setup the Test Rig ==
 
 
 
The following controller devices are supported:
 
* [[RDM-TRI]]
 
* [[DMXter4 RDM]] / [[MiniDMXter]]
 
* [[Robe Universal Interface]] (latest firmware required)
 
* [[DMX USB Pro]] (latest firmware required)
 
  
 
==== DMXter Instructions ====
 
==== DMXter Instructions ====
  
You need to put the DMXter into dongle mode. From the RDM menu, hold the left and right buttons and then hit the center button. The display should change to "USB Dongle Mode".
+
You need to put the DMXter into dongle mode before starting <tt>olad</tt>. From the RDM menu, hold the left and right buttons and then hit the center button. The display should change to "USB Dongle Mode".
  
 
==== RDM TRI Instructions ====
 
==== RDM TRI Instructions ====
  
In order to use the full test suite you need to use this interface in raw RDM mode. This allows the test suite to send malformed & unusual RDM packets to check the responder does the right thing. [TODO(someone): confirm which version of the firmware you need for this]
+
In order to use the full test suite you need to put this interface into raw RDM mode. This allows the test suite to send malformed & unusual RDM packets to check the responder does the right thing.
  
 
To enable raw rdm mode, in ~/.ola/ola-usbserial.conf, change the '''tri_use_raw_rdm''' line:
 
To enable raw rdm mode, in ~/.ola/ola-usbserial.conf, change the '''tri_use_raw_rdm''' line:
Line 25: Line 17:
 
</pre>
 
</pre>
  
 
+
Connect the device under test to the controller and start <tt>olad</tt>. Patch the output port on the controller device to a universe (UNIVERSE_NUMBER).  
Connect the device under test to the controller and start ''olad''. Patch the output port on the controller device to a universe (UNIVERSE_NUMBER).  
 
 
 
 
 
  
 
== Starting the Test Server ==
 
== Starting the Test Server ==

Revision as of 19:36, 10 November 2012

This covers the additional tasks required after installing OLA to run the RDM Responder Tests. If you're using the downloaded Raspberry Pi image you don't need to do this as it's all done as part of the image.

Controller Setup

DMXter Instructions

You need to put the DMXter into dongle mode before starting olad. From the RDM menu, hold the left and right buttons and then hit the center button. The display should change to "USB Dongle Mode".

RDM TRI Instructions

In order to use the full test suite you need to put this interface into raw RDM mode. This allows the test suite to send malformed & unusual RDM packets to check the responder does the right thing.

To enable raw rdm mode, in ~/.ola/ola-usbserial.conf, change the tri_use_raw_rdm line:

tri_use_raw_rdm = true

Connect the device under test to the controller and start olad. Patch the output port on the controller device to a universe (UNIVERSE_NUMBER).

Starting the Test Server

To start the test server, from the command line type:

rdm_test_server.py 

If you don't have olad running you'll see an error like the following:

Checking olad status
Error creating connection with olad. Is it running?