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
Line 19: | Line 19: | ||
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 <tt>olad</tt>. Patch the output port on the controller device to a universe (UNIVERSE_NUMBER). | ||
− | == | + | == Patch the controller == |
− | To start the test server, from the command line type: | + | Open the web UI and associate the RDM controller with a universe. You can also do this from the [[Using_OLA#How_to_setup_an_interface|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: | ||
<pre> | <pre> |
Latest revision as of 19:40, 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.
Contents
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?