Per Malmberg
Everything is possible, including the impossible. It just takes a little longer…
Everything is possible, including the impossible. It just takes a little longer…
Feb 16th
Jag hittade en liten guldgruva för den som vill göra mer än bara det vanliga i Windows och diverse program: Lyte Byte
Finns mycket kul där.
Feb 10th
Nu är första versionen av TexttoDatabase-modulen klar vilket gör att ProcessIt! nu kan ersätta FF2DB. Medan allt testkörs på min server kommer utvecklingen av nya moduler att fortsätta. Först ut blir stöd för 1-Wire.
Feb 6th
Idag installerades den 500 kopian av Temperaturkoll !
Feb 3rd
Fick en glad nyhet i veckan som jag måste berätta om.
Dallas/Maxim IC, tillverkarna av 1-Wire kretsarna, kommer att tillhandahålla flertalet av 1-Wire enheterna för att främja utvecklingen av mitt open source projekt OW.Net. Oväntat men roligt!
Feb 1st
Efter några veckors kvällsarbete är det nu dags att berätta om ProcessIt! (arbetsnamn), en modulbaserad Windowsservice som kommer att ersätta FF2DB och även TWatch på sikt. Dock är det så mycket mer än bara en ersättare för dessa två program. ProcessIt! är designat för att kunna stödja mängder av funktioner, med hjälp av moduler som fungerar som fristående program, men som också kan kommunicera med andra moduler genom ett gemensamt gränssnitt för utökad funktionalitet.
I första versionen kommer det att finnas stöd för databaser, bevakning av andra programs loggfiler samt 1-Wire. Därefter kommer stöd för Telldus’ Tellstick för styrning av lampor osv. Det finns också planer på ett klientprogram för visualisering av det data som passerar genom systemet; så som temperaturer, status på brytare mm.
En del av er känner kanske igen namnet; ni minns inte fel! Jag arbetade med detta projekt redan i höstas, men pga diverse orsaker blev det lagt på is. Nu är det hursomhelst igång igen och snart dags för en första beta.
Projektets sida finner du här.
Jan 25th
Äntligen kan man stänga av Windows Vista’s UAC per applikation istället för hela systemet! Microsoft har sammanställt en guide på hur detta sker här. Äntligen kan man starta Visual Studio utan att behöva bekräfta UAC’n varje gång.
Ursh, det var inte så bra som det först såg ut. UAC frågar ändå efter tillstånd att köra programmet ‘elevated’, smått förvirrande artikel.
Jan 19th
Skrev klart de viktigaste funktionerna i LSIHD44780LCDIIContainer idag, så nu finns det en fungerande klass för Louis Swart’s LCD driver i C#
Jan 12th
So, it’s been a few days since I last posted that I would stick to my own 1-Wire library and things have changed since then. I’ve put my project on hold to help out with the Open Source C# 1-Wire project initiated by Ralph Maas.
You can find the project here.
Jan 6th
Another post in English, just to please the larger audience.
I just finished an interesting discussion with another developer, about starting an Open Source 1-Wire project to convert the existing Java 1-Wire classes provided by Dallas/Maxim to C#. We’ll see what this ends in, sounds promising.
Update: After having a look at the code that was provided (which is based on the alpha release of the “Pure C#”-code by Dallas), I’ve come to the conclusion that I’m going to stick to my own 1-Wire library for the time being. Although using the code-base from Dallas might give some benefits – it is the official C# library after all – I also see benefits of using my own implementation. The biggest advantage to use their code-base is obviously the device containers that comes with it; I’ll have to implement those I need in my library. On the other hand, there are very few devices for which I need support; it’s just temperature sensors (Family 0×10), switches (0×05) and a third party LCD driver.
Support for temperature sensors are already implemented and judging by the data sheet for DS2405, implementing support for that switch doesn’t look very hard. The same goes for the LCD driver. So, until someone convinces me otherwise, I will continue to develop my own library.
Oh, for those who wonders: I’ve not decided if I shall release my library as Open Source or not yet. I’m still thinking about it.
Jan 3rd
Here’s another post in english, to please the larger audience.
As the title suggests, I’m busying myself with 1-Wire mixed with C# again. I’m not sure if all this is good or bad idea, but it is fun, and that’s enough to keep me going
So, what’s this all about then? Well, almost a year ago – to the day actually – I expressed my disappointment in that Maxim/Dallas still hadn’t released their Pure C# 1-Wire library. They still haven’t, and they’re not giving any indication on when they will provide a finished library. The last time they said anything about this was on Nov 29th, 2007:
Brian Hindman:
Hi. We hope to come out with a OneWireLinkLayer dll compiled for .NET 2.0. The plan is to include it in the next revision of the 1-Wire SDK for Windows. Look for it at the end of the year. I’m afraid it won’t have any advanced features than what is available now. We have not ported over any 1-Wire Containers or MemoryBanks yet, as we have been short-staffed for quite some time. We hope to remedy this and get back on track soon.
In the latest release (currently 4.01) of their TMEX drivers they included a OneWireAPI.NET.dll, but it is Java-based, and as such it requires you to install the J# redistributable on all computes where you want to run the application in which you use the dll, and it also requires you to mix Java with C# in your application. Not a solution I’m very fond of.
What can be done about this? Well, you could wait for them to release their Pure C# 1-Wire libary, or you can do like me: write your own implementation in C#! Yes, you read that right – I am writing my own 1-Wire library, in C#. Below are some details (subject to change) about the library:
Back to coding!
Recent Comments