Using K8055 USB board with Visual Basic 2008

Hi

I have successfully got the K8055 USB board working and using the K8055.DLL (Ver 3.0.2.0) file so pleased with that. I have written a Visual Basic program in order to control and monitor the I/O on this board, however, if I use a Timer function within VB to say output a square wave on a digital output, the shortest period i can achieve is about 1.6Secs. I want to be able to output something much faster but don’t seem to be able to do this. Does anyone know what could be restricting this? I think it may be down to the .DLL file.

Cheers

I made a test.
I set the timer interval to 1ms
The timer routine was this:

Dim output As Integer

Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick Timer3.Enabled = False If output = 1 Then output = 0 ClearAllDigital() Else output = 1 SetAllDigital() End If Timer3.Enabled = True End Sub

The resulting waveform at the output of the K8055 was looking like this:

The output frequency is about 31Hz.