04-25-2011 01:12 PM
Hello,
I am using a NI-PXIe-5122 streaming data P2P to a Ni-PXIe-7965R through a PXIe-1082 Chassis. It works fine.
From the examples, I learned to use a software trigger (that never occurs) and the P2P driver to catch the data from the scope.
Now I have to sincronize this signal with another one, triggering at level 0 - positive slope. Can I export some trigger signal from the 5122 to the FPGA? How?
Thanks,
André
04-28-2011 09:48 AM
Hello,
Please take a look at the following example:
http://zone.ni.com/devzone/cda/epd/p/id/2975
Thanks.
Regards
04-28-2011 12:01 PM - edited 04-28-2011 12:03 PM
Hi Andre,
Triggers can be exported from the NI 5122 using the niScope Export Signal VI (http://zone.ni.com/reference/en-XX/help/370592P-01/scopeviref/niscope_export_signal/). With this VI, you can export to a RTSI (PXI Trig) line; then, in FPGA, you can simply read data from the corresponding RTSI line.
Having said that, I am interested in knowing about what you are trying to accomplish as I am not entirely clear. Are you trying to send a trigger from the digitizer to another device to synchronize them when the condition is met that the signal crosses 0V level on a positive slope? Really the best way to do that is going to be to process the data in the FPGA and assert a line when the condition is met. In order to generate a trigger on the digitizer when the condition is met, you would have to configure a reference trigger (in order to then export it), which won't work with P2P streaming because it will stop the acquisition/stream once it is detected. Perhaps given more details of the application, I may be able to recommend a better solution.
Regards,