Solution
Time delay is performed on two channels to measure the time from rising edge to rising edge. The NI-SCOPE driver requires you to set the
other channel property manually so that it knows which two channels to use during the measurement. This can be done using the following function:
ViStatus niScope_SetAttributeViString (ViSession vi, ViConstString channelList, ViAttr attributeID, ViConstString value);For example, to measure time delay between channels 0 and 2, set the
other channel property like this: