Changeset 16795 for trunk/FACT++/scripts


Ignore:
Timestamp:
06/10/13 12:02:12 (12 years ago)
Author:
tbretz
Message:
Added Configuring3 state; improved output whena command is sent:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/scripts/handleFadConnected.js

    r16533 r16795  
    1717
    1818    case "Disconnected":
    19         console.out("Fadctrl in Diconnected... connect.");
     19        console.out("Fadctrl in 'Diconnected'... sending START... waiting for 'Connected'.");
    2020        dim.send("FAD_CONTROL/START");
    2121        return "Connected";
     
    2828    case "Configuring1":
    2929    case "Configuring2":
     30    case "Configuring3":
    3031    case "Configured":
    31         console.out("Fadctrl in Configure state... reset.");
     32        console.out("Fadctrl in Configure state... sending RESET_CONFIGURE... waiting for 'Connected'.");
    3233        dim.send("FAD_CONTROL/RESET_CONFIGURE");
    3334        return "Connected";
    3435
    3536    case "Disengaged":
    36         console.out("Fadctrl in Disengaged... connecting.");
     37        console.out("Fadctrl in 'Disengaged'... sending START... waiting for 'Connected'.");
    3738        dim.send("FAD_CONTROL/START");
    3839        return "Connected";
    3940
    4041    case "RunInProgress":
    41         console.out("RunInProgress detected... closing.");
     42        console.out("Fadctrl in 'RunInProgress'... sending CLOSE_OPEN_FILES... waiting for 'Connected'.");
    4243        dim.send("FAD_CONTROL/CLOSE_OPEN_FILES");
    4344        return "Connected";
Note: See TracChangeset for help on using the changeset viewer.