Use of multiple VM140(K8061)

Dear Sir or madam,

In a project we are running, with 60 pushbuttons on input, 60 ledlights on output and a Visual C# program, we use four VM140(K8061) computer-interfaceboards, both analog and digital. The problem is that only one of the boards becomes active while running the program. How can multiple boards be used in one C# application? How can you activate the other three boards? How do you seperate for example digital input 1 from the first board and digital input 1 from board two, three and four? And the same with output, how do you tell for example the digital outputs of the different board appart?
I hope my question is clear enough.
Hope to hear an answer soon!

Regards,

[quote]How can you activate the other three boards?[/quote] Use the “int OpenDevice()” several times to open all the cards. The return value is the card address.

[quote]How do you seperate for example digital input 1 from the first board and digital input 1 from board two, three and four? And the same with output, how do you tell for example the digital outputs of the different board appart?[/quote]You can do this by using the CardAddress parameter in the function.
Example:
Declaration:

[DllImport("k8061.dll")] public static extern void ClearDigitalChannel(int CardAddress, int Channel);
Use:

ClearDigitalChannel(CardAddress, 1);

CardAddress can be according to the board jumper settings: 0…7.

Thanks!

Okay, but all four CardAdresses are 0. How can I change that?

Have you used the jumpers A1, A2 and A3 to set individual address for each card?
When the address jumper settings are changed, you must disconnect and reconnect USB cable of the card.