Most probably, the answer is in the input terminal configuration. On the analog input tab of the example, change the input terminal configuration for both the stimulus and response channels to "ref. single-ended". The oscilloscope channel is, in effect, providing a referenced ground, so you don't see the drift when you probe the output.
If this doesn't work, give us some more details about the version of the toolkit, whether you are using swept sine in DAQmx or in Traditional DAQ, and what parameters you have specified different than the defaults.
Doug
Enthusiast for LabVIEW, DAQmx, and Sound and Vibration