Files:
1. SR400_Gated_Scan.fig - GUI
2. SR400_Gated_Scan.m - application (run this to control the SR400)
3. parseSR400.m - parses .txt files generated from saved scans, returns a struct with all scan info
4. readSR400.m - parses .txt files generated from saved scans, returns an array of time values and photon counts. NOTE, these time values do not include the dwell time.
5. example.txt - example file generated when you save a scan from the GUI

Notes:
1. When running this software, connect your SR400 to your COM1 port.
2. This software only performs a gated scan. If you wish to perform a continuous scan, please contact me or edit the files.
3. Replace your email address ("address@gmail.com") and password ("pw") in the SR400_Gated_Scan.m file if you want to use the email feature. This feature emails you when a scan has finished. 