Visual Basic and K8061 DLL

I am having issues with the ReadDigitalChannel(CardAddress, Channel) Function. I have the VM140 connected to the computer and make a function call to:

ReadDigitalChannel(0,1)
ReadDigitalChannel(1,1)
ReadDigitalChannel(2,1)
ReadDigitalChannel(3,1)
ReadDigitalChannel(4,1)
ReadDigitalChannel(5,1)
ReadDigitalChannel(6,1)
ReadDigitalChannel(7,1)

And all return true when I turn Card 0, Input 1 on. And all false when I turn Card 0, Input 1 off.
What am I doing wrong? I would expect only Card 0 input 1 change state not all cards :confused:

This problem occurs if all the cards are not “opened”.
You have to call OpenDevice() eight times before you can communicate with all the eight cards.