Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

ni-daq win nt4.0 -> win xp

Hello, i have to upgrade a pc running under NT4.0 with applications made by me with Visual C++ 6 (who work fine on), to windows xp. After installing windows xp and ni daq 6.9.2, my applications doesn't work with my pci mio 6052E. The error message return is -10403. I don't understand why he doesn't work on xp, because on NT4.0 they work fine?
Ps : in win xp, on measurement & automation software, i can use my pci mio (ai & ao). And the driver is visible on system on my pc.
0 Kudos
Message 1 of 3
(3,094 Views)
Hello;

You didn't mention what was the original NI-DAQ version you developed your applications on. Some of the functions of old NI-DAQ versions were either removed or changed on newer version, so you would get errors if trying to use them on the same way you were using on the old application. The best way for you to trobleshoot that is by debugging your code and finding out what NI-DAQ functions are giving you errors.

Also, try to install and work with the latest NI-DAQ version (6.9.3) available at NIs web site.

Regards
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,094 Views)
Thanks for response.
I have devellopped my application on NT4.0, NI-DAQ 6.9.2 with Visual C++ 6 SP 5.
On Win XP i have installed NI-DAQ 6.9.2 and debugging under Visual C++ 6 SP 5.
I forget to say to you that i have installed an NI-5911 in the same PC.
I find the solution this morning. On the installation of my cards (Scope and DAQ) The number of device of my scope (NI-5911) was 2 and 1 for my DAQ(NI-6052E). But on my program i have define my DAQ on device 2 and my scope on device 1.
Also when i wanted to send commands to my NI-DAQ, i just send this command to my NI-Scope. And then i received a message -10403. Logic...
Now i know that Ni-cards (i have a GPIB, again on the same PC) run well on Windows XP. Total compatibility.
At the next...
0 Kudos
Message 3 of 3
(3,094 Views)