I have a newbie question on measurement of edge separation between two rising edges.
I am trying to configure an external counter timebase to measure the time between the rising edges of two digital signals. The external counter timebase is 10MHz. Is it possible to phase lock this signal so that the internal 80MHz uses this as the reference?
I am using the C# example code from NI, Meas2EdgeSeparation_BufCont
CIChannel cChannel = myTask.CIChannels.CreateTwoEdgeSeparationChannel(
counterComboBox.Text,"",
Convert.ToDouble(minimumTextBox.Text),
Convert.ToDouble(maximumTextBox.Text),
firstEdge, secondEdge, CITwoEdgeSeparationUnits.Seconds);
cChannel.CounterTimebaseSource = "/Dev1/PFI7";
cChannel.CounterTimebaseRate = 10000000;
Is this the correct way to specify the external counter timebase rate?