Hi
I would like to use the kit k8055 to control a series of flashing lights, however 10 channels is not enough therefore I would like to link more than one board. I can open both boards, however, how do I address each output individually? e.g. how can i turn on channel1 on board 1, and channel 1 on board 2 simultaneously?
If you haven’t the latest K8055 DLL then download the following files from Vellaman download site.
The first file includes the latest DLL and the second file the manual.
In the manual see page 11 for the new functions of the DLL.
k8055dll_rev3_0_2.zip
k8055_dll_2_001.zip
Use SetCurrentDevice function to switch the control between the cards.
As in the oscilloscope screenshot below you’ll see there is about 2ms time delay between the digital output state change of the cards.
Trace 1 shows the digital channel 1 of card #0 and trace 2 shows the digital channel 1 of card #1.
Unfortunately I’ve encountered a problem.
After setting another card active (with SetCurrentDevice)
and writing to a specific digital/analog channel,
another output channels were changing too
according to the channels which were set in the previous card.
Sorry if this seems dumb to you, but I am having problems with my K8055 cards also. When I switch from card (1) to card (2) it works, but when I try it again it doesn’t work anymore?? (tried with coding and with the connect button. Software sais “card not found” and card (1) keeps working)
I am programming with Delphi 5. (also newer version at home, but currently using this one) And I am using the demo software from the CD-ROM which comes with the cards.
Well, after a few tests I found out that, when I use the C version (comes with the latest .dll) it works. It keeps switching (using the connect button)
Do I need a newer version of the delphi example source code??
Sorry, no newer version of Delphi example code is available at the moment.
You may anyhow use the latest DLL version 3.0.2 with your Delphi program.
You may use SetCurrentDevice function to ‘jump’ between the cards.
Yes, I’ve been on google for quite a while now and I didn’t find a newer delphi version. (C an VB were on the internet)
Both of those other languages aren’t famillar with me. (even though VB is quite the same as delphi if I may say so?)
[quote]I can directly use the outputs of the cards (using checkboxes) without the need of a radiobutton.[/quote] Indeed, this is nice idea for ‘multi-board’ access!
Thank you for your comment