K8055 - Digital Output States

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)

There is no “readback” feature in the DLL to get the status of the K8055 card outputs. The K8055D.DLL just remembers the status as long as loaded by your application. If you close and reopen your application, the state of the card output is unknown.
The only way to keep track of the status of the card outputs is to store the status by your application software.

Also the firmware of the card doesn’t support this option. So the DLL upgrade doesn’t help.

Please see this thread for one solution: viewtopic.php?f=3&t=5518

OK… Thanks for the information…I will try storing the digital output states and see if that works for me…