[Date Prev][Date Next][Date Index]

RE: can scaler record output a pulse every n pulses?





Pete,

> Is it possible for the scaler record to output a software pulse
> every N pulses of a particular input
channel?                                   

I don't think the scaler record can do this, but the calcout record can do it
(within some latency).  Have input A of the calcout record be the scaler
record channel of interest, input B be N.  Use the modulo operator (%).
You can increase the update rate of the scaler record to 60Hz via the medm
screen, and the calcout record will process at this rate if its input is CP.
The rest is an exercise left to the reader :-)

Mark