Hello;
The best way to go about that is to use the Route objects to route the output of the counter you want to trigger of the Analog Input task to one of the RTSI lines, and then, specify the same RTSI line on the Start.Condition.Source.
Hope this helps.
Filipe A.
Applications Engineer
National Instruments