added writing FrameNumber signal to_min.csv to be able to synchronize recordings (caution: these values are useful only if you change firmware on the DAQ so that it starts to change contrast value only when it detects recording trigger and 0 otherwise)