Difference: ControlPowerSupply (9 vs. 10)

Revision 102016-11-08 - TomErikHaugen

Line: 1 to 1
 
META TOPICPARENT name="UsingHighVoltage"

Controlling the Power Supplies Through the Computer

Line: 30 to 30
  RootCommands.py
Changed:
<
<
This is a small set of Root macros (written in python). Currently it only features functions that read the raw data files and converts the .dat files into .root files (with a TTree). Each of these files takes 2 inputs, the name of the .dat file, and what to name the new .root file.
>
>
This is a small set of Root macros (written in python). Currently it only features functions that read the raw data files and converts the .dat files into .root files (with a TTree). Most of these take 2 arguments, an input file, and an output file.

The new more complicated function takes an input arduino file, and output .root file, and a directory of data files from the DAQ system. It matches files from the directory to data from the arduino using the timestamp then fills a standard ttree with the arduino and daqload data. This process has one major flaw, the process loops over the data of the daq files but can only read the last modification data. If any 3PG files are changed later then the date they were modified will replace the data when the data was taken. It also currently requires the DAQ files to all be their own directory as the file matching only runs on hour and minute not on day or month of data taking.

  Console.py
Line: 110 to 112
 
META FILEATTACHMENT attachment="SerialCom.cpp" attr="" comment="" date="1477090488" name="SerialCom.cpp" path="SerialCom.cpp" size="1871" user="TomErikHaugen" version="1"
META FILEATTACHMENT attachment="SerialCom.h" attr="" comment="" date="1477090488" name="SerialCom.h" path="SerialCom.h" size="703" user="TomErikHaugen" version="1"
META FILEATTACHMENT attachment="start_mon.cxx" attr="" comment="" date="1477090488" name="start_mon.cxx" path="start_mon.cxx" size="3780" user="TomErikHaugen" version="1"
Changed:
<
<
META FILEATTACHMENT attachment="Console.py.txt" attr="" comment="" date="1478198479" name="Console.py.txt" path="Console.py.txt" size="10634" user="TomErikHaugen" version="3"
META FILEATTACHMENT attachment="SerialCommands.py.txt" attr="" comment="" date="1478198508" name="SerialCommands.py.txt" path="SerialCommands.py.txt" size="8854" user="TomErikHaugen" version="3"
META FILEATTACHMENT attachment="RootCommands.py.txt" attr="" comment="" date="1478198528" name="RootCommands.py.txt" path="RootCommands.py.txt" size="2994" user="TomErikHaugen" version="1"
>
>
META FILEATTACHMENT attachment="Console.py.txt" attr="" comment="" date="1478644238" name="Console.py.txt" path="Console.py.txt" size="11448" user="TomErikHaugen" version="4"
META FILEATTACHMENT attachment="SerialCommands.py.txt" attr="" comment="" date="1478644260" name="SerialCommands.py.txt" path="SerialCommands.py.txt" size="8854" user="TomErikHaugen" version="3"
META FILEATTACHMENT attachment="RootCommands.py.txt" attr="" comment="" date="1478644280" name="RootCommands.py.txt" path="RootCommands.py.txt" size="11837" user="TomErikHaugen" version="2"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback