]> jspc29.x-matter.uni-frankfurt.de Git - mvdsensorcontrol.git/commitdiff
added options for the usual settings in testgui
authorJan Michel <j.michel@gsi.de>
Thu, 26 Jun 2014 14:59:38 +0000 (16:59 +0200)
committerJan Michel <j.michel@gsi.de>
Thu, 26 Jun 2014 14:59:38 +0000 (16:59 +0200)
tools/unpacker/unpacker.cxx

index d3d404b056cd40c773584e35fe4a234e81e665fe..9622666155f237a6ff9d168ed5be90bf579dbfa5 100644 (file)
@@ -20,13 +20,16 @@ unsigned sensors[MAX_SENSORS];
 #define FRVALID      2
 #define FROVERFLOW   3
 
-char * picPath = "./png";
-char * mySystem = "ELab";
+const char* filename = "file.hld";
+const char* picPath = "./png";
+const char* mySystem = "NONE";
+
 
 int main(int argc, char** argv) {
 
-  const char* filename = "file.hld";
   if (argc>1) filename = argv[1];
+  if (argc>2) picPath = argv[2];
+  if (argc>3) mySystem = argv[3];  
 
   hadaq::ReadoutHandle ref = hadaq::ReadoutHandle::Connect(filename);
   hadaq::RawEvent* evnt = 0;