Renaud,
Your board is a DAQ-STC board, not a NI-TIO based board, you may want to check the examples for your board type instead.
It can be extensive to explain by email possible solutions for what you want to measure, I really recommend that you call NI Support Engineers ( Info: http://sine.ni.com/apps/we/niae_asc.main ) and we can work with you in this.
As first thoughts you can start a counter at the same time you are starting the generation of the ramp, and stop the counter as soon as you detect that there is a signal being acquired in your PFI line (are you talking about an analog or a TTL based signal), then with the counts and the timebase used in the counter you can calculate the period. With your suggestion we are going to try to develop an example program which wil
l behave similar to what you want to do.
Information on specific VI's can be found in your LV context help and also in the technical support page of NI ( http://search.ni.com/?col=alldocs&layout=TechResources&ql=a )just perform a search and you'll get multiple articles.
Good luck!
Nestor Sanchez
Applications Engineering
National Instruments
Nestor