1
DAQ Software/Firmware / Re: Custom frame rates
« on: January 20, 2019, 05:33:34 AM »
Hi mathewrynes,
Yes you can modify the source code to get custom frame rates. In order to do this you will need to add a 45FPS option in the frame rate drop down list as well as edit the Miniscope DAQ firmware running on the Miniscope DAQ PCB. Just search for 'FPS', 'framerate' and 'frame rate' to locate relevant portions of the code. You will also need to read the CMOS imaging sensor data sheet to calculate the correct register values to achieve 45FPS.
When running at 60FPS, where do you see the large variations in frame rate? Is it in the numbers displayed in the Miniscope DAQ software or is in the timestamps in timestamps.dat? The CPU timer we use to calculate instantaneous frame rate and inter frame interval has a couple millisecond variability which could cause the calculated frame rate to bounce around a bit. Also try grabbing the newest version of the Miniscope DAQ software which might help.
Lastly, if you are seeing a significant increase in dropped frames then there is likely no non-hardware related solution.
Yes you can modify the source code to get custom frame rates. In order to do this you will need to add a 45FPS option in the frame rate drop down list as well as edit the Miniscope DAQ firmware running on the Miniscope DAQ PCB. Just search for 'FPS', 'framerate' and 'frame rate' to locate relevant portions of the code. You will also need to read the CMOS imaging sensor data sheet to calculate the correct register values to achieve 45FPS.
When running at 60FPS, where do you see the large variations in frame rate? Is it in the numbers displayed in the Miniscope DAQ software or is in the timestamps in timestamps.dat? The CPU timer we use to calculate instantaneous frame rate and inter frame interval has a couple millisecond variability which could cause the calculated frame rate to bounce around a bit. Also try grabbing the newest version of the Miniscope DAQ software which might help.
Lastly, if you are seeing a significant increase in dropped frames then there is likely no non-hardware related solution.