Can I analyze a third party file containing just RR intervals using LabChart's HRV module?

LabChart software has the possibility to import data from various file formats and then use the LabChart's Pro modules for analysis. The most basic file format is a simple txt-file.
However, LabChart modules work only on raw data wave forms, in case of the HRV calculations are performed on ECG (and arterial pulse) recordings. In other words, the module needs to detect the R-peak to do the necessary calculations. Having said that it is possible to use the RR intervals (input from a text file) and create a "pseudo ECG" trace (output text file), that can be opened by LabChart and results in a waveform that has peak intervals according to the input text file. This can then be analyzed with HRV module.

Please note, this file creation requires some scripting knowledge basically outside of LabChart. The attached examples will work with the provided example files format (tab delimited txt file): a column with time and a second column with the RR intervals. If your text input file has a different format you need to amend the scripts accordingly. For a detailed description see the attached files.

Please download the Mac or Windows zip-file. The content is:

Mac: PDF explaining the script, Applescript, example input file
Windows: PDF explaining the script, settings file for LabChart v7 and v8, example input file