Jump to content

Gary Rubin

Members
  • Posts

    633
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Gary Rubin

  1. QUOTE (mross @ Jul 3 2008, 01:00 PM) I may be missing something, but this approach only works for post-processing, doesn't it? If that's all you need to do, this can also be done with a lot less real estate using the Rotate Array function.
  2. QUOTE (SULLutions @ Jul 3 2008, 04:56 AM) Does Info-LabVIEW still exist? I stopped receiving the daily digests a while back, although I don't think I ever did anything to unsubscribe. Gary
  3. QUOTE (Justin Goeres @ Jun 17 2008, 05:21 PM) Hey! :thumbup:
  4. QUOTE (Justin Goeres @ Jun 17 2008, 03:00 PM) Last night I couldn't get on the Mozilla site, but Download.com worked.
  5. QUOTE (crelf @ May 23 2008, 01:41 PM) Damn, mine must be broken; it just keeps showing Planck's constant.
  6. QUOTE (crelf @ May 23 2008, 11:38 AM) That would be "those poor buggers". (How do you do the secret physicist handshake via text? :ninja: )
  7. QUOTE (crelf @ May 23 2008, 10:45 AM) Not everybody is lucky enough to be a physicist
  8. QUOTE (crelf @ May 23 2008, 08:10 AM) First, I'd like to congratulate you all on demonstrating that it is possible to have a civil discussion involving a potentially controversial subject. I think that the fact that this is happening in an online forum really shows the amount of respect LAVA members have for each other. That said, I'd like to chime in on Chris's statement above. Chris, I know you are a scientist by training, so I may be preaching to the choir. I think you have to be careful about how you use the word "theory" in a scientific sense. In scientific terms, a theory has a higher burden of proof than what most people think of when they hear the word "theory". While I agree with you that theories are not certainties, I think that most non-scientists use the word "theory" to mean "hypothesis". According to the Scientific Method, a theory lies somewhere between a hypothesis and a law. I like this representation of what a "theory" represents.
  9. I think Alfa has a kindred spirit in the Matlab world. Here's a snippet: QUOTE
  10. QUOTE (BrokenArrow @ May 16 2008, 09:11 AM) I don't know whether it's amusing or sad that a company would think that LabVIEW experience is a "plus" but not a requirement for their in-house LabVIEW expert...
  11. QUOTE (rolfk @ May 16 2008, 02:54 AM) Rolf, I'm sure that nothing you release would be considered poorly written. I'm refering to A/D board LabVIEW SDK's that I've seen that have used up to 14-frame stacked sequences nested within other stacked sequences and local variables to pass data from one sequence to the next.
  12. QUOTE (PaulG. @ May 15 2008, 10:00 AM) My experience is that these are usually so poorly written (i.e. overuse of sequence structures) that we end up rewriting them amost from scratch anyway. The Labview SDK's that I've used are often only useful as examples to show the order in which dll functions should be called and how their inputs need to be formatted.
  13. QUOTE (Michael_Aivaliotis @ May 15 2008, 03:12 AM) Any C programmer who knows me would either laugh hysterically or be highly offended that someone might consider me a real C programmer. :laugh: I can only write C if I have a C book open in front of me.
  14. QUOTE (PaulG. @ May 13 2008, 02:12 PM) I agree with that. If a VI is calling a device-specific DLL, I wouldn't call that VI a driver; the DLL would be the driver. I'd probably call a VI a driver if it was performing the hardware interface using only native Labview and OS functions (i.e. memory peeks/pokes). Gary
  15. QUOTE (Michael_Aivaliotis @ Apr 1 2008, 04:20 PM) Michael, I know this doesn't qualify as a benchmark, but I have notes that using subroutine priority sped up one of my pretty large VIs by a factor of 10 (from ~13ms to ~1ms) as reported by LabVIEW's profiler. A caveats - I don't know how well the profiler reports on subroutine priority things. This particular VI and its subvis have at least one 20k x 23-element matrix plus lots of 2k and 20k vectors running through and between them. I assume that the big performance boost had to do with subroutine priority handling memory allocation differently. Gary
  16. QUOTE (Jim Kring @ Apr 1 2008, 03:53 PM) Speaking of which - I remember Greg McKaskle from info-labview. Whatever happened to him. I assume he left NI?
  17. Oh, I also forgot to mention one of the limitations of subroutine priority - you can't use blocking processes in a subroutine subvi. If I remember correctly, that means no file I/O, queues, property nodes, etc.
  18. QUOTE (Jim Kring @ Apr 1 2008, 01:37 PM) We have gotten good results using subroutine priority to speed up some fairly memory-intensive subvis. Our processing is inherently not very parallel, so we don't have to worry about the subroutine priority VI's stealing CPU time from each other. They inherit the thread from their caller, so if you want to do things in parallel, you might have to be careful about having too many subroutine subVI's called by the same caller. Aristos, or someone else with more knowledge might correct me on this, but I think that our performance improvement may be due to the fact that our subroutine subVI's handle memory more effeciently due to the fact that they don't have to allocate anything for the front-panel controls and indicator. Gary
  19. QUOTE (Chris Davis @ Mar 14 2008, 09:38 AM) That's a pretty cool organization. I was surprised that I wasn't able to find anything in my area (Northern Virginia). You'd think with all the tech business here, someone would be doing such things.
  20. Slightly off-topic, but... My wife was an elementary-school teacher before resigning to stay home with our young kids. She is now working 2 afternoons a week at her old school doing an after-school reading program with a couple fourth-graders who need extra help. One of them has expressed an interest in robots and electronics, which got me thinking; if I had more free time, I think it would be fun and worthwhile to get an NXT kit and volunteer to spend time working with it with upper-elementary or middle=school kids. What better way to get kids interested in computers, programming, engineering, etc! Anyone out there doing this?
  21. QUOTE(neB @ Mar 6 2008, 09:34 AM) I have a cousin who is a real computer nerd. He used to enjoy dressing up really scruffy, going to someplace like Best Buy, starting off asking very basic questions of the computer sales people, then asking them some really detailed technical question about system... I didn't realize there was a Dilbert about him
  22. QUOTE(CHRLAB47 @ Feb 19 2008, 04:52 PM) I suspect that you need to pass in an array. I think you are currently trying to plot a string...
  23. QUOTE(TiT @ Feb 8 2008, 02:02 AM) If the probe exists for a different data type, it only takes about 2 minutes to change it to the data type that you want. http://forums.lavag.org/index.php?showtopic=10089&view=findpost&p=41445' target="_blank">It's very easy.
  24. QUOTE(TiT @ Feb 7 2008, 03:28 AM) Go to vi.lib/_probes. Open the one you like (ConditionalDouble.vi, for example) Edit it to change the data type to what you want, change the name and the Window Title. Put it in user.lib/_probes Voila! Single Conditional Probe!
  25. QUOTE(Gustavo Fernandes @ Jan 3 2008, 11:09 AM) Gustavo, Do you have this example? C:\Program Files\National Instruments\LabVIEW 7.1\examples\scriptnode\Fractal.llb\MATLAB Script - Fractal.vi Obviously yours won't be in a LabVIEW 7.1 directory, but the same example might be there in 8.5. If so, open this and run it. This is the structure that I'm talking about. I think you should be able to do anything here that you can do at the Matlab command prompt or in a script, including calling other functions. Try deleting the example matlab code and running 'bench', or calling your matlab code. I really think this is what you're looking for. I am able to paste Matlab code into that window and run it. Gary
×
×
  • Create New...

Important Information

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