hi,
overflow is a VB error. It may be that the handle that is being returned by the method, is causing the overflow..for example, if the handle returns a 32 bit long, and your variable is a short, then you may get this error...
What version of NI-DAQ and what card are you using ?
These knowledgebase links may help you...
(1) http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/dc44689717e9040586256c8e0071922c?OpenDocument
and (2)
http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3DF1756A4E034080020E74861&p_node=DZ52319&p_submitted=N&p_rank=&p_answer=&p_source=External
Nandan Dharwadker
Staff Software Engineer
Measurement Studio Hardware Team