View Full Version : Does PULSIN round up or down?

02-22-2010, 09:00 PM
PULSIN for BS2 measures in 2usec intervals.· If I have a pulse that is 2.5usec will it be regarded by BS2·as a 2usec or 4usec pulse?


Tracy Allen
02-22-2010, 11:35 PM
I believe it rounds up. As soon as it detects a leading edge, that counts as one. After 2 us, it becomes 2. The only way it returns zero is if the pulse is longer than 0.131070 second, or if a leading edge is not detected within 0.131072 second. That is the "error" marker.

Tracy Allen
www.emesystems.com (http://www.emesystems.com)

02-24-2010, 12:00 AM
Thank you very much.