02-09-2010 12:23 PM
Hi,
I am using the 5412 AWG. An external signal comes from the test unit. I need to generate a signal to the test unit which should be in synchronous with external signal which comes from the test unit. Can anyone help in this?
Regards, Rajashekar |
02-26-2010 01:53 PM
Hi Rajashekar,
You could synchronize these two signals by sharing a start trigger and using the input signal from your test unit as the sample clock for the 5412. There are some considerations when doing this that can be seen in the External Sample Clock Considerations section of the 5412 help linked below:
If you are using LabVIEW, you can find examples in the Example Finder located at Help >> Find Examples. The FGEN examples are located at Hardware Input and Output >> Modular Instruments >> NI-FGEN >> Arbitrary Waveform Generation. You can choose which line to use as the sample clock. You will also need to add in some triggering. You can find an example of triggering at Hardware Input and Output >> Modular Instruments >> NI-FGEN >> Synchronization >>FGEN DAQmx Synchronization.vi. This is synchronizing to a DAQ card, but you can synchronize to your external signal just the same way, i.e., sharing a start trigger and a reference clock.