Jump to content

crelf

Members
  • Posts

    5,759
  • Joined

  • Last visited

  • Days Won

    55

Everything posted by crelf

  1. Thank you gents - I should have known that it was relatively easy Huge kudos to the NI R&D team that gave us LVOOP - IMHO it was really well thought-out
  2. That was a loooooong time ago and that course has been several times, including very recently by Nancy Hollenback. I'm not saying that a QSM or QMH pattern isn't appropriate in some cases, but a lot of things have changed in the LabVIEW world in the last 10+ years
  3. Good point Dan, although I wouldn't pass the NI-DAQ reference wire under the error handler lest it looks like the error handler uses it. Actually, I'd put the error handler at the end in this case (swap the AI-Clear and Simple Error Handler).
  4. Okay - so here's a question: let's say I have a parent class with a bunch of child classes and I build it all into an exe - then, later, I want to add a new child class that inherits from the parent in the exe - is there a way I can just call it by name from disk and have all the inheritance exist? If so, how do I define that in that child class so the parent knows about it? I've got to admit that I haven't actually tried anything - I'm just mulling around an idea at the moment...
  5. What do you mean by "handles"?
  6. Jerk. Never let it be said that you're not a romantic Alan We have a competition (don't even think about it Justin) in my family to buy the crappest Christmas present - my mother gave me a packet of clothes pegs once. Nothing else, just a packet of clothes pegs.
  7. twss. "My computer needs RAM"
  8. It's kind-of a habit of mine - there are occasions when a loop without a sleep can take control of the thread execution engine in Windows, and essentially lock it - adding a 0ms wait sends an explicit message to the thread execution engine that it's okay to sleep this thread if needed. As you can imagine, there are situations where you wouldn't want the 0ms wait in there, but, as I said, it's a habit of mine. Read more here. Oh - of course - you're right: the old DAQPads aren't supported under DAQmx. The output of the NI-DAQ subVI in the loop is an array of signals - you could use index array to split it into two separate wires... Hey - that's what LAVA's here for
  9. Ahhh - the beauty of dataflow
  10. crelf

    Thanks LAVA!

    As a moderator, one of my jobs is to occasionally spend some time in the old LAVA 1.0 Content area and migrate topics across to a more appropriate area in the new structure (only 9,059 Topics to go!) and, as I look through all those older threads, I'm reminded of the combined intellect we have here at LAVA. So, thanks to everyone for a good 2009, and here's to a great 2010!
  11. I'm lovin' this guy's poster:
  12. Here are a few suggestions for cleaning up your block diagram and inmplementing some error handling (if an error occurs, the loop will stop and then report the error to the user). Sorry - I don't have NI-DAQ installed, so those VIs aren't found (hence the "?" subVIs). Also, is there a reason that you're using NI-DAQ and not the newer and awesomer NI-DAQmx?
  13. I'm not sure my minions are that co-ordiated I've heard rumours of some pretty aggressive RC car races in your office though...
  14. Please upload your code so we can comment.
  15. Great - if you'd like, you're welcome to upload or describe your design as you're designing it and we'll critique it for you as you go.
  16. Wow - that's a tricky one due to the very very low contrast. My first instinct is to suggest a different setup - if the item that you're interested in is the tan/pink thing that takes up te lower part of the image and the gray/white part at the top is just a background, then I'd change your lighting - you're using lighting that's on the camera side of the object you're looking at, but I'd go for a back light - remove all the lighting (or, at least, limit it) from the camera side, and out the item on a backlight (something like one of these from NERlite) - that will give you a high-contrast image that you can then binarize with an appropriate threshold - that will make the defect really stand out - then you can maybe determine the angle of the edge, and then try a parallel rake that's perpendicular to the edge. Shameless plug: You can find more infomation about all of these techniques, and more, in Image Acquisition and Processing with LabVIEW. <rant> You could try to solve the issue in software, but, if you can do it in hardware, you definately should! I've seen far too many setups where engineers have tried to apply countless software image transforms on top of other transforms to, essentially, get an image that the right camera/lense/lighting combination would have gotten much more consistantly. If you had a thermocouple on the end of 200 meters of noisy cable, you wouldn't try to filter out the noise in software - you'd fix the hardware setup. Image acquisition and processing is the same. As my old DAQ professor used to say: garbage in, garbage out </rant>
  17. I agree, but I think you're overstating it - as some ppl have already said in this thread, not as much crude oil comes from the countries I think you're talking about as we commonly think. The largest exporter of crude oil to the US is Canada, and I'm not sure the Canadians devise daily to remove he USA from the planet. (or do they? ) Is that becuase your aerospace company didn't see a good enough financial return from it? If so, that's good ol' capitalism at work. Don't get me wrong: I think capatilism is great, but I don't think it should be helf up as a shining bastian of all that is good in the world. It has its flaws like all other systems of government, and that's why, if we are to continue to be a society, we need to not be fundamental capatilists. Indeed - couldn't agree more. There is? Firstly, there's more than one system of government active in Europe, so I'm not sure what you're getting at. Secondly, I don't know where you are, so when you say "here" I don't know what you're referring to. Assuming you're in the USA, I can't see the USA going away from the current system of geovernment, irrespective of how flawed it may be percieved. Not that I'm saying that's it's right or wrong, but my perception is that there's too much "greatest country in the world" and "don't mess with the USA" and "the constitution is always right" bravdo for that to happen. I'm not sure Paul G. would agree with you That said, so many different things have been discussed in this thread I can't imagine that anything's off topic anymore
  18. The Great Office War from Runawaybox on Vimeo.
  19. You can right-click on a poly VI and "Select Type". I agree that having the selector there is much more intuative for this use case.
  20. Yep * 30 g, 11 ms half sine * 50 g, 3 ms half sine * 18 shocks at 6 orientations
  21. I'm looking at a job that would have a cRIO chassis on a crash test sled that's hurtled into a barrier (pretty standard stuff), but the power supply on the sled will go from 12V DC to 0V DC on barrier impact. I'd like to continue acquiring data for at least 250ms after the power goes to 0V DC, and I was wondering if anyone out there has experience with a UPS/rechargable battery/capacitor network that can deliver 12V DC (not sure about the current - think an 8slot cRIO chassis with 4 modules in it) for at least 250ms and (here's the kicker) is okay with 30g shock in x, y, & z... Surely something like this exists, right?
  22. Um, yeah - that's why I posted about it Actually, it was the DAQmx VIs that first gave me the idea to make my own... That was exaclty my thought when I first started playing with polys - shouldn't it forbid me to have two VIs with the same conpanes as poly children? I'm glad that it does allow me to do it (especially, as you pointed out, with the checkbox checked), but I think it would be a good idea to have a warning dialog if you do it - I can imagine all sorts of hair-pulling-out if you didn't mean to do it.
  23. A very large percentage of renewable energy companies are big oil companies (or, at least, heavily backed by them). That's capatislm right there - go where the money is - if ppl are going to trash oil then let's start investing in and seeing how we can make money off what they're not going to trash - renewable energy. Makes total sense to me. Totally - and if using it wasn't harming the environment so much (if it is) then it'd be the capital thing to continue doing. True - the largest exporter of crude 0il (see what I did there? ) to the US is Canada - link.
  24. I think you have about an hour to edit, unless you're a premium member. Yes, it's always been like that. Who-hoo - I got 10/10! Fundamental forms of any polticial (or relgious for that matter) system don't work - including capitalism. Also what is "far better" is a matter of perspective. ...but we're getting waaaay off topic
×
×
  • Create New...

Important Information

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