LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

exe encounter problem

Has anything changed other than the OS? Do you have everything for the program that that was installed on Win2000 installed on WinXP? Is there any differences in software when you upgraded? Did you do a fresh install of XP, or did you overwrite the existing 2000 OS? Sorry for the barrage of questions, but I figured it wouldn't hurt to know some more about your system since hypothetically that change affected the program.

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 11 of 25
(1,606 Views)
Hi,
It's a completely new CPU with Windows XP, we took the hard drive out of the CPU with Windows 2000 and then copy that memory to the hard drive of the new computer. Then reinstall LabView on the new computer. I am sorry if I said just a new operating system, it's actually a new computer.
Thanks.
0 Kudos
Message 12 of 25
(1,606 Views)
Have you tried using any other application to call the dll and see if the same error pops up? Then we can really narrow the issue down to the dll if it happens with any other app that calls it. It seems as though you've done a pretty good debugging job on it though, outside of accessing the actual code of the dll. I would like to see if the DLL just doesn't like to run on an XP machine or if it is trying to access anything that is specific to 2000.

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 13 of 25
(1,606 Views)
Hi,
I don't know what other application to use to call this dll though. But this dll was recompiled from a .exe program written in VB. The .exe program is working fine. Have you tried running the code that I posted?
Thanks.
0 Kudos
Message 14 of 25
(1,606 Views)
You wouldn't be now using the "stop button" on the LabVIEW Tool-bar would you? This is basically the same as "x"-ing the program.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 15 of 25
(1,606 Views)
No, I am not talking about the "stop button" on the tool bar.
0 Kudos
Message 16 of 25
(1,606 Views)
Hi,

I registered your 3 dlls (SAX2.dll, deplevaldll.dll, and depldevdriver.dll) using the registration utility you linked to on my XP machine. Then I ran test.exe, as well as test.vi, but both came up with errors. The errors i received were:

Run time error 91:
Object variable or With block variable not set

and

Run time error 440:
Automation error

Are these the errors you were getting?

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 17 of 25
(1,606 Views)
No. I got this error when I close the exe "test.exe has encountered an error and needs to close." You might need to copy these two dll as well into the windows directory or the directory that you are running the VI. Thanks for trying 😛
Download All
0 Kudos
Message 18 of 25
(1,606 Views)
Hi,

I still keep getting the same error and cannot run the app. I have registered deplevaldll.dll, depldevdriver.dll, and sax2.dll using the reg utility, and then copied dxusb10.dll and drvx40.dll to my system32 directory, as well has kept a copy in the same directory as the executable. No luck. Is there any other file that I need to run? Thanks!

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 19 of 25
(1,606 Views)
You will also need to register this dll, sorry I forgot to include it. But it might be easier for you to just go on the website and download the exe, that should put all the dll in for you except for deplevaldll.dll, so make sure you make a copy of it then place it in the installation folder, and register it. But I have attached the other dll that you need. And the link for the setup.exe in case you just want to install the program is http://www.analog.com/Analog_Root/productPage/productHome/0,2121,generic%253DAD9882%2526level4%253D%25252D1%2526Language%253DEnglish%2526level1%253D117%2526level2%253D%25252D1%2526level3%253D%25252D1%2526metaId%2
53D1098%2526resourceWebLawID%253D356,00.html click on "AD988x Evaluation Tools Software Program". But then you will still need to register the dll and copy the other two dll's into the window's directory if you decide to do installation. Thanks again for trying.
0 Kudos
Message 20 of 25
(1,606 Views)