I would recommend taking a look at the following examples in the LabVIEW Example Finder. If you go to help-->Find Examples, you will see this window. Just search for 9201 and you'll see these 2 examples:
Hope this helps!
Tejinder Gill National Instruments Applications Engineer Visit ni.com/gettingstarted for step-by-step help in setting up your system.