Search found 2 matches

by MichaelV
Fri Feb 10, 2012 8:52 am
Forum: VB and VBA (Excel, Access)
Topic: usb_tc08_get_single with USB TC08 & VB6
Replies: 1
Views: 4191

Re: usb_tc08_get_single with USB TC08 & VB6

I had changed the declaration
ReDim temp_buffer(9) As Single to ReDim temp_buffer(10) As Single
after that change it works.

Regards
by MichaelV
Tue Feb 07, 2012 5:06 pm
Forum: VB and VBA (Excel, Access)
Topic: usb_tc08_get_single with USB TC08 & VB6
Replies: 1
Views: 4191

usb_tc08_get_single with USB TC08 & VB6

Hello, I use your example code for the usb_tc08. I get an overrun error on the line: ok = usb_tc08_get_single(tc08_handle, temp_buffer(0), overflow_flag, 0) Option Explicit Declare Function usb_tc08_set_channel Lib "c:\usbtc08.dll" (ByVal handle As Integer, ByVal channel As Integer, ByVal tc_type As...