Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2181

NI5450 , generating timed output triggers via PFI0, PFI1

$
0
0

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Viewing all articles
Browse latest Browse all 2181

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>