This program synchronizes an NI PXI-5401 and an NI PXI-5411.
To successfully run this program, complete the following steps:
1. In the niFgen_Init functions, enter the correct device numbers.
2. Enter the appropriate sample rates, gains, DC offsets, and so on.
3. Include the APP functions, namely APP_ArbitraryWaveform.c, APP_FunctionGenerator.c, and APP_Synchronize.c. You can locate these functions at :\VXIpnp\WinNT\nifgen\examples\AppFuncs.
4. Include niFgen.lib.
Note: The data files square.bin and sine.bin are used in this program. Other files may also be used, such as user-defined.