Ancy,
Your best bet in getting a solution to this problem would be to contact the manufacturer of the hardware, who I'm assuming provided you with the LabVIEW driver. They should be able to assist you with questions regarding the use of the driver. Also, if one of your colleagues is an experienced LabVIEW programmer, you could get them to review your program to make sure they don't see anything LabVIEW-related that might be causing the problem.
Good luck, and have a pleasant day.
Sincerely,
Darren N.
NI Applications Engineer