Hi,
We have an NI5450 arbitrary function generation. We use Channel 0 to send a signal to be captured by an ADC and an FPGA downstream for online processing.
Would like to use the PFIs as trigger outputs to the FPGA , with a given sequence with respect to the output data stream (see attached).
I am trying to figure out from the documentation what functions to use. From the NI5450 user guide I think I need:
1- niFgen_ConfigureDigitalLevelScriptTrigger.
2- Export these triggers to PFIs.
3- reset triggers when exiting application.
But I can't manage to find examples of level script triggers that I can use.
How do I define the wait periods between triggers? And how to define a delay between setting a first trigger and start generating data out?
For convenience , these delays should be in units of the sampling clock that the NI5450 uses to generate data.
Regards