Measure frequency with time stamp in Logomatic V2

I need to measure pulses from an digital or analog port, then with a simple algotitm calculate frequency. The sensor give to me logic pulses, and i can count this pulses in certain magnitude of time and calculate the frequency every minute.

If the frequency is over certain value i need to write a regiter with the FREQUENCY and a time stamp inside the log (TXT). I need to do this all the time.

Please help me to do this.

Thank you,

Frank