To increase your maximum buffer size for standard function mode, set the "Maximum Buffer Size" attribute: in the NI-FGEN LabVIEW property node, "Standard Function Output->Maximum Buffer Size" or in C/C++: NIFGEN_ATTR_FUNC_MAX_BUFFER_SIZE.
You can either set it to something really large (like the memory size of your board) or calculate what you need with the following formula:
max buffer size = max sample rate / minimum frequency
The max sample rate on the 5422 is 200 million samples per second, so if the smallest frequency you want to generate is 10 hertz, set the max buffer size to 20 million samples.
Drew Creel
NI Software Engineer
Signal Generators
Drew Creel
NI Software Group Manager
RF and Signal Generators