I have the same issue. In my case I am also recording LFPs, so my solution was to dump the timestamps of each frame grab from the miniscope (TTLs from port 2 on the miniscope DAQ) and the other TTL (a tone presentation in my case) into our Intan acquisition system and use the timestamps recorded for each TTL in Intan to align everything.
You could probably achieve the same thing by sending the TTLs from the miniscope and other system to an arduino or National Instruments card and log the system time for each TTL, though there will definitely be some latency between the actual TTL time and recorded time that you'll need to account for.