This is a depository for sample codes that can be used with 4-Channel Time to Digital Converter.
For further information, go to the wiki page in this depository, the specifications and command list can be found there.
Feel free to play with the code but please credit us if you are publishing your own version.
Python Package (highly reccomended for non-GUI applications) at https://github.com/s-fifteen-instruments/pyS15
Sample timestamp mode collection Python script at https://github.com/s-fifteen-instruments/pyS15/blob/master/examples/TDC1_sample_timestamp_collect.py
Sample g2 correlation histogram Python script at https://github.com/s-fifteen-instruments/pyS15/blob/master/examples/TDC1_g2_coincidences.py