K8061 and disconnect ->reconnect

k8061 and disconnect ->reconnect

I got a problem. When I disconnect my card with the function CloseDevices() and then I want to reconnect (opendevices() ), it always gives me ‘-1’ : “all cards connected”. ???

I tried in the demo software too. I removed the USB cable while running and then reconnect. I press the connect button but it want reconnect. Has anyone the same problem? or is there a solution? or am I doing something wrong?

I want to build a security system if the cable is disconnected by someone and replugged, it has automaticly to reconnect.

Manu

It seems that the card acts like that. The CloseDevices() is the last action before closing the program.
To get the card reconnected the software must be restarted.
You are doing nothing wrong.