Connecting 2 card K8055 LINUX

Hi,
I want to use 2 card K8055, and i work on linux (UBUNTU).
I program the card in C, all my program is in main.c, wich is compilated when i write :
make all
make install.

What is the procedure to use the 2 cards ?
Thank’s.

I see there is a DLL, but i haven’t a DLL on my program…
I just have a directory named “libk8055”. In this directory, i have another directory named “src”. In this directory, i have some files named “K8055.h”, “libk8055.c”, “libk8055.o”,“libk8055.so”,“libk8055.so.0.2”,“makefile”,“main.c” (witch contain my program), “main.o”, and 2 another directory : “man” and “pyk8055”.

So what i can do to control my 2 cards, i have ever put the “cavaliers” to have adress 0 for my first card, and adresse 1 for my second.
Thank’s for your help !!!

Help me please, it’s very important and very urgent !!!
And i have another problem :
When i change the adress of boad with the sk5 at off, and sk6 at on, it the adress 1 ?

So i do that, and in my program, i write : OpenDevice(1);
But this fonction return a negative value… So i don’t understand…

I have remake the first program libk85, wich is here :
yvesdelhaye.be/?K8055-carte-d-ex … ation-et-d

And when i put off the card, change the adresse (SK5 OFF, SK6 ON), then put in the card, then make program and write :
k8055 -p:1

This is write this :

[quote]
Could not find velleman k8055 with address 0
Could not open the k8055 (port:0)
Please ensure that the device is correctly connected.[/quote]

SO i don’t understand what i must do, help me please !!!

The exactly message when i write :
k8055 -p:1

Please, support my problem…

Sorry that I can’t help you in this Linux programming problem.

[quote]When i change the adress of boad with the sk5 at off, and sk6 at on, it the adress 1 ?
So i do that, and in my program, i write : OpenDevice(1);
But this fonction return a negative value… So i don’t understand…[/quote]
The card reads the address setting only at the startup. You have to disconnect and reconnect the USB cable after changing the address setting.
The setting sk5 off, and sk6 on is the address 1.

I find new libk8055 on sourceForge.net, i send the adress if another personn have problem with control multicards on linux :
libk8055.cvs.sourceforge.net/lib … k8055/src/
Now, i can control my 2 cards !!! But there is a new function : SetCurrentDevice()
Is is a replacment of OpenDevice, or i must use OpenDevice before SetCurrentDevice(), and CloseDevice after SetCurrentDevice() ???
THank’s.

Nice that you can now control the two cards under Linux!

After connecting to the cards (using SearchDevices or OpenDevice) just use SetCurrentDevice() alone to switch the control between the cards. Use CloseDevice only at the end of your program.