Question regarding the K8055.dll driver

Hello everybody,

I am using two Velleman K8055-cards for a schoolproject which you have written the K8055.dll-driver for. I am using these cards to transform game-data from a racegame to analogue voltages.

For this I use software Profiler2 (from the Xsim-software site: x-simulator.de) . This program uses the K8055.dll to send data to the K8055-card so that the K8055-card can transform the data to analogue voltages. I can see the K8055.dll file in the directory of the Profiler2-software. The problem is that I can only use one card at the same time while I want to output 4 analogue voltages and thus I need to address two cards.

When I put two DLL-files in the drirectory, K8055A.dll and K8055B (which are copies), I can see that the software sees two different DLL’s. Ofcourse since they are copies I still can’t use the two K8055-cards together. But what can I change in the code of K8055A.dll and K8055B so that each dll-file will be linked to a specific K8055-card? If this is possible I assume the problem will be solved and I can use the two cards at the same time.

Thanks in advance,
Bart

I’m sorry, but it is not possible to use two K8055D.DLLs simultaneously from single software.
You have to use the SetCurrentDevice command to switch the control between the cards.