Changeset 19531
- Timestamp:
- 05/29/19 11:10:03 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/Main.js
r19517 r19531 828 828 irq = cmd ? cmd : "stop"; 829 829 830 // This will end a run in progress as if it where correctly stopped 831 if (dim.state("MCP").name=="TakingData") 832 { 833 if (irq.toUpperCase()=="PREPARE") 834 { 835 // Avoid stopping the trigger preparing for a ToO 836 // this would result in the FEEDBACK going from InProgress to Connected 837 // and thus the threshold settings cannot be reused 838 if (dim.state("FAD_CONTROL").name=="RunInProgress") 839 dim.send("FAD_CONTROL/CLOSE_OPEN_FILES"); 840 } 841 else 842 dim.send("MCP/STOP"); 843 } 830 dim.send("MCP/STOP"); 844 831 845 832 if (irq.toUpperCase()=="PREPARE")
Note:
See TracChangeset
for help on using the changeset viewer.