Hi sunswam,
To easily build a daq system which will operate in real time and communicate using TCP/IP you will need to use the RT Communication Wizard, situated in the Tools menu. Have a look at this tutorial on how to use it.
RT Comm WizardYou can start off by selecting an appropriate DAQ example from the shipped examples to build your simple DAQ system. Once the wizard has compiled your vi's, upload the NPL vi to the RT target. The run the Host vi on your host PC to receive data from your PXI target.
Let me know if you have any other questions.