Jump to content

Yair

Members
  • Posts

    2,869
  • Joined

  • Last visited

  • Days Won

    44

Everything posted by Yair

  1. Except that we do have the capability to fire the Value Change event programmatically. Sure, we have to select the right property first, but it can be done, so why shouldn't we be able to have another option for that method called "Fire event?" and choose to use it when WE want to? BTW, I'm not saying this should be done, just that it could be done and that it might not be a bad idea. Since we can't use a user event in the same case as a filter event and since (presumably) the loop would stop after the case executes, this doesn't leave users with much of a choice for how to do this programmatically other than duplicating their cleanup case.
  2. I don't use it because "everyone is", but simply because it works and fulfills my needs. I can't say I did any serious market survey. I was simply offered that and took it to see how it would work. As for the results - Gmail is generally very convenient. The ads really do not get in the way at all and it does good threading, mostly. The one real complaint I have about it is that its threading is completely automatic and seemingly cannot be disabled or customized, so when it sometimes gets things wrong this can be a real pain. For example, if you take the recent and very long "LV R&D driven by.../X Vs. XP/GUI improvements" debate from Info LabVIEW, that was divided (wrongly) into several conversations, which made reading the discussion very hard. Google's hyped search capabilities could not help in that case. I tried Google Reader again now and, while the interface seems better, it still is far from useful for me. For example, it does not sort the new posts into their threads (something which would make it extremely useful). It also sorts the results newest first without any visible way of changing that. I might keep using it for some of the other things, but not for LAVA. I will also try looking at Dirk's program and see if I can't adapt that to better serve my needs in this area. BTW, in general, I agree with you about not liking what "everybody's using" or "seeing". Things that are too popular immediately become suspicious in my mind until proved to be good. Oh, and a nice modification to the picture, Arnold... "I'll need your boots, your clothes, and your motorcycle"... I hope you don't mind wearing shades just because everyone else is...
  3. That actually reminds me of the opening credits for "The Sopranos". Maybe he should have used the song from there instead of Massive Attack? This make me like the rural area where I live even more...
  4. Not to mention someone else who's already way past Jim and well on his way to 1K...
  5. By the way, I did actually found the original scene, but unfortunately only the spanish version of it. As an explanation, the kid is an Arnie fan. He sits in class when the teacher explains about Hamlet and how he was one of the first action heroes and then shows a clip of Laurence Oliviers as Hamlet (the teacher is portraied by his wife). Anyway, the kid, being bored with that movie, imagines what it was like if his favorite actor was doing that part. It's funnier this way and after seeing the composited trailer you should understand this one easily. <object width="425" height="350"><param name="movie" value=" name="wmode" value="transparent"></param><embed src=" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>I also found another of my favorite 3 scenes in the movie. Personally, I think that this scene is incredibly clever, but you need to know movies to understand why. As another bit of explanation for what happens here, the kid is later pulled inside an Arnie movie, where the characters are all "real". Arnie's character is a cop and in this scene he brings the kid to the police station. <object width="425" height="350"><param name="movie" value="http://www.youtube.com/watch?v=4k6gvIweyAA"></param><param'>http://www.youtube.com/watch?v=4k6gvIweyAA"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/watch?v=4k6gvIweyAA" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
  6. You've actually reminded me of what is probably the best scene in "Last Action Hero" (and don't sneer, I think it's an incredibly funny movie for anyone who likes movies enough to catch all the references). I couldn't find the scene itself, but here's a trailer based on and using parts of it. <object width="425" height="350"><param name="movie" value="http://www.youtube.com/watch?v=rUb6PBUgemc"></param><param'>http://www.youtube.com/watch?v=rUb6PBUgemc"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/watch?v=rUb6PBUgemc" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
  7. Well, I thought it would be a piece of cake (see attached), but for some reason the video doesn't play. HTML isn't my strong suit, so I'm not sure why. Download File:post-1431-1159461005.vi
  8. No, he had an image of the other Phil Brooks (check out the link in his signature). There was another user who posted a couple of days ago and that might have thrown you off.
  9. Haven't seen that one in a while. </br></br><object width="425" height="350"><param name="movie" value="http://www.youtube.com/watch?v=HQgF0pRkjMc"></param><param'>http://www.youtube.com/watch?v=HQgF0pRkjMc"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/watch?v=HQgF0pRkjMc" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
  10. Which presumably means that they were all copied from an existing VI and someone forgot to change their documentation (what, no checklist at NI?).
  11. Download File:post-1431-1159300632.htmlFor those wondering, those are a CRLF, a Concatenate and a one button dialog.
  12. I try to be aware of every thread on LAVA, at least by reading its topic. True, I probably wouldn't be interested in some threads (like Mac or Linux stuff or an HH), but most of them are interesting. I also try to follow some blogs and even the NI forums, so RSS would be perfect for me. The thing is that I move between computers, so whatever solution I get needs to be web based, and that I need to have the data in threaded mode. I mean, I logged into my Gmail account after 2 days and I had 23 emails for posts on LAVA just to threads I replied to! Going into the forums' New Posts link consolidated this into a single, managable, page. The main problem with this method is that this page only displays the posts since the last time you logged out. If you logged in and didn't read some posts, they're gone - you'll never see them in that list again. In that sense I like NI's method better where it's handled on a thread by thread basis. I tried using Google Reader for RSS, but was unimpressed. So far, I haven't found any web based method which would keep a good threaded view and which would allow clearing stuff as easily as the forum allows it. Then again, I didn't look too much. So, to summarize, my current method is to log in anywhere between a few times a day to once every few days and give the new posts list a cursory review. If anything looks interesting, I go into the thread. Unfortunately, this is far from perfect.
  13. This has something to do with getting the right application instance. You can see an example for how to get the current application instance in a version indepedent manner in the library attached here.
  14. As in several hundred MB of data every second? What kind of images and camera\image specs is this?
  15. Actually, if I understand your code correctly, it seems that the class only holds the queue reference in this case, which would only take a few bytes. The second copy probably comes from dequeuing the data.
  16. Nice, although I'm not sure if this would be useful in my programs. One point is that to shave an extra couple of microseconds you should move the Data Out terminal out of the case structure (you can just set the other cases and the error case to default data). I guess that if LV sees that the original wire is not going anywhere else it can reuse the buffer (since its the same type) and not allocate more memory.
  17. Now, THAT is a revolutionary idea. And a pretty good one, too...
  18. Plus, if you don't have enough data to warrant a DB, you might as well just read the entire file and work on that data and then save all of it back to the file. Unless your file is more than several MBs you probably shouldn't notice any performance problems and it will be easier to work on.
  19. Array elements all have the same properties and appearance, so you can't disable just a single element. What you can do instead is create a cluster of 8 booleans. You can then convert it into an array for your calculation and get the Controls[] property to control the properties of each boolean. Another option would be along the lines of blocking the change, like using a Mouse Down? event and discarding it if it's on a "disabled" button or using a value change event and reseting the values of changed elements if they are "disabled". Personally, I don't like these solutions. If you only need 8 booleans, go with the cluster.
  20. You'd be hard pressed to find any LV 6.0 code here. For one thing, people normally save in their own version and, even if they didn't, they could only save one version backwards. For another, there have been quite a few significant additions and changes to LV since version 6.0 (events, timed loops, projects, LV Classes, more advanced scripting, etc.) and the code simply wouldn't work in 6.0. Some people are still developing in 6.0, but most professionals will have a newer versions and would only use old versions to support existing projects. There are some tutorials floating around (although not here). The simplest way to find them is probably by searching either Google or the NI forums. There are also some books around. As for getting a newer versions, you could try shopping for a used 7.1 copy (or maybe even 8.0) or you could try getting the student edition (which is technically for educational use, but that's what you want, right?). Another option would be to download the evaluation versions. Recent versions of LV (I think since around 7.0) have had 30 days of evaluation and if you download them in sequence that should give you a few months for free. I think you can find them all on NI's FTP site, but if not, your local NI representative probably has a million of them stocked and if you're on good terms you can probably get them all.
  21. Yair

    Hail Lava

    You see, there's your mistake. This is LabVIEW, so you should have been banging your head on your mouse. It would probably have hurt less and could even potentially create some useful code. :laugh:
  22. I actually already refered to this. Since the wanted result is a string (it needs to be saved to a file) the only way to get it using this method by getting the Numeric Text.Text property for the indicator, which is a bit of a hack.
  23. It seems that in this case gamez does not control the server, so that is probably not an option.
  24. You're probably refering to the DSC module, which would definitely add unnecessary overhead and would probably even be slower. A couple of ways of communicating between executables would be using TCP (but you should note that this won't be as transparent as DS or the SV) and loading them into the same data space (although that would mean you would have to be careful about doing this. For TCP, you can search the example finder, and for the other option, you can see for example this thread.
×
×
  • Create New...

Important Information

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