Changeset 9443 for trunk/MagicSoft/Cosy/cosy.cc
- Timestamp:
- 05/11/09 21:49:57 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/cosy.cc
r9439 r9443 115 115 // Evaluate arguments 116 116 // 117 MArgs arg(argc, argv , kTRUE);117 MArgs arg(argc, argv); 118 118 gLog.Setup(arg); 119 119 … … 131 131 const Bool_t kDebugMem = arg.HasOnlyAndRemove("--debug-mem"); 132 132 const Bool_t kDebugThreads = arg.HasOnlyAndRemove("--debug-threads"); 133 const Int_t ceco_tx = arg.GetIntAndRemove("--cc-tx=", 7314);//7304);134 const Int_t ceco_rx = arg.GetIntAndRemove("--cc-rx=", 7414);//7404);135 133 const TString kConfig = arg.GetStringAndRemove("--config=", ".cosyrc"); // ceco 136 134 Int_t kDebugEnv = arg.HasOnlyAndRemove("--debug-env") ? 1 : 0; … … 160 158 const Int_t channel = env.GetValue("DefaultCameraChannel", 0); 161 159 const TString sps = env.GetValue("IpAddressSPS", "sps"); 162 const TString ceco = env.GetValue("IpAddressCentralControl", "161.72.130.60"); 160 const TString ceco = env.GetValue("IpAddressCentralControl", "161.72.130.2"); 161 const Int_t ceco_rx = env.GetValue("PortCentralControlRX", 7404); 162 const Int_t ceco_tx = env.GetValue("PortCentralControlTX", 7304); 163 163 const TString powerswitch = env.GetValue("IpAddressPowerSwitch", ""); 164 164 const Int_t telescope = env.GetValue("Telescope", 1); … … 214 214 if (kDebugMem) 215 215 TObject::SetObjectStat(kTRUE); 216 217 // Check if a connection can be established 218 const Int_t save = gDebug; 219 gDebug = 1; 220 TSocket test(sps, 5357); 221 gDebug = save; 222 test.Close(); 216 223 217 224 //
Note:
See TracChangeset
for help on using the changeset viewer.