Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

I'm getting error -10003 with my PCI-6602 card

I' m running my app and it goes well for about 1 hr, then error -10003 pops up and I cannot continue, unless I reset the Timer/Counter card
0 Kudos
Message 1 of 4
(4,346 Views)

Hi,

If I’m not mistaken error -10003 states: “Possible reason(s): LabVIEW:  The value of a numeric parameter is invalid. NI-DAQ LV:  The value of a numeric parameter is invalid.” This is a know issue on Traditional DAQ drivers. One of the works around it’s to programmatically reset the device once the error is received, you can use the function: “DAQmx Reset Device.vi” to programattcally reste the device with DAQmx or you can use Device Reset.vi for the same with traditional DAQ.

Another option depending on your hardware and your version of LabVIEW is to upgrade your version of Traditional DAQ drivers to at least NI-DAQ 7.3 where the issue was fixed. You might, depending on how big your code is, be looking at upgrading to the new drivers DAQmx.  You can take a look at this article: Answers to Frequently Asked Questions about NI-DAQmx and Traditional NI-DAQ (Legacy).

I hope it helps

Jaime Hoffiz
National Instruments
Product Expert
0 Kudos
Message 2 of 4
(4,329 Views)

Thanks for the quick response.

Well, I have NI-DAQ Traditional 7.4.2f3. I guess I should not have this error then. In the other hand, resetting my Timer/Counter will not work because I will lose some of the data.

Could you verify if this error was really fixed with NI-DAQ 7.3 ?..

Thanks.

0 Kudos
Message 3 of 4
(4,325 Views)

Hi,

Let’s take a step back and see what you are doing, what type of application are you running? Are you doing frequency generation? Are you counting edges?  So the main questions would be what are you doing with the 6602?

There is one thing that will help me to solve this issue:  screen shoots of your code and if you don’t mind posting your code on the forums so I can take a look at what parameter your code might be setting to invalid after one hour. Other test I will like to try is to swap PCI slots on your computer and check for the error.

Waiting for your response

Jaime Hoffiz
National Instruments
Product Expert
0 Kudos
Message 4 of 4
(4,310 Views)