Model Railroad System  2.2.2
Overall User Manaual
Azatrax Test Programs Reference

These programs can be used to test the various boards made by Azatrax. These include the MRD2-S and MRD2-U boards, which are infrared sensor units with USB interfaces. The MRD2-S includes relays for operating switch motors, power relays, or signals. The MRD2-U contain just a pair of detectors. Azatrax also makes the SR4 board, which is a quad set of solid state relays. Also planned are boards to control stall motor type switch machines and signal driver boards.

MRD Test Program Reference

This program is the basic test program and can be used to test basic functionality of either a MRD2-S or MRD2-U unit. There are buttons for each of the commands that can be sent, plus a display area showing the current state data for the unit.

Synopsis

MRDTest [X11 Resource Options]

This program takes no parameters.

Main GUI Screen

The MRDTest main GUI is shown here:


The upper half contains buttons to invoke each of the commands that the MRD-2 unit understands and the lower half displays the unit's sense data.

MRD Sensor Loop Reference

This program loops, reading the unit sense data at 500 millisecond intervals, displaying the state of the Sense and Latch bits, plus whether or not the stopwatch is ticking and the current stopwatch time value.

Synopsis

MRDSensorLoop [X11 Resource Options] sensorSerialNumber

This program takes one parameter, the serial number of the MRD2-S or MRD2-U unit to test. The program runs until exited or until the MRD2-S MRD2-U unit is unplugged.

Main GUI Screen

The MRDSensorLoop main GUI is shown here:


This screen shows the current state of the MRD2 unit. It is updated every 500 miliseconds (.5 seconds).

SR4 Test Program Reference

This program is the basic test program and can be used to test basic functionality of a SR4 unit. There are buttons for each of the commands that can be sent, plus a display area showing the current state data for the unit.

Synopsis

SR4Test [X11 Resource Options]

Th9iis program takes no parameters.

Main GUI Screen

The SR4Test main GUI is shown here:


The upper half contains buttons to invoke each of the commands that the SR4 unit understands and the lower half displays the unit's sense data.

SL2 Test Program Reference

This program is the basic test program and can be used to test basic functionality of a SL2 unit. There are buttons for each of the commands that can be sent, plus a display area showing the current state data for the unit.

Synopsis

SL2Test [X11 Resource Options]

This program takes no parameters.

Main GUI Screen

The SL2Test main GUI is shown here:


The upper half contains buttons to invoke each of the commands that the SL2 unit understands and the lower half displays the unit's sense data.

Azatrax Device Map Reference

This program is a GUI program for mapping Azatrax units. It creates and updates a text file that maps device serial numbers to names and descriptions. This file can be used as a reference when writing scripts and programs that use these devices.

Synopsis

AzatraxDeviceMap [X11 Resource Options] [mapfile]

This program takes an optional mapfile as its sole parameter

Main GUI Screen

The AzatraxDeviceMap main GUI is shown here:


At the top is a pulldown list of discovered Azatrax unit serial numbers, which can be selected. The LEDs on the selected unit can be flashed to identify which unit it is. The unit can be given a name and a description in the fields supplied.