07-11-2006, 05:43 PM
Just taking a breath!
I started of the other day with the idea that...If I want to become a pro installer of CQC then I better buckle down and really learn this software inside and out.
So I figured I would go back to my roots. My first Home Automation software was HS which required me to learn Visual Basic Scripting. I have always had an interest and programming so I have years of self taught experience. But VBScript was not one of my languages. Thankfully, Electron from CocoonTech.com wrote a tutorial on "How To Parse a Web Page using VBScript. This was a really simple example and an easy to follow tutorial. So now that I have droped HS and have been living by CQC I figured I would go back to my roots and convert Electrons VBScript tutorial into an Equivalent CQC CML tutorial while teaching my self how to use CML.
What I have learned in a nutshell is that CML is a totally differnt beast. It is nice for its purpose but the syntax and naming conventions are way differnt than VBScript or C# or Java. But once I buckled down and started looking at the language reference for CML and started finding the equivalent objects and methods it all started to make sense.
I feel now that I at least have a basic grasp of the CML Syntax. The naming conventions are still far from stuck in my memory. As some of you may have saw, I wrote a macro and after posting it on the forums Dean had told me there is a better way to do the macro. I must say that it kinda discouraged me for the rest of the day.
This morning I woke up and decided that I was calling out of work. I took sick leave so that I could stay home and change the thermostat on my wifes car. It kept overheating. So that fix only took a few minutes which left me with the rest of the day(minus the time for scream kids) to think about my next move. So I decided to RTFM(Read the Fabulous Manual). I totally skiped over the PDL part of the manual. I read all of the introduction stuff and all of the CML Driver stuff. I actually think that I have a good understanding of how CQC works now. I guess I better mention that this is the third time I read the manual. But this time a understood it and did not fall asleep.
So my next step is to do two things. First I am going to tear apart the NetCallerID driver by Andy Swingler (originally by Rohan Hamer) and I am going to go back to referencing the CML Class Reference Guide to see why the are using certain classes and what those classes are for. Once I am done that I should have a good grasp on how to write a Serial Driver and I will probably jump back to that How to Parse a Web Page tutorial so that I can help others out who want to learn amd hopefully by then I will have a clue as to what Dean was talking about in my other thread. Then from there I might try writing a Driver for a BetaBrite which is a LED Marquee Sign. They are a little pricey ($150) but maybe by next payday I can afford one.
Hope I did not bore anyone too much. I just needed to share what I did today with someone and my wife just is not interested
I started of the other day with the idea that...If I want to become a pro installer of CQC then I better buckle down and really learn this software inside and out.
So I figured I would go back to my roots. My first Home Automation software was HS which required me to learn Visual Basic Scripting. I have always had an interest and programming so I have years of self taught experience. But VBScript was not one of my languages. Thankfully, Electron from CocoonTech.com wrote a tutorial on "How To Parse a Web Page using VBScript. This was a really simple example and an easy to follow tutorial. So now that I have droped HS and have been living by CQC I figured I would go back to my roots and convert Electrons VBScript tutorial into an Equivalent CQC CML tutorial while teaching my self how to use CML.
What I have learned in a nutshell is that CML is a totally differnt beast. It is nice for its purpose but the syntax and naming conventions are way differnt than VBScript or C# or Java. But once I buckled down and started looking at the language reference for CML and started finding the equivalent objects and methods it all started to make sense.
I feel now that I at least have a basic grasp of the CML Syntax. The naming conventions are still far from stuck in my memory. As some of you may have saw, I wrote a macro and after posting it on the forums Dean had told me there is a better way to do the macro. I must say that it kinda discouraged me for the rest of the day.
This morning I woke up and decided that I was calling out of work. I took sick leave so that I could stay home and change the thermostat on my wifes car. It kept overheating. So that fix only took a few minutes which left me with the rest of the day(minus the time for scream kids) to think about my next move. So I decided to RTFM(Read the Fabulous Manual). I totally skiped over the PDL part of the manual. I read all of the introduction stuff and all of the CML Driver stuff. I actually think that I have a good understanding of how CQC works now. I guess I better mention that this is the third time I read the manual. But this time a understood it and did not fall asleep.
So my next step is to do two things. First I am going to tear apart the NetCallerID driver by Andy Swingler (originally by Rohan Hamer) and I am going to go back to referencing the CML Class Reference Guide to see why the are using certain classes and what those classes are for. Once I am done that I should have a good grasp on how to write a Serial Driver and I will probably jump back to that How to Parse a Web Page tutorial so that I can help others out who want to learn amd hopefully by then I will have a clue as to what Dean was talking about in my other thread. Then from there I might try writing a Driver for a BetaBrite which is a LED Marquee Sign. They are a little pricey ($150) but maybe by next payday I can afford one.
Hope I did not bore anyone too much. I just needed to share what I did today with someone and my wife just is not interested
