Several people have done that kind of work with LV.
Do you have specific questions?
WARNING! You should not use standard DAQ hardware without isolated signal conditioning between the electrodes and the computer. Leakage currents could be dangerous, possibly lethal, to the subject whose ECG is being measured.
There are 3 main segments to this application. One is the data acquisition. Second is the heart rate extraction from the raw ECG data. Third is the HRV analysis. Each of these can be relatively straightforward or quite complex depending on the specifications you must meet and the conditions under which the measurements and analysis are done.
Lynn