This functionality is not directly built into the NI-SCOPE driver API.
You may be looking for the Time Delay attribute? You can also compute this information via inspection of the raw waveform and subtracting the time between the points which crossed the mid reference level.
Tobias
Principal Software Engineer
Driver Software
National Instruments