Hello Felix,
Before I can give any specific answer, I need to ask a few questions:
1. What hardware are you using?
2. Which version of Labview and drivers do you have?
3. You are reading at 3 kHz, but how many samples do you send to the application at a time.
Please correct me if I'm wrong, but here is what I understand:
You are acquiring analog and digital inputs continuously at 3kHz.
When your data arrives in your application, you check it to see if a pattern has been received.
If yes, then you want to generate an output that starts when the next group of inputs arrives from the buffer.
If the application is small, could you send me a screenshot or the VI so that I can have a better look at it?
Best Regards,