Jump to content

Gary Rubin

Members
  • Posts

    633
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Gary Rubin

  1. QUOTE(yen @ Aug 20 2007, 03:02 PM) By the way, it's nice to see that I'm not the only one still using version 7.1. :thumbup:
  2. I've heard it said that left-handed people tend to be more analytical. Based on that, I wonder how the LAVA community's left-handedness compares to that of the general population. According to the Wikipedia entry on handedness (linked in the original post), 8-15% of the population is left-handed.
  3. QUOTE(yen @ Aug 19 2007, 06:32 AM) I'm still trying to decide whether it makes more sense to my brain to have mirrored the keyboard vs. shifting it (i.e. H maps to G vs. H maps to A).
  4. QUOTE(abuch06 @ Aug 10 2007, 10:49 AM) Textscan reads ascii text. I'm using very old versions of the OpenG largefile VIs, but as far as I know, they only do binary formats, not text.
  5. QUOTE(abuch06 @ Aug 10 2007, 09:29 AM) Which Matlab file read are you using?
  6. QUOTE(skof @ Aug 9 2007, 09:44 AM) Maybe this a reflection of my ignorance of Software Engineering principles, but isn't that more a function of the programmer than the programming environment? Edit: Nevermind - misconstrued the original post; he's not asking what the Defect Density is in Labview code, but how to measure it.
  7. QUOTE(Kevin P @ Aug 1 2007, 11:48 AM) The Labview Profiler usually has maximum execution times of 15ms, even for very fast VIs. I assume these things are related.
  8. QUOTE(Ben @ Jul 31 2007, 07:29 PM) No virus checking on this machine - it's a stand-alone system with no external connections, so we didn't install any antivirus...
  9. QUOTE(Ben @ Jul 31 2007, 09:58 AM) Ben, Thank you for reminding me of this. I wonder if this explains why my processing seems to bog down, yet my Core 2 processor never shows more than about 60% usage... Certainly something to try. Gary
  10. QUOTE(crelf @ Jul 20 2007, 07:51 AM) When I open it on mine, the full path is there.
  11. QUOTE(crelf @ Jul 19 2007, 09:07 PM) Would you mind downconverting it to 7.1? I plan on posting the "Labview - Thinkpad http://en.wikipedia.org/wiki/Theramin' target="_blank">Theramin" once I have a chance to work on it.
  12. QUOTE(crelf @ Jul 19 2007, 07:08 PM) It appears that there's a z-axis too. Just add a third value to the clusters.
  13. QUOTE(crelf @ Jul 19 2007, 06:21 PM) Hmmm. I'm running as a local admin. I wonder if that matters.
  14. QUOTE(Gary Rubin @ Jul 19 2007, 05:06 PM) oops, wrong datatype. Now I get x and y
  15. Well, after about 2 minutes of trying, all I've gotten is the roll axis.
  16. QUOTE(crelf @ Jul 19 2007, 03:04 PM) I'm not at all familiar with the Mindstorms capabilities... Could you use the laptop as a remote control? Tilt it right, and the robot turns right, tilt it forward and it accelerates, etc.?
  17. QUOTE(crelf @ Jul 19 2007, 02:48 PM) I've come to expect grand things from you, Chris. When will we see a Code Repository entry for wiring Labview diagrams by changing the orientation of your lap?
  18. I just discovered that my IBM Thinkpad has a 2-axis tilt sensor and probably a 3-axis accelerometer in it. It's part of something called "ThinkVantage", and is used primarily to disable the hard drive when motion gets too extreme. Has anyone tried to access this information? Sounds like it would be fun to play with. EDIT: Just found this: http://www.stanford.edu/~bsuter/thinkpad-accelerometer/. Too bad I've got real work to do... Gary
  19. QUOTE(Kevin P @ Jul 18 2007, 03:45 PM) I assume that Ben was correct, as nobody has disagreed with him yet...
  20. QUOTE(yen @ Jul 17 2007, 01:30 PM) It just took an hour and 45 minutes for me to receive a notification.
  21. Thanks for the ideas. QUOTE(Kevin P @ Jul 18 2007, 09:10 AM) I'm doing that. Everything is preallocated (as much as possible). QUOTE(Kevin P @ Jul 18 2007, 09:10 AM) - Processing routines that generate a buffer allocation dot are made into subvi's. The output data requiring a buffer allocation becomes a candidate for a Unitialized Shift Register (USR). - I either initialize this USR array once using the "First Call?" primitive, or I turn the subvi into a small Action Engine with explicit cases for "Initialize" and "Process Data". It depends whether I can live with the memory allocation delay on the first call or not. A simple example (but maybe not a good example) of something that always generates an array allocation is an array subset or index array call. Are you suggesting replacing method 1 (below) with method 2? http://forums.lavag.org/index.php?act=attach&type=post&id=6394
  22. I like it, especially when there's no indication in the linked text what the link actually is. It's more informative than hovering over the link and looking at the URL down in the lower corner of the browser.
  23. QUOTE(Ben @ Jul 17 2007, 01:14 PM) My "datapoints" are basically records consisting of 28 fields. I keep a history of 20k, so that's one 560k-element array. The datapoints are placed (by reference) into 2000 different "bins", with each bin having a depth of 64, so that's a 128k-element array. Figuring out which bin to put each new datapoint in, as well as other bookkeeping uses linked lists, so tack on a few more 20k and 2k-element vectors. Several different subVI's need access to those two big arrays in order to do their thing. I found that scaling by bin depth from 200 to 64 had a pretty significant impact on execution speed, even though calculations/loop lengths didn't change; this is why I came to the conclusion that my bottleneck is memory related, rather than computational. I've managed to get rid of most of the buffer allocation dots. I am using the Quotient/Remainder operator on an array and am only using the remainder output. I noticed that there's a buffer allocation dot on the unwired IQ output. I thought that Labview knows whether an output is wired, and doesn't allocate space for that. Am I mistaken about that?
  24. QUOTE(Ben @ Jul 17 2007, 12:46 PM) Thanks Ben, That's what I suspected, but every time I think I understand something about the rules for memory reuse, I find that it's more complicated than I expected.
×
×
  • Create New...

Important Information

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