Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

NIDAQ (Legacy) Counter GPCTR_Control() status error -10033[invalidWinhandleerror]

$
0
0

Hi,

 

I'm trying to duplicate an XP installation of some custom software that uses a compiled C-code to manage the driver for our PCI6602 board (w/ BNC-2121 block). When I run the code, I get the status error -10033. This apparently corresponds to the invalidWinHandleError in the function reference manual. Unfortunately there isn't much to explain what it really means and how I might fix it.

 

I am not very experienced in C and only took some C++ several years back. We use Matlab to compile the C-code in mex. I've managed to pseudo-debug the code to find that the first thing(hopefully the only thing) wrong is in the GPCTR_Control function wherein it generates the -10033 status. I've attached the C-code we use for reference. I've already worked with a support tech at Mathworks to make sure the error is not in the compilation end of things, which is how we found this status error.

 

Any help that can be provided would be greatly appreciated.

 

Thanks,
Mike


Viewing all articles
Browse latest Browse all 1271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>