Hi Nmayo,
Thank your for contacting National Instruments. Dennis provided an excellent idea. I would suggest taking a look at that shipping example. I believe that accomplishes what you are trying to do.
Let us know if you any further questions!
Kevin H
National Instruments
WSN/Wireless DAQ Product Support Engineer