
To measure period at channel 45 as the average of 1000 signal periods:
*RST TRIGGER:TIMER .2 SENS:FUNC:PER (@145) SENS:PER:RANGE 1,(@145) SENS:PER:MODE NPER(@145) SENS:PER:NPER 1000,(@145) ALG:DEF ’ALG1’,’writecvt(I145,45);’
INIT do loop
SENS:DATA:CVT? (@45)
read value from CVT query above end loop
Alg executes at .2 sec intervals ch 45 to measure signal period set period range 10μsec - 1sec set meas interval by n periods meas and avg 1000 sig periods alg puts period in CVT
start algorithm execution
get period from CVT