HI guys , i am stumbling a little on how to do this in the code using pulsin , rctime to determine which pulse is missing in the stream

thought using pulsing to find the 1ms low header then grabbing the next 10 pulses but thats not going to work if some are missing , so need to stop when the next 1ms low is there ???
and then how to find which pulse was missing ??



i have pulse stream that has

1. 1ms low header followed by 10 pulses when all is ok then the 1ms low header for next stream , the duration between first 1ms header and next header pulse is close to constant of about 7ms

The 10 pulses , when all there have a @300us high , with a either a @300us low or @450us low depending on flag set 0 or 1
each pulse position low 1 - 10 relates to a input .

so when the input 6 is not there ( missing ) the signal remains high in the stream for that position
i need to know which pulse input went missing in the stream ( eg did not go low ) , there may be many inputs that go missing at any given time and but i still get the 1ms header at the start

can someone give an example on how to do this


cheers

Sheldon