Jump to content

Justin Goeres

Members
  • Posts

    691
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by Justin Goeres

  1. QUOTE (Jim Kring @ Mar 20 2008, 08:42 AM) The same thing occurred to me over lunch just now....
  2. QUOTE (Norm Kirchner @ Mar 20 2008, 08:13 AM) My recollection is that NI's version isn't in the Base version of LabVIEW. Or am I wrong about that? I was pretty sure it wasn't, but it's in a library called baseanly.llb so now I'm not sure . NI's version also doesn't have proper error handling. Finally, Jim/Chris/myself are using this as sort of a test case to help us improve the OpenG development process. From that perspective, it's a safe, simple problem to tackle.
  3. QUOTE (professor_rumsdiegeige @ Mar 20 2008, 05:50 AM) Here's a bit of code that allows you to decimate dynamically: It requires the OpenG Array library. Example File: Download File:post-2992-1206024896.vi
  4. QUOTE (Jim Kring @ Mar 19 2008, 10:21 AM) A physics professor once told me, "All minima and maxima are local." I like to think of it that way . While it would be kind of nice to score seven hundred thousand more points in Galaga, I like to think I'm investing those points elsewhere, keeping my karmic portfolio well-diversified (although while the game is in progress, winning is Serious Business ).
  5. QUOTE (Chris Davis @ Mar 19 2008, 09:27 AM) I can't say anything more. It's watching me.
  6. QUOTE (Michael_Aivaliotis @ Mar 19 2008, 08:44 AM) Aside from the initial shock I'm not particularly bugged by it. Contrary to what my playing habits might indicate , I don't take it all that seriously. Years ago I was involved with a small MacMAME high score site, and one of the problems we ran into was that the scores for any particular game tended to become very static over time. After a while, the highest scores got so high that nobody was motivated to play anymore. I think that was starting to happen on some of the games in the LAVA Arcade. So even though most of my trophies went away, I think there's an argument to be made for why the arcade is better off with a semi-wipe like this every once in a while. In fact, I wouldn't mind if some kind of wipe happened say, once a year. We could identify a handful of untouchable scores and hold a poll about whether to just retire them and replace them with new games. There could even be a simple Hall Of Permanent Untouchable Champions page so that the results are preserved for when we Google our own names . All that having been said, some scores do matter. For instance, I beat Jim at last year . http://lavag.org/old_files/monthly_03_2008/post-2992-1205949686.jpg' target="_blank">
  7. QUOTE (Chris Davis @ Mar 19 2008, 05:10 AM) The Dell in the background has something to worry about, but if it's worried about the OLPC, it's looking in the wrong direction. :ninja:
  8. I think there's still a little confusion about what normandinf is asking. The reason normandinf has a broken run arrow is because Class A and Class B2 both have a dynamic dispatch method called "Write Numeric.vi" and the connector panes of the two VIs are different. In Class A, Write Numeric.vi takes a DBL. In Class B2, Write Numeric.vi takes a CDB (or at least, a complex number of some sort). This will not work, for the reasons I described in my other reply above. What normandinf is asking for, in effect, is the ability to override the Private Data of a Parent Class in a Child Class while still using the same dynamic dispatch VIs to read & write that data. If I've got this wrong somehow, please post a screenshot of the Errors List window.
  9. It's not LabVIEW, but just for giggles here's a screenshot of one of the most appaling UIs I've ever seen: That's the actual application window. It's an application I tried to use briefly a few years ago, when I was looking for a tool to change the icons on some EXE files. Some of those colored areas are (clusters of) buttons, some are drag & drop receivers, etc. It made my eyes bleed. I wish I had a better-quality screenshot, but that's the best I found on the net, and I'll be dambed if I'm going to subject myself to that again just for a LAVA post .
  10. Behold! My OLPC arrived today!
  11. QUOTE (Michael_Aivaliotis @ Mar 18 2008, 02:10 AM) Awww, man, all my favorites (i.e. the ones I had good scores in) are gone! Is the scoring working right in http://forums.lavag.org/index.php?autocom=arcade&code=stats&g=179' target="_blank">Gravity? I got approx. 1m46s but the high score table says "7". EDIT: Nevermind, I see it scores by "Level Reached" and not "Time Alive".
  12. QUOTE (tushar @ Mar 17 2008, 09:48 PM) Is the Demo App supposed to run? When I run it I get an infinite loop of Error 1003s & Error 1s.
  13. QUOTE (pikro @ Mar 17 2008, 01:02 PM) There are a few different ways to do it. Take a look in the LabVIEW help for Scan From String or Scan From File or Fract/Exp String to Number. Drat! TobyD beat me to it.
  14. Here's what Anders said, in code: Note that the U8s on the front panel are the same as any other U8. I added "(as hex)" just to make it clear that they're set to display in hex. The display format doesn't change the behavior of the U8 on the block diagram. You can also use the same typecast operation with U16s, U32s, etc. and they'll be cast into multiple characters instead of just a single character as shown. EDIT: Attached the file, 'cuz well, why not? Download File:post-2992-1205766284.vi
  15. QUOTE (Jim Kring @ Mar 15 2008, 02:29 PM) If anything, I would've thought 8.0 would be overrepresented here, since anyone using it would have plenty of time to browse LAVA while they're waiting for LabVIEW to launch .
  16. I use 8.5 for all of my new projects. There are still several projects that I maintain that still live in 7.1.1, but I can't remember that I've ever, for instance, seen a new OpenG package and thought "OMG! That's exactly what I need in that software I wrote 4 years ago!."
  17. QUOTE (Aristos Queue @ Mar 14 2008, 07:42 AM) That's weird. On my machine it does something even funkier: http://lavag.org/old_files/monthly_03_2008/post-2992-1205523878.png' target="_blank">
  18. QUOTE (normandinf @ Mar 14 2008, 07:13 AM) The short answer (and a jedi like AQ can give all the gory details) is that all the connector panes of a dynamic dispatch VI and its overrides have to be the same because they're constrained by the syntax of G as a language. To elaborate a little bit... One of the biggest features of LVOOP's dynamic dispatch is that the override VI that is called at a particular node is determined at runtime, but the wire types and their connections (i.e. the complex numeric vs. the filepath) must be determined at edit time. If you had two override VIs with different connector panes both overriding the same dynamic dispatch VI, it would be impossible for the compiler to generate valid code because it doesn't know in advance what class will be on the dynamic dispatch wire. In a couple rare instances, I've used a Variant as an input to a dynamic dispatch VI just like you mention, but generally I try to avoid the question entirely. I would be interested to know if other people have different approaches.
  19. QUOTE (mrgsdsjg @ Mar 13 2008, 11:12 AM) You're on the right track. And good job consulting the examples. That's half the battle . But rather than modifying the Advanced Serial Write and Read example to behave like an event-driven UI, a better approach would be to take something like the User Interface Event Handler template (File >> New... >> User Interface Event Handler) and add the serial read & write code that you need from the serial example. A really simple way to do it is to put your write operations in cases of an Event Structure (just like you've already done, although I'd probably use a Value Change event rather than a Mouse Up event, and set the booleans to Latch When Released). Then put your read operation in the Timeout case of the Event structure and wire something reasonable, like 100 ms to the timeout terminal of the Event Structure (see the LabVIEW Help for more info). This way, your program will execute the serial read every time the Event Structure times out (which is almost every time). But whenever you press one of the buttons, the event for that button will fire, triggering the associated serial write. Welcome to LabVIEW, and welcome to LAVA!
  20. Is there a way to make all the GUI galleries accessible from one place? Right now it looks like each one is just a personal gallery of the user who created it. That means, for instance, that Israel CarriĆ³n's gallery and Carlos Calderon's gallery are totally separate, and if you're looking at one of them there's no indication the other one even exists. (Case in point: those are the only two I know about. Are there others?)
  21. QUOTE (alfa @ Mar 12 2008, 12:47 AM) http://thebestfortunecookieever.com/' target="_blank">Maybe you can live on the moon in next century.
  22. QUOTE (neB @ Mar 11 2008, 08:01 AM) I mouse left-handed, and LabVIEW before auto-tool was an almost impenetrably right-handed world. I'm a huge fan of it. QUOTE (neB @ Mar 11 2008, 08:28 AM) What seemed extremely un-natural was watching someone VIagraming with one hand in his pocket. So are any of YOU "pocket-programmers"? Are we still talking about auto-tool, or did you mistakely cross-post from the sex toy thread?
  23. QUOTE(Aristos Queue @ Mar 10 2008, 07:35 AM) I remember reading about an early innovation in that field about 12 years ago. It involved video chat software (CUSeeMe, as I recall) and...I swear this part is true...a tiny video (or at least color-sensing) device you would stick to the front of your monitor. The software interacted with the hardware by displaying colored boxes in the chat window, which the sensor would interpret and use to send the control commands to the "attachment." I recall the "features" list including a claim along the lines of "Works with any computer! No messing with USB or serial devices!". QUOTE(neB @ Mar 10 2008, 07:15 AM) I can see the Wire-workers now completing a rather invloved VI and then stepping outside for a cigarette. I already do that. (or, I would if I smoked.)
  24. Michael, perhaps you should write to him and ask him to add LAVA to his list of things you shouldn't confuse "lava" with.
  25. QUOTE(george seifert @ Mar 7 2008, 10:59 AM) Oh, CRAP. I expanded the terms wrong. Every term in the expansion where I had, for instance, 2*x1, it should've been 2*x*x1. Sheesh. That makes everything else I did wrong, so I just removed all the content . If you really want the screenshot I posted, PM me and I'll send it to you. All it's really good for is admiring the pretty formatting of poor math .
×
×
  • Create New...

Important Information

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