Model Railroad System
2.2.1
Overall User Manaual
|
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.
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.
This program takes no parameters.
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.
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.
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.
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).
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.
Th9iis program takes no parameters.
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.
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.
This program takes no parameters.
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.
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.
This program takes an optional mapfile as its sole parameter
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.