10-06-2024 07:47 AM
Hello,
I want to generate two analog output signals (2100Hz sine wave) and TTL signal (from ctr2).
When I set the frequencies of these signals to be the same, I found that the analog output and the TTL signal were misaligned on the oscilloscope. What is the reason?
The code i have question can found in initialize.twoD_lissajous_configure.twoD_lissajous_run function
The vi
10-08-2024 02:47 AM
The most obvious error would seem to be that you configure the trigger task to use the AO task sample clock as trigger source but then start the AO task before the trigger task. Since your trigger task depends on signals generated by other tasks you should start it first so that it is fully armed when the actual AO task starts generating sample clocks that are then used as trigger.