11-04-2009 05:32 PM
In the script editor for FGEN, you can specify a 'wait' in 'samples' to pause the generation. If you use a finite (not HW Trigger), how long can you wait? Is the wait # limited to a U32? If so (and assuming you were running at 20MHz), you could wait 2^32/20M=214s. Correct?
11-04-2009 05:58 PM
The wait is limited to a U32, but the limit is in bytes rather than samples. So the actual equation for the maximum wait time is (2^31 -1)/Sample Rate, or about 107s for your example (FGEN devices use 2 bytes per sample). However, that's just the limit for one wait; you can create a script with multiple wait statements if you need a longer wait time, like this:
script waitScript
wait 2000000
wait 2000000
wait 2000000
<etc.>
end script
Drew Creel
Software Group Manger
NI Signal Generators