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.

RDM Test Setup Procedure

From wiki.openlighting.org

Revision as of 19:40, 10 November 2012 by Nomis52 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Patch the controller

Open the web UI and associate the RDM controller with a universe. You can also do this from the command line.

Starting the Test Web Server

You only need to do this if you're planning on using the Web UI for RDM testing. 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?