Hello! Does anyone know if there is Windows command line tool for K8055?
Microsoft Outlook can be set to execute external program by certain e-mail received. If there were a command line tool, I could make a *.bat file and let Outlook execute it.
My idea:
[code]There is command line tool called k8055.exe
I write in command prompt (in DOS):
c:/k8055.exe OUTPUT1-ON
this turns output led no. 1 ON
c:/k8055.exe OUTPUT1-OFF
this turns output led no. 1 OFF[/code]
There are many Linux/FreeBSD command line tools but none for Windows.
Hmmm as far as I know not, but I haven’t searched for it.
However it isn’t really difficult to write something like that.
But there is a problem, you are not actually constantly running the program so it cannot remember the status of the outputs.
The dll also doesn’t support reading the status of the outputs so you have to remember them.
For now I have written a small program k8055.exe that in a way does the job for you.
With it you can set all digital outputs as desired, but you have to know about binaries.
Example:
k8055 SET1 will set output 1
k8055 SET2 will set output 2
k8055 SET3 will set output 1 and 2
k8055 SET15 will set output 1 and 2 and 3 and 4
If binaries are to difficult to understand for you I’ll try to think out something better, but suggestions are welcome of course.
Thanks a lot!
Your program is working well and does what i had dreamed
At first I didn’t understand how to turn outputs off, but after some time trying, I found out that it’s just k8055 SET0
Now I can turn things at home on and off using e-mail messages + StartByIntFace sends me an e-mail when my rooms door is opened
Desperately thinking what to do next …
Nice work!
I am going to try it as soon as I arrive home.
At home now. Program working fine. It is really good that you were able to change the pin numbers from binary to normal (ASCII ?). Also I found a tiny mistake in help file (when i run: k8055.exe ? ).
Is there any way to send commands and receive status from the 8055 board or address the 8055 ports from a standard Basic like Turbobasic, Qbasic or the like ? One solution would be to use the Basic “shell” command which then do the DOS calls via the k8055.exe program, but this is a bit sluggish. Any help will be appreciated.