All DLL functions for the K8055

Hello

I am a regular user of the K8055 and have currently 8 projects running with it.
I’ve programmed several applications with it in vb.net 2005 according to functions i’ve found in the DLL users manual. (found here: velleman.eu/distributor/supp … code=K8055)

Unfortunatly, I’ve recently encounter some problems. So i searched the site and this forum for a solution. That’s when i found out there seems to be more functions in the DLL then available in the users manual, like the ‘SetCurrentDevice()’ function (found here: viewtopic.php?f=3&t=3684)

Is there somewere a list of all available functions with there purpose?
Thanks!

Indeed there are some new functions.
You’ll find the document by downloading this package:

[quote] Software DLL Rev 2
older DLL with examples and source code (source can also be used with DLL rev 3) [/quote]
from:
velleman.eu/distributor/supp … 8055&type=

Extract it and you’ll find the document in the folder: k8055_dll_2_001.zip\K8055_DLL2\Manual
The additional functions are described in the chapter “New multicard function and procedures”.

Thank you!

I going to apply these new functions to my projects. Hopefully this will solve my problems.
Maybe it’s a known problem to somebody… (i’m using vb.net 2005)

I want to write an array of booleans to the K8055 every minute. So I’ve constructed a timer witch ticks every minute and contains this function:
(intUitgang is just a previously defined integer, blnUitgangstatus() is the array of booleans witch contains the status of the outputs. Also, some of my projects contain 2 cards, others only one. I want to use the same code for both of them, therefore the variable intAantalUitgangen was created.)

For intUitgang = 0 To intAantalUitgangen - 1 If intUitgang < 8 Then CloseDevice() OpenDevice(3) If blnUitgangStatus(intUitgang) = True Then SetDigitalChannel(intUitgang + 1) Else ClearDigitalChannel(intUitgang + 1) End If Else CloseDevice() OpenDevice(2) If blnUitgangStatus(intUitgang) = True Then SetDigitalChannel(intUitgang - 7) Else ClearDigitalChannel(intUitgang - 7) End If End If Next

This code works just fine. At least for a while… After some time, (sometimes a day, sometimes a week, …) it starts to malfunction. Some of the outputs do not respond anymore.
So, i was hoping to solve this with the newer version of the DLL, since i can keep the connection with the K8055 open now?