Popular Post Aristos Queue Posted July 8, 2009 Popular Post Report Share Posted July 8, 2009 I just got my grades for the Certified LV Developer exam. Passed! Woot! But even more exciting: I turned in a pure OO solution to the problem. No naked VIs -- meaning every VI in the hierarchy was a member of a class, every ounce of functionality in my application was delegated to one particular object to manage. All objects were passed using dataflow -- the queues of objects that I had were mono-directional, for communication, not for data storage. I obviously cannot discuss what the exam question was, but the heart of the application was a message passing interface like the one described by Yair recently on LAVA. I am very pleased with how the OO features of LV responded. Under standardized conditions, such that we can directly compare against a traditional solution, in the same time, I was able to generate an application with better than traditional flexibility (able to plug in new messages into the system without modifying the framework) and with accepted run-time performance. And the single biggest time sink that I had is being worked on by an intern even as we speak. ;-) I am fairly certain this is the first pure OO solution submitted for the CLD, and I was a bit worried about the solution being accepted given that part of the CLD is to grade knowledge of the accepted standards of LabVIEW programming methodology. Apparently, three years since its release in LV8.2, OO passes that test. The clock now begins, counting down until the day when a non-OO solution is not accepted. Not everyone is as much a believer in OO as I am, but OO has slowly consumed every other programming language it has been introduced into. It will definitely be years away from today, but I believe it will happen. For those who have not joined the faith, I'll be serving Koolaid at NI Week. ;-) 4 Quote Link to comment
shoneill Posted July 8, 2009 Report Share Posted July 8, 2009 Congrats, I know you had mentioned this kind of thing before on the NI site (All VIs are objects) but I thought even you referred to it as a theoretical exercise at the time. Now I really want to see your code...... Makes me very curious as to the question and answer..... Shane. Quote Link to comment
Popular Post PaulG. Posted July 8, 2009 Popular Post Report Share Posted July 8, 2009 Impressive! I see something ... it's cloudy ... getting clearer .... I see ... A BOOK! Yes! A BOOK in your future. "Object Oriented Programming in LabVIEW" 3 Quote Link to comment
Val Brown Posted July 8, 2009 Report Share Posted July 8, 2009 And NI can retire that particular question on the CLD exam. Other questions/examples/problems can always be derived. Quote Link to comment
crelf Posted July 8, 2009 Report Share Posted July 8, 2009 A BOOK in your future. "Object Oriented Programming in LabVIEW" That's a *great* idea! I would *soooooo* buy that! What do you think Stephen? I just got my grades for the Certified LV Developer exam. Passed! Woot! Congrats mate - when's the CLA scheduled? You should be able to kick that one in the arse... I turned in a pure OO solution to the problem. I wonder if the person marking your exam freaked out, and thought "crap - I have no idea what these funny coloured wires are! This guy gets an A+!" Quote Link to comment
Michael Aivaliotis Posted July 8, 2009 Report Share Posted July 8, 2009 ...And the single biggest time sink that I had is being worked on by an intern even as we speak. ;-) You were being worked on by who? 1 Quote Link to comment
Aristos Queue Posted July 8, 2009 Author Report Share Posted July 8, 2009 You were being worked on by who? *grin* I should clarify... the biggest *software* time sink is being worked on.That's a *great* idea! I would *soooooo* buy that! What do you think Stephen? I think I'm having a hard time finding enough time to get my NI Week presentation written. I would like to do a book sort of thing, but I suspect that the design patterns and the "decisions behind the design" docs are about as large as I'll ever bite off in a single chunk. Quote Link to comment
Mark Yedinak Posted July 8, 2009 Report Share Posted July 8, 2009 That is really cool. Congrats on passing the CLD. It would be interesting to see one of the example applications written purely in OO. Quote Link to comment
Aristos Queue Posted July 8, 2009 Author Report Share Posted July 8, 2009 I know you had mentioned this kind of thing before on the NI site (All VIs are objects) but I thought even you referred to it as a theoretical exercise at the time. Now I really want to see your code...... Makes me very curious as to the question and answer..... My opinion: All applications can be designed as every VI is a member of some class. Not all (but still most) applications can be implemented with every VI as a member of some class. Sometimes the class is too much overhead to actually translate the class in the design into an actual class in the implementation. But it works for most applications, and it turned out to work for the CLD exam question. Indeed, all three (1, 2, 3) of the sample questions for the CLD appear to be in the set of apps that are amenable to full OO implementation. The exercise I posted that was purely theoretical was that all data crossing any conpane boundary can be a class. Quote Link to comment
Jim Kring Posted July 9, 2009 Report Share Posted July 9, 2009 My opinion: All applications can be designed as every VI is a member of some class. Not all (but still most) applications can be implemented with every VI as a member of some class. Sometimes the class is too much overhead to actually translate the class in the design into an actual class in the implementation. But it works for most applications, and it turned out to work for the CLD exam question. Indeed, all three (1, 2, 3) of the sample questions for the CLD appear to be in the set of apps that are amenable to full OO implementation. The exercise I posted that was purely theoretical was that all data crossing any conpane boundary can be a class. AQ: I've been really impressed by the ongoing forward progress of LVOOP and how it is consistently filling in more functional gaps and improving the edit-time experience. And, I'm especially excited about the next release of LabVIEW. The fact that you took and passed the CLD exam and implemented your solution in pure LVOOP is a testament to your passion, commitment, and worthiness of the title: LabVIEW Advanced Virtual Architect You Rock! Quote Link to comment
Tim Erickson Posted July 9, 2009 Report Share Posted July 9, 2009 Great! When will native OO be available for cRIO? I am currently using 8.6. Quote Link to comment
Yair Posted July 9, 2009 Report Share Posted July 9, 2009 Congratulations, Stephen. It would certainly be useful to see a relevant example, maybe based on one of the sample exams. When will native OO be available for cRIO? It would not be unreasonable to assume that NI is already working on this. Quote Link to comment
Aristos Queue Posted July 10, 2009 Author Report Share Posted July 10, 2009 Great! When will native OO be available for cRIO? I am currently using 8.6. I do not generally promise future features, but last year at NI Week, for the first time on any topic, I went so far as to say that classes would be on RT in the next version of LabVIEW even if that meant trying to hold up the entire LV release until it was ready. I can't say anything further except to say that I'm spending this week writing NI Week presentations, not working on LV features. ;-) 1 Quote Link to comment
Val Brown Posted July 12, 2009 Report Share Posted July 12, 2009 Congrats on the CLD and I want to underscore the book idea. This is something that NI should consider to be a priority IMO. After all the biggest criticism of LV is that it's a "toy" and that's largely because it isn't seen as a real support of OO. The status of LVOOP is now directly challenging that belief and writing the book on it would be a good opportunity for NI to communicate clearly just how capable LV really is. It would also give me a really nice running start at getting on board with it.... Seriously you code develop the code (as you've done) and someone on NI's staff to ghost the text and/or you could team up with someone (like Jim Kring) and do "LVOOP for Everyone". 2 Quote Link to comment
jcarmody Posted July 13, 2009 Report Share Posted July 13, 2009 I'd buy it, in two shakes of a lambs tail. Quote Link to comment
PaulG. Posted July 13, 2009 Report Share Posted July 13, 2009 Congrats on the CLD and I want to underscore the book idea. This is something that NI should consider to be a priority IMO. After all the biggest criticism of LV is that it's a "toy" and that's largely because it isn't seen as a real support of OO. The status of LVOOP is now directly challenging that belief and writing the book on it would be a good opportunity for NI to communicate clearly just how capable LV really is. It would also give me a really nice running start at getting on board with it.... Seriously you code develop the code (as you've done) and someone on NI's staff to ghost the text and/or you could team up with someone (like Jim Kring) and do "LVOOP for Everyone". I think there is a world of knowledge and possiblities in OO in LV. Just look at all the different implementations (by reference, by value, LVOOP, GOOP, Endevo, etc., etc. ). The whole topic is overwhelming and a little intimidating. Some of us are still a little too nervous to jump right in simply due to the number of choices. I think it would be good if NI took the lead (hint hint) and really worked on some training material in OO programming and the native LV OO implementation. If NI leaves it up to us we will only offer only more choices and implementations. This will lead to a handful of gurus and the rest of us scratching our heads or paying someone else to do what we should be able to do on our own if we only had just a little more info ... Quote Link to comment
Aristos Queue Posted July 13, 2009 Author Report Share Posted July 13, 2009 I think there is a world of knowledge and possiblities in OO in LV. Just look at all the different implementations (by reference, by value, LVOOP, GOOP, Endevo, etc., etc. ). The whole topic is overwhelming and a little intimidating. Some of us are still a little too nervous to jump right in simply due to the number of choices. I think it would be good if NI took the lead (hint hint) and really worked on some training material in OO programming and the native LV OO implementation. Done! There's been an OO training course available for a year now. Ask your local sales engineer to sign you up! We have a really really really good Fundamentals of OO document that is part of LabVIEW's online help -- and has been since we first released in LV 8.2... the tech writer won awards for that bit of documentation. It is both a "why should I do this" and a "how do I do this" manual. Online, we have the LVOOP FAQ and the Details Behind The Design documents, both of which have been updated for each LV release. The Design Patterns document on the community forums was developed specifically to bridge text programmers into LabVOOP. Go ye forth and learn! :-) 1 Quote Link to comment
Val Brown Posted July 13, 2009 Report Share Posted July 13, 2009 Yes, all of those resources are really great. I'm thinking about the OO course myself but there is a real opportunity here for NI and I for one think it would be a real shame for them to miss it. Quote Link to comment
ragglefrock Posted July 15, 2009 Report Share Posted July 15, 2009 I think I'm having a hard time finding enough time to get my NI Week presentation written. I would like to do a book sort of thing, but I suspect that the design patterns and the "decisions behind the design" docs are about as large as I'll ever bite off in a single chunk. Get a ghost writer! Everyone does it! I'd recommend this person, who appears to be the most intelligent writer of our time. And he writes sci-fi, which is kind of like programming. More info on the author and the book. Quote Link to comment
Daklu Posted July 16, 2009 Report Share Posted July 16, 2009 Get a ghost writer! Everyone does it! I'd recommend this person, who appears to be the most intelligent writer of our time. And he writes sci-fi, which is kind of like programming. What's amazing is the high ratings the book receives on Amazon. I had to laugh when I read this reader review... This is a book. And Also its a Good book, one to read. The auther who goes by the Name of Daryl M. Corteney really has a nack for Good science Fiction telling. Also the Story. Now I dont want too Give to much away. In my review, So your going to have to. Read, the Book you're self. But serve ice it to Say, your going to Read some things here. That you really did'nt expect. I Took one star Off for being Short and Singlespaced. But hey. Quote Link to comment
Cat Posted July 16, 2009 Report Share Posted July 16, 2009 What's amazing is the high ratings the book receives on Amazon. The best part is there's even a sequel! Quote Link to comment
PaulG. Posted July 16, 2009 Report Share Posted July 16, 2009 What's amazing is the high ratings the book receives on Amazon. I had to laugh when I read this reader review... "Serve ice to say" Quote Link to comment
Phillip Brooks Posted July 16, 2009 Report Share Posted July 16, 2009 What's amazing is the high ratings the book receives on Amazon. I had to laugh when I read this reader review... There are a couple others that make me laugh. It almost looks like someone paid for "Amazon Mechanical Turk" HITs to review this book. You get what you pay for (often < $1 US) Quote Link to comment
pravin Posted July 25, 2009 Report Share Posted July 25, 2009 Impressive! I see something ... it's cloudy ... getting clearer .... I see ... A BOOK! Yes! A BOOK in your future. "Object Oriented Programming in LabVIEW" can i get downloader link of above book i.e "Object Oriented Programming in LabVIEW" Quote Link to comment
Grampa_of_Oliva_n_Eden Posted January 5, 2010 Report Share Posted January 5, 2010 (edited) I just got my grades for the Certified LV Developer exam. Passed! Woot! ... I'll be serving Koolaid at NI Week. ;-) I just got the word that I pased the CLA re-certification exam.... after having submitted a LVOOP solution. Koolaid, it would take a gallon of jungle juice to cancel the effect of teh adrenalin I'm experiencing right now. Woot and double-woot! Ben PS: Discalimer! I am certain my LVOOP solution did not earn me a pile of points, but at least the LVOOP app did not LOOSE too many points. Edited January 5, 2010 by neBulus 2 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.