-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME_IrrKin.txt
More file actions
36 lines (32 loc) · 1.67 KB
/
README_IrrKin.txt
File metadata and controls
36 lines (32 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
=============================================================
INSTRUCTIONS for Autoclick_IrrKin_GUI.ahk
- This AutoHotkey script runs a kinetic measurement using AvaSoft
- With LED irradiation
=============================================================
===========
IMPORTANT:
===========
> Make sure that the Arduino code is uploaded to the Arduino:
"Serial_read_LED_loop_log.ino"
-(in the folder of the same name)
- It should be uploaded already, but upload it again using the Arduino IDE in case something went wrong.
> Make sure that Windows Powershell is running
> Make sure that the python script "interactive_v3.py" is in the same folder as your current working folder in Powershell
- for example: set Powershell directory to that containing this Autoclick script
- cd "workingfolder"
> AvaSoft: set it up for doing "Single measurement" (under the "Start" button)
> For AUTO-SAVE: in AvaSoft, configure "Live Output -- To File" in the tab "File":
- add an output and choose the location of your working folder (don't forget to press the Save button)
- this will make sure your single spectra each get saved as an .Abs file
=============================================================
=============================================================
TO TURN OFF THE LED
(in case the AutoHotkey script got interrupted/cancelled and the LED was not off at that point)
===========
Write in the Windows PowerShell (copy-paste these three lines one after the other)
- (you may need to close the PowerShell and open it again)
===========
$port = new-Object System.IO.Ports.SerialPort COM4,9600,None,8,one
$Port.Open()
$Port.WriteLine(0)
=============================================================