I don't have the 2526A driver but if it is like most that NI provides, the example VI will consist of subVIs that only do a simple operation. Look at all of the VIs in the driver and find which VIs set up each channel and put them in a simple while loop if they'll all be configured the same. Wire the index to the channel input if the channels are consecutive. Once they're all configured, find the VI that does a reading. You can put this in a while loop also. Autoindex the output to create an array of readings. You can get fancier with the channel list being in an array and so on.