K8055 emulation

Hi everyone.
Is it possible to emulate the k8055 board in software?

I have a robot with 2 boards inside it and am writing the software for it on a desktop machine. It is a bit of a pain to upload the compiled software to the robot every time i want to test it. The robot is wireless, running remote desktop and xp Embedded on a CF card so I dont really want to install Visual Studio 2008 on it as space is very limited.

Removing the cards and plugging them into the desktop machine is not an option - they have been heavily modified for purpose.

Thanks.

This may be possible with a slightly modified DLL.
What you like it to do?
Is it enough if it returns the digital and analog output values as digital and analog input?

  • Or do you need a user interface to set the return values for the DLL functions?

I suppose the first would do. The main problem I have is the program throwing errors when trying to connect to a card which isnt there.

If the something similar to the demo program could be used to feed values into the custom DLL that would be a bonus.

Are you using K8055D.DLL or K8055D_C.DLL ?
If K8055D.DLL, then I may do this modification.
The K8055D_C.DLL is developed by 3rd party.

The K8055D dll.

I’m programming it in VB 2008.

Thanks.

Here’s a link to download the emulation version of the K8055D.DLL: box.net/shared/5ga6zdyx9x

This DLL doesn’t support these functions:
SearchDevices
Version

Thanks very much.
This is superb. I can now write a small subroutine to emulate the inputs I would be expecting from my robot without having to make it run all over the floor. I can just remark out the sub when i compile the live version.

Thanks again.

It’s nice that the K8055 emulation DLL is working well! :slight_smile:

Hi again,

I’ve had great success so far but have now moved on and need to use the SearchDevices() function.

Any chance you could add this in?

It would be fine for it to just return 1111 (four cards present) and ignore the SelectDevice() function and just treat all devices as device 0 (first card).

The source for the dll would be an advantage for me to see whats really going on but I understand there may be some intellectual property rights associated with distributing the source code for the dll.

(actually 2 nice new shiny cards would be even nicer :smiley: - I will have to check my piggy bank)

Thanks.

Now the function SearchDevices() is there too.
It returns 1111 = 15.
Now also the source (in Delphi) is included to this package:
box.net/shared/5ga6zdyx9x

When I read threads like this–meeting a user’s somewhat offbeat request and need over a 12 day span–I cannot understand why anyone would or could possibly criticize Velleman’s product support?

Absolutely remarkable! Bravo!!!

You are absolutely right cliffyk.
This is the first thing I have bought from Velleman and I wasnt expecting this much help.
I am extremely impressed and even more grateful to the support I have recieved.

trying to do all of the programming with an out-of-control robot running all over the floor would have been a bit of a headache. I even considered turning it upside down but im sure the motors would have got on my nerves after a few hours.

I will definately buy more from velleman in the future.

Thanks again velleman (vell255)

Thanks again for all your help. The project is finished for now. If you would like to see the finished result take a look here sdcom206-k9.blogspot.com/

Kris.