From: oharboe at B. <oh...@ma...> - 2009-04-02 20:48:50
|
Author: oharboe Date: 2009-04-02 20:48:48 +0200 (Thu, 02 Apr 2009) New Revision: 1440 Modified: zy1000/trunk/build/menu/zy1000menu.xml Log: use "relay on/off" instead of "power on/off" which, hopefully, is less confusing. Modified: zy1000/trunk/build/menu/zy1000menu.xml =================================================================== --- zy1000/trunk/build/menu/zy1000menu.xml 2009-04-02 17:44:28 UTC (rev 1439) +++ zy1000/trunk/build/menu/zy1000menu.xml 2009-04-02 18:48:48 UTC (rev 1440) @@ -110,10 +110,10 @@ append console [encode [capture_catch "reset run"]] } - if {[string compare $form_action "Power on"]==0} { + if {[string compare $form_action "Relay on"]==0} { append console [encode [capture_catch "power on"]] } - if {[string compare $form_action "Power off"]==0} { + if {[string compare $form_action "Relay off"]==0} { append console [encode [capture_catch "power off"]] } </tcl> @@ -128,8 +128,8 @@ <td><input type="submit" name="form_action" value="Reset and run"></td> <td class="buttonspacesmall"></td><td><input type="submit" name="form_action" value="Halt"></td> <td class="buttonspacesmall"></td><td><input type="submit" name="form_action" value="Resume"></td> - <td style="width:50px;"></td><td><input type="submit" name="form_action" value="Power on"></td> - <td class="buttonspacesmall"></td><td><input type="submit" name="form_action" value="Power off"></td> + <td style="width:50px;"></td><td><input type="submit" name="form_action" value="Relay on"></td> + <td class="buttonspacesmall"></td><td><input type="submit" name="form_action" value="Relay off"></td> </tr></table> <br> @@ -159,8 +159,8 @@ See log for details. <br> <p><b>Target power</b> - Detects power on target. <br> If the JTAG cable is not connected, or the target has no power, then no target power will be detected.</p> - <p><b>Power on</b> - Turn on ZY1000 target power relay.</p> - <p><b>Power off</b> - Turn off ZY1000 target power relay.</p> + <p><b>Relay on</b> - Turn on ZY1000 target power relay.</p> + <p><b>Relay off</b> - Turn off ZY1000 target power relay.</p> <p>Type "help power" in telnet for command to control power relay.</p> <p><b>Reboot ZY1000</b> - Reboots ZY1000 unit. Type "help reboot" in telnet.</p> ]]></markup_code> @@ -673,10 +673,10 @@ append console [encode [capture_catch production_test]] } - if {[string compare $form_action "Power on"]==0} { + if {[string compare $form_action "Relay on"]==0} { append console [encode [capture_catch "power on"]] } - if {[string compare $form_action "Power off"]==0} { + if {[string compare $form_action "Relay off"]==0} { append console [encode [capture_catch "power off"]] } </tcl> @@ -695,8 +695,8 @@ <table><tr> <td><input type="submit" name="form_action" value="Upload firmware" ></td> <td class="buttonspacesmall"> </td><td><input type="submit" name="form_action" value="Test"></td> - <td class="buttonspacesmall"> </td><td><input type="submit" name="form_action" value="Power on"></td> - <td class="buttonspacesmall"> </td><td><input type="submit" name="form_action" value="Power off"> + <td class="buttonspacesmall"> </td><td><input type="submit" name="form_action" value="Relay on"></td> + <td class="buttonspacesmall"> </td><td><input type="submit" name="form_action" value="Relay off"> </tr></table> </form> @@ -709,8 +709,8 @@ <p><b>Upload firmware</b> - Power cycle target, reset target and program raw binary file to flash bank 0, offset 0 and verify flash programming. Leave target powered on.</p> <p><b>Test</b> - Power up target, run 10 second target test. Output is provided via the DCC output channel. </p> - <p><b>Power on</b> - Power on target.</p> - <p><b>Power off</b> - Power off target.</p> + <p><b>Relay on</b> - Relay on.</p> + <p><b>Relay off</b> - Relay off.</p> <p><b>Serial number</b> - A target script can use this string in the production procedure. Type "help production" for more info.</p> ]]> </right_column> |