Endorphin.Instrument.Warwick.PhotonCounter


Devices

Photon Counter

University of Warwick's Department of Physics Electronics Workshop have built PIC based counters which will pick up 6ns pulses emitted by a pair of Excelitas photon counting modules (which have a dead time of at least 20ns) and tally them. They then produce a voltage proportional to the count rate and can emit the count rate over USB serial.

This driver can control these devices and stream the count rates emitted over USB.

1: 
2: 
3: 
4: 
5: 
use pca = new PhotonCounterAgent("COM3")
pca.Rate() |> Observable.add (printfn "Rate: %d")
pca.InternalTrigger 100 // Set internal clock to trigger every 100ms
pca.Emit() // Start streaming count rates
pca.Silence() // Stop streaming count rates

For more information see the test script

val pca : obj

Full name: Tutorial.pca
module Observable

from Microsoft.FSharp.Control
val add : callback:('T -> unit) -> source:System.IObservable<'T> -> unit

Full name: Microsoft.FSharp.Control.Observable.add
val printfn : format:Printf.TextWriterFormat<'T> -> 'T

Full name: Microsoft.FSharp.Core.ExtraTopLevelOperators.printfn
F# Project
Fork me on GitHub