Greetings,
I believe the following Knowledge Base will be extremely helpful in describing the error message you are seeing.
Error -10240 when Running LabVIEW-DAQ Application
http://digital.ni.com/public.nsf/websearch/E6D9288AE28A78718625658B0003F699?OpenDocument
Let me know if this doesn't point you in the right direction.
Regards,
Justin Britten
Applications Engineer
National Instruments