LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I started getting an error message: 10240

On a Windows 2000 computer that worked fine for years I started getting an error message "10240".

Attached is the screen shot.

Can I resolve the issue without a reinstall of the drivers?

Ahmet
0 Kudos
Message 1 of 7
(3,218 Views)
What had changed when you started getting this error?
Are you changing the software?
Did you change LabVIEW versions?
Did you have a virus?
Did you change any registry settings?

Looks like NI-DAQ can't be found.

Can your run MAX and test your DAQ hardware?
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 2 of 7
(3,217 Views)
What version of LabVIEW and NI-DAQ are you using? Is it possible that you saved vi.lib DAQ VIs (such as AI Config or AI Start) into an LLB, and then ported them to another computer or a different version of LabVIEW?

Please refer to the following document Knowledge Base 15BHMK92: Error -10240 when Running LabVIEW-DAQ Application for help on troubleshooting this issue. This document also contains a link to an example on removing vi.lib files from a hierarchy, directory, or LLB.

Best regards,
D. Putnam
Applications Engineer
National Instruments
0 Kudos
Message 3 of 7
(3,217 Views)
* I am not running the LabView 4.0.1, but rather a compiled "exe".

* I have NiDaq 2x.

This and several other computers are dedicated test equipment. Nothing changes on them, except somebody accidentally deleting files etc.

This particular one was set up probably two years ago.

Other computers are all running fine with identical setup.

Thanks,

Ahmet
0 Kudos
Message 4 of 7
(3,217 Views)
As far as I know, nothing changed on the computer. Mayne I should say nothing should have changed. This is a test computer. Labview itself is not installed but rather an "exe" is there that was created on a development computer.

I did not change any registry seetings and nobody should be palying with them, but who knows, it may have been accidentally changed.

When I run the test, it says that the hardware is OK.

It seems like I may have to reinstall the NiDAQ.

Thanks,

Ahmet
0 Kudos
Message 5 of 7
(3,220 Views)
Hi,
I need help from someone who could help me fixing error 10240. I just changed my desktop and earlier I was using Windows 2000 and now I am using Windowns XP but not sure sure why my labview is not working in the new computer.

Deepika
0 Kudos
Message 6 of 7
(2,937 Views)

Hi Topraka

The error message can generate by multiple reasons. Like Putnam said all this reasons are explained in the Knowledge base. I will strongly suggest finding the labview code of that executable and taking a look at it in this way you can follow the steps in this discussion forum: Get error 10240 in labview 6i Evaluation when I run my VI's from lv5.1 and take a look at this knowledge base: Why Do I Receive Error -10240 When Attempting To Run a LabVIEW Executable so you have to make sure the NI-DAQ drivers you have in the directory with the exe are the same as the one in the labview directory where the executable was created.  Can you try the same code in one of the other test machine?

I hope it helps

Jaime Hoffiz
National Instruments
Product Expert
0 Kudos
Message 7 of 7
(2,912 Views)