I would like to program my DG-1022z over LAN, and set up a large buffer with a very complex waveform, taking advantage of the 16M option (16 million samples are allowed). Yet I can't find any technique that supposedly allows this. Looking in the programming guide. I've looked at both the :DATA:DAC and :DATA:DAC16 commands. However, they only support up to 16 thousand data points each (more specifically, they support up to 16384 points). This is far smaller than the 16M data points allowed with the 16M option that I paid lots of money for (and I hope to get my money's worth out of it).
Now the :DATA:DAC16 command sounds like it should be able to be extended, with multiple uses of the command (using the CON flag for all but the last use, and the END flag for the last use), as long as you don't exceed the 16384 data limit for each time the command is sent. Theoretically this would let you send it a large amount of data total, well above the normal 16384 limit. However, from experience, it seems that if the total data from all the uses of the command adds up to more than 16384 samples, then the command still fails.
Also, the programming guide doesn't seem to indicate properly what line-end character(s) it's expecting after a command. Does it expect CR, LF, or CR+LF? Also, when used in the context of a data buffer (binary data block it's called in the manual, which has a specific format for sending), after sending the indicated number of bytes, does it expect a line-end character? And when using multiple sends of the :DATA:DAC16 command, does it expect a line-end character only after the last one (the one with the END flag)? Or does it expect a line-end character after each sending of the command? Or (since the data block format already has a way to determine the length of the data to be sent) does it not expect any line-end character after the data is sent?
I can't find anything about that in the programming manual. They leave a lot of important info out, and just seem to expect you to figure it out on your own, by experimenting with different syntaxes until it just works. I hope somebody here who's got experience with controlling this function generator over LAN, while it's equipped with the 16M option, will comment here, and let me know exactly how to format the commands for sending it the data in large amounts that takes advantage of the 16M option.