LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime error

I got this error message when i try to run my program.

Non-Fatal run time error

"counters.c", line 15, col 9, thread id 0v0000e90

Function ICTR_Setup: (return value==-10401 (0xffffd75f). UnknownDeviceError: the specified device is not a national instruments product, the driver does not support the device (for example, the driver was released before the device was supported), or the device has not been configured using the measurement and automation explorer.

I am currently using windows xp and if i am not wrong, the version of my labwindows/CVI is version 5.0.

i think what i am not able to do is that labwindows is not able to call out the function call as the labwindows is not compatible with WinXP.

may i know how my problem can be solved?


Can you email me at eng00746@nus.edu.sg with the solution?

thanks a lot for the kind assistance.

Leroy
0 Kudos
Message 1 of 3
(3,176 Views)
To answer your question we need to know which kind of DAQ board you are using. For me it seems that you don't have a DAQ board which support ICTR_Setup which is working only for some older boards but which doesn't work with standard NI E-Series DAQ boards. For this boards you have to use the GPCTR_ functions for using the counters. Please see the NI-DAQ online help and the NI-DAQ Function Reference Manual.
Regards,
Heinrich Illig
National Instruments
0 Kudos
Message 2 of 3
(3,176 Views)
Your problem may be that you're not using the correct function for your DAQ card, as Heinrich sugested, or it may be a problem with CVI 5.0 running under Windows XP. National Instruments has not tested 5.0 with Windows XP. The first version they tested was 6.0. See the following link.
http://digital.ni.com/express.nsf/bycode/winxp?opendocument〈=en&node=seminar_US
Depending on your application, you may or may not have a problem running an old CVI version on a newer operating system.
If you're not sure which version of CVI you're running, the version is displayed on the splash screen when CVI starts up, or you can goto Help >> About when CVI is running.
0 Kudos
Message 3 of 3
(3,176 Views)