Matthew is correct. There are many different LabVIEW examples for DAQmx. To see these goto Help » Find Examples in LabVIEW. You will see a list of folders. Next, browse to Hardware Input and Output » DAQmx. The Analog Generation folder has many examples for writing to an analog output and the Analog Measurements folder has many example for reading an analog input. For example, the Acq&Graph Voltage-Int Clk.vi in Analog Measurements » Voltage would be a simple example to read and graph an analog input.
It sounds like you are new to DAQ programming. You may want to have a look at the tutorial linked below. It should be very helpful and serve as a great starting point.
Complete Data Acquisition Tutorial
http://zone.ni.com/devzone/cda/tut/p/id/3116
Regards,
Chris Delvizis
National Instruments