Hi,
There are two method of transferring data from your host to the FPGA target.
1. Flatten/Unflatten
2. Integer Handshaking
You can find details on how to implement these solutions in the following NI Developer Zone article:
http://zone.ni.com/devzone/cda/tut/p/id/4520
Hope this helps
Rohit
NI India