Hello Eyal,
Your application sounds like a simple case of synchronizing two Signal Generators.
More info is needed though:
- What kind of NI Signal Generators do you have? What's the model and bus type (PXI vs PCI)?
- What frequency or frequencies do you need to support?
If you are using a recent NI Signal Generator (shows up under DAQmx Devices in MAX) then you can use NI-TClk to start both devices synchronously, very tightly.
If you are using a legacy NI Signal Generator (shows up under DAQ Devices in MAX) then you use triggering to start both devices. It won't be as tightly synchronized as with NI-TClk but it's good enough for most use cases.
As far as how to generate the signal, if your device is a new Function Generator (5402, 5406) then use Frequency List Mode. If it's an Arbitrary Signal Generator, you can use Arbitrary Sequence Mode or Script Mode (if supported) to generate the signals.
Let us know if you need more specific details.
Marcos
Marcos Kirsch
Chief Software Engineer
NI Driver Software