want reliable trigger

Hi,

I want to trigger a sequence of events that take data every 100ms or so, and I want to start the sequence using an external trigger. To do this, I want one of two things:

  1. a way to make an external trigger that activates a piece of code quickly (c. 2-4ms TOPS)
  2. a way to make an external trigger that activates a piece of code after a known time (say, 100ms. within 2ms error margin)

Is there a way to do this? I was going to use an ADC channel and monitor it for a voltage increase but I read on the Help file that this may take up to 10ms to register.

Thanks in advance!