Hello,
Thank you for contacting National Instruments.
If you are currently using LabVIEW 7, this can easily be accomplished by using our new NI-DAQmx driver. I have attached an example program that is already setup to do exactly what you want to do. You can find more of these example programs in LabVIEW 7 by going to Help >> Find Examples >> Hardware Input and Output >> DAQmx.
Please take a look at the example I have attached. Depending on the board you have, you may need to decrease the size of the Samples per Buffer from 1000 to a smaller number. If you want to increase your resolution, you can decrease the Cycles per Buffer to 1 or increase the Samples per Buffer or both. If you have any trouble, just reply to this posting. If you do not curre
ntly have LabVIEW 7.0 or a DAQ device that is supported by NI-DAQmx, I can point you to some additional resources.
Regards,
Bill B
Applications Engineer
National Instruments