I have pulses arriving on C1, C2, C3 and C4, and I would like to measurer the delay of C2, C3, and C4 w.r.t. C1 on a CR1000x.
I tried the following code in my program:
public elapsed(8) TimerInput(elapsed(),C1, 1111, 4441, 0, msec)
but unfortunately it fails to compile, and I haven't found a variation that works
[Version]C:\Campbellsci\Lib\Compilers\CR1000XComp.exe VERSION:CR1000X.Std.06.01 DATE:08/23/2022 test_timerinput.CR1X -- Compile Failed! line 22: Invalid TimerInput function: 4 for channel C3. line 22: Invalid TimerInput function: 4 for channel C4. line 22: Invalid TimerInput function: 4 for channel C5. Error(s) detected in the program. Double-click an error above to navigate to it.
Can anyone suggest a solution?
This post is under review.