Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

How do suppress error 10920 in VB?

I've seen a few questions like this, but all relating to handling errors in LabView. I'm using VB 6.0, talking to a 6023E counter, using single buffered period reads, and all is well, except this error pops up occasionally. I want to ignore it. Perhaps another question would be "why is this error coming up at all?" The data seems to be coming in fine, except for the odd short (erroneous) pulse that seems to be an unrelated problem. Annoying, and manageable, but unrelated?
Thanks,
Doug
0 Kudos
Message 1 of 3
(3,273 Views)
Doug,
I found a KnowledgeBase that talks generally about the -10920 error and troubleshooting ideas: http://digital.ni.com/public.nsf/websearch/8FB9091CB9BB452B8525642000554799?OpenDocument. Refer to the NI-DAQ function reference manual for help with the appropriate VB calls. Hope this helps. Have a great day!
0 Kudos
Message 2 of 3
(3,273 Views)
Hello, just to follow up, the problem was indeed noise on the line as suggested in the article posted above. Using a shielded cable and landing the shield solved the problem.

Thanks,
Doug
0 Kudos
Message 3 of 3
(3,273 Views)