K8055: OpenDevice(address) only working with Address = 0

Dear all,

i wrote a C#-Application to control the K8055-USB-Interface-Card.
Therefore i’m using the DLL.

When set the Jumper to Address 0 everything works fine. But when i change the address to any other (1, 2, 3), OpenDevice() returns a “false”-value. I know that i have to reboot the K8055 after changing its address. So that’s not the matter.

Does anyone know this issue?

Thanks

matt

Does the problem occur if you run the K8055_Demo.exe in the folder Demo?
The Demo is in the package “Complete SDK Pack (Rev 4.0)” available here: http://www.velleman.eu/support/downloads/?code=k8055&type=
You may try following:

  • Disconnect the USB cable of the K8055.
  • Change the address setting jumpers.
  • Connect the USB cable and then run the K8055_Demo.exe.
  • Click ‘Search Devices’ button to find out the address.

With the K8055_Demo.exe i can connect to the card no matter which address is configured…

In the folder \Examples\K8055DemoVC#_2008 there is a C# demo project.
Does the card work OK with this C# program?

Hi,

i just checked it with the demo-exe. With this program the address works fine.
Any idea why it isn’t working on my one program?

Thanks

[quote]Any idea why it isn’t working on my one program?[/quote]Could you please post your code?