-
Notifications
You must be signed in to change notification settings - Fork 0
ArrayBenchSingle
Check if there is a process already running, if not follow this instructions
OPEN NEW TERMINAL
cd /home/cmsdaq/Workspace/TOFPET/Timing-TOFPET2-py3/arduino/temperature
python3 read_temp.py -o temperature_tmp.txt -p /dev/tempmon_0 -r 9600
Note1: It does not work under the new environment "conda activate tofpet_new" so use the default for now.
Note2: keep this terminal always open.
Temperatures are saved in the temporary file "temperature_tmp.txt" and then automatically attached after each run at the end of the file "temperature_all.txt". The temporary file is then automatically cleared after each run.
- Make sure the cooling system is connected to the power (check black cable with "cooling" label)
- Double click on the "LT_Interface" icon on the laptop desktop --> a GUI opens.
- Click on File -> Open -> Select /home/cmsdaq/.wine/drive_c/users/cmsdaq/PR59TempController/StandardPIDConfig_withHeating.sc (The file should be visible in the window by default) -> Click Open
- Click on Regulator -> Connect
- Click on START on the "Regulator control" (default temperature should be set to 24 degrees Celsius, Sp1 value in the "Regulator information" box): the Peltier cell insidethe box and the fans will start working.
- Check on "Runtime" to see the variation in time of the temperature inside the box (see either T1 line on the graph or Tr1 value in the "Regulator Information" box)
Check if there is a process already running, if not follow this instructions
Make sure the xy table system is connected to the power (check black cable with "guida mobile" label)
Start MOTOR_0 (connected to test board)
OPEN NEW TERMINAL
cd /home/cmsdaq/Workspace/TOFPET/Timing-TOFPET2-py3/arduino/tablexy
python3 grblServer.py --usb /dev/motor_0 -l /tmp/test.log --port=8820
Note: keep this terminal always open.
Start MOTOR_1 (connected to ref board)
OPEN NEW TERMINAL
cd /home/cmsdaq/Workspace/TOFPET/Timing-TOFPET2-py3/arduino/tablexy
python3 grblServer.py --usb /dev/motor_1 -l /tmp/test.log --port=8821
Note: keep this terminal always open.
OPEN NEW TERMINAL
ENLARGE THE TERMINAL TO ABOUTR HALF OF THE SCREEN
cd /home/cmsdaq/Workspace/TOFPET/Timing-TOFPET/arduino/tablexy
For MOTOR_0:
python xyShell.py --port 8820
For MOTOR_1:
python xyShell.py --port 8821
A GUI will open.
At first, the "homing" procedure will be run (the guide moves to reach 0,0 position). Then you can test the movement of the table by changing x/y positions.
IMPORTANT:
-
IN CASE THE XY STOPS AND MAKES A STRANGE NOISE, IMMEDIATELY UNPLUG THE POWER (CABLE WITH "GUIDA MOBILE" LABEL). STOP THE GRBLSERVERS, PLUG THE POWER CABLE BACK AND RESTART FROM THE BEGINNING.
-
IN CASE, THE XY TABLE DOES NOT WORK DURING A RUN (NO RESPONSE, BUT WITHOUT MAKING NOISE) SIMPLY STOP AND RESTART THE SERVER AND TRY AGAIN.