Hi rocksolidsr,
I'll admit it's not the most robust sub-vi...
The waveform graph needs to be for a single channel. The instance of DAQmx Read you are currently using is N Channels N Samples. If you change the DAQmx Read (via the drop-down box underneath the function) to be Analog >> Single Channel >> Multiple Samples >> Waveform, the code should work.
-John
John Passiak