Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/09/2009 in all areas

  1. Impressive! I see something ... it's cloudy ... getting clearer .... I see ... A BOOK! Yes! A BOOK in your future. "Object Oriented Programming in LabVIEW"
    2 points
  2. Who better to share this with then my fellow LAVA members? I just got my CLA results back today and I PASSED!!!!!!!! Everything seems new. New Certification New LAVA New LabVIEW in a month And I can’t wait till the NEW RCF (Right Click Framework) Comes out.
    1 point
  3. 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. ;-)
    1 point
  4. There is a novel technique that I have seen and done a variety of times. It requires creating a wrapper for the "Send Notification" VI like this http://screencast.com/t/zRDGaScM What the video hopefully details is that you can create a VI that is in memory on Application A. Inside of that VI is a shift register that holds the reference to the needed thing (semaphore, queue, user event and so on) Then you pass that VI the data that you want to end up in the (semaphore, queue, user event, notifier, and so on) using Call by Reference Node And then the VI fires the (Notifier, user event, EnQueue) with that data and the stored reference. By doing that, you have successfully sent data to any other LV application regardless of whether it is another Application Instance, an executable, or a VI across the world. Note: Scott Menjoulet (LAVA member w/ the Detroit Red Wings Avatar) is the originator behind this idea, and I have merely been it's rah -rah boy over the years and strange uncle to work it into a generic LVOOP based implementation in LVx See the attached file for the VI's and projects used in the video Step 1 is to open both projects, local and remote and then go from there. -Norm REx.zip
    1 point
  5. I'have just see, that i forgot to post the vi sorry TextFile 8720091.vi
    1 point
  6. QUOTE (lovemachinez @ May 14 2009, 09:48 AM) No, LabVIEW does not "declare" variables in the way that you are thinking. The data is on the wire. Internally LabVIEW handles the allocation of the storage required and the wire carries the data through your application. As for your original questions here is a very basic (an contrived) example of how you can create new file names.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.