Non-Fatal Run-Time Error When Measuring Time Delay in LabWindows™/CVI

Updated Dec 11, 2020

Issue Details

I am trying to measure time delay on my NI oscilloscope in LabWindows™/CVI and I get this error:


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: