Hi Faez,
LabWindows CVI 5 is only supported under Windows 95/NT, Windows 3.0 and UNIX. If you want to use CVI with Windows XP and the PCI-6221 I would recommend upgrading to CVI 2009. Please get in contact with your local NI Branch to discus this further.
Best wishes,
Ben L
Field Engineer
National Instruments