Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -10440 in a fresh Windows2000 installation

I just installed and patched LabVIEW 6.0.2 and NI-DAC 6.9.3 in a Windows 2000 box. I'm trying to use some sofware that I've previously developed in a Windows NT box with exactly the same software setup. The programs were running without a hitch in that box. I'm using a 6533 DIO board. It is recognized by the Measurement and Automatation program and it passes all the tests. When I try to run the programs that access the board I get the error:

Error -10440 occurred at DIO Port Write.

Possible reasons:

NI-DAQ LV: The specified resource is owned by the driver and cannot be accessed or modified by the user.

I tried logging in as Administator buy I get the same result. Has anyone encountered this problem? Am I doin
g something wrong?

Thanks for any help!

Pablo Acosta
0 Kudos
Message 1 of 7
(3,997 Views)
Hello Pablo,

Are you using an accessory with your 6533 DIO board? If so, what is configured as the board's accessory in MAX?

Let's first take your software application out of the picture. If you open a MAX test panel for your 6533 and attempt to read/write to/from your digital lines do you still get an error from within MAX?

If you do not get an error from within MAX, then the problem most likely exists in your software. We will want to close MAX and try running an example program. Simply, open the search examples browser in LabVIEW and try running one of the simple DIO examples. Do you get an error from these example VIs?

Regards,
Justin Britten

Applications Engineer
National Instruments
0 Kudos
Message 2 of 7
(3,997 Views)
The accesory that is configured in MAX (and that I'm using) is the SCB-68.

I opened the 6533 text pannel in MAX and read/wrote to/from the digital lines without errors. Mind you, this only tests ports 0, 1, 2, 3 but port 4 cannot be tested.

I used the "Write to 1 Dig Port (653x)" VI to test the same thing. I was able to write all ports (including port 4 by wiring a "4" to the Port Config VI) without errors.

I've narrowed down my problem to one particular VI. (see attached file). If I run it with the "Highlight Execution" (lightbulb) on, it runs without a problem. When "Highlight Execution" is off, I get the -10440 error!?!?!
0 Kudos
Message 3 of 7
(3,997 Views)
The Zip file you attached contains multiple VIs. Which VI is specifically giving you problems? Additionally, have you seen the following Knowledge Base article?

How Do I Use Port 4 on the AT-DIO-32HS Board (or PCI-DIO-32HS)?
http://digital.ni.com/public.nsf/websearch/BF6BB452E339B0F28625666B00505012?OpenDocument

Regards,
Justin Britten
0 Kudos
Message 4 of 7
(3,997 Views)
Sorry, the VI that is giving me problems is the
ResetBoard.vi.

And yes, I've read the article. This VI was working fine on a Windows NT box with the same National Instruments sofware (LabVIEW+NI-DAQ).
0 Kudos
Message 5 of 7
(3,997 Views)
Pablo,

I have run ResetBoard.vi on a PCI-DIO-32HS with no errors. I have NI-DAQ 6.9.3 and Windows 2000. However, the VI you sent me is missing the subVI GlobalVariables.vi so I had to delete the last sequence frame. Perhaps, this is where the error is occurring. Please send me this missing subVI.

Regards,
Justin Britten
0 Kudos
Message 6 of 7
(3,997 Views)
Attached is the missing file...
0 Kudos
Message 7 of 7
(3,997 Views)