This certainly sounds reasonable. If you are using NI hardware, you should start by looking at the DAQ shipping examples. If you are using LabVIEW, you can browse to them through the help menu, otherwise there are some in your ...\NI-DAQ\Examples folder. Furthermore, you may also find something useful in our "Code Library."
Russell
Applications Engineer
National Instruments
http://www.ni.com/support