I am trying to use the K8055 to control 8 relays via the K8055 digital outputs out1 to out8.
I use VB2008 and the latest DLL “k8055d.dll” to communicate with the K8055.
The issue I have is the following: I connect to the K8055 and set the digital outputs 1 to 8 to various on/off states and then disconnect from the K8055. The outputs remain in their set on or off state. I subsequently reconnect to the K8055 at some later time to change the state of one of the set outputs. First I cannot pole the state of the digital outputs at the instant of reconnecting to the K8055 to set the VB2008 program buttons to reflect the existing state of the K8055 digital outputs AND also when I try to send the first command to change the state of one of the digital outputs on the K8055, all the digital outputs of the K8055 reset to off.
I need the following: to be able to pole the existing state of the digitals outputs of the K8055 card at the instant of connecting to the K8055 card so that I can set the correct states of my relays in the VB2008 program. Once the states are set correctly in the VB2008 program then any command sent to change the state of one k8055 digital output should not reset all the other output states.
Is there a fix for this? I do not want to implement a hardwire fix for this. I would rather prefer a DLL upgrade (Ie. ReadAllDigitalOutputs) or additional DLL (Ie. A second DLL that would specifically address the above two issues)