A C# Visual Studio 2013 project that triggers a signal when a heart beat is detected with a camera. It was used to trigger an x-ray machine and a confocal microscope to capture images of hearts at the same time point of the heart beat cycle. It requires an Arduino board and a Pointgrey firefly camera.