Hello nitin,
It sounds like you are looking for some examples on how to program your
6221 DAQ board. I highly reccomend taking a look at the LabVIEW
shipping examples that install with the DAQ driver. To access
them, open the NI Example Finder by going to the menu bar of a VI and
selecting Help >> Find Examples...
If you have any specific questions, please feel free to ask!
Eric
DE For Life!