Hello Uli,
you can find a lv example in the folder: C:\Programme\National Instruments\LabVIEW 8.5\examples\IMAQ\IMAQ Signal IO.llb the example "LL Trigger Drive.vi"
The function you need is called trigger drive.
You can find more information in the reference help (please look at the attachement).
If you install the Vision Acquisition software choose support for C/C++.
To get the same example in a text programing language.
Kind regards,
Elmar