Hi,
I have written a program with visual basic 6 to control the k8055 board. It has two timers: one used to read a value from an analog channel, and one used to make a cycle (using two digital out and one analog out ) for a press wich is connected the board. If I run the program, it works for a variable time (1-10 mins) reading the inputs and driving the outputs then the board blocks, often setting on the output n°8. If I disconnect and riconnect the usb cable, it works again.
The problem may be some sort of collision.
Maybe timer 2 is still doing its tasks when timer 1 event occurs.
Please test with one timer (timer 1) only. Do the problem still exist?
Now timer 1 disables timer 2. There may be problems if timer 2 tasks are still processed.
The problem come without disabling the timer also, and the card blocks also with only one timer running (timer2). The strange thing is that it blocks at variable running time (from 1 to 10 mins). Can be an hardware problem?
If there is a hardware problem it should appear with the demo software too.
Here is the link to download the latest K8055 software package with the new K8055D.DLL: velleman.eu/downloads/files/ … rsion4.zip
Please run the demo in the folder \demo.
You can also run the demo VB6 project in the \examples\ K8055DemoVB6 folder.
Before running the VB6 demo: Copy the file K8055D.DLL from the folder \DLL_v4.0.0.0 to the \Windows\System32 folder.
In 64-bit environment copy the file to \Windows\SysWOW64 folder.
With the “demo” program it’s the same thing. It runs for few minutes reading analog values, then disconnest the card. At this point I think that is an hardware problem. What I have to check?
Also with another cable the program will block. Often LD8 flash when the program is blocked. The only way in disconnect and reconnect the usb cable and the program works again.
I have also changed the 6MHz quartz and the 33pF capacitors, but nothing is changed. What we can do?