Jump to content

jcarmody

Members
  • Posts

    951
  • Joined

  • Last visited

  • Days Won

    39

Everything posted by jcarmody

  1. QUOTE (El Tipo @ Dec 20 2008, 02:41 PM) I don't know about this...QUOTE what i want is that if the password is not right the first 2 times it closes the main program, as well as the subvi (i dont like it on top of the main VI) and if the password is right then close the subVI or take it from the top of the main VI and be able to run the main normally. I would like to know if my aproach is the correct one. thaks for any help. regards : Pedro E. There are many ways to crack a nut. There's probably not a correct way, only a better way. QUOTE otherwise give me some advice on how can I do this. My way may not be better, FWIW... Let me know if I misunderstood what you were going for. I've never used the Stop function, perhaps someone else could tell us why to use it. I didn't use it in my solution. You made your subVI a little more complicated than it needs to be. Take a look at the attached VI. You didn't need any code in the False case of your main VI; it would have closed anyway. I don't love local variables, but they're easy when you need to do what you did. I didn't like your subVI icon. There's a better way. :thumbup: You may have already planned to get the real password from an external source. It's better than hard-coding it. I'll wait for others to chime in with a BETTER way. LAVA is a good place to be. Here's what I did. Download File:post-7534-1229821372.vi Regards, Jim
  2. QUOTE (ASTDan @ Dec 20 2008, 12:02 AM) I agree with Dan; the books are great. I learned LabVIEW by reading those books, reading other people's code, studying the practice exams and asking a lot of questions. LAVA is the right place to come if you want to ask lots of questions while you're going through the books :thumbup: .
  3. I have only one on YouTube, and it's fits in this category. My smoke wasn't caused by an electrical fire; you can see a burning pine cone on the vacuum's exhaust for a few seconds in the beginning.
  4. Try here first, and if that doesn't help try here. Glad to help!
  5. jcarmody

    Alfa String

    QUOTE (alfa @ Dec 15 2008, 03:01 AM) How did he know it was the last year of his life?
  6. Not everybody searches the LAVA (or NI) forum before asking a question. Here's a gentle way to demonstrate how easy it is to find an answer to a question that's already been asked.
  7. QUOTE (Michael_Aivaliotis @ Dec 9 2008, 01:01 AM) I was hoping he could explain my signature first...
  8. QUOTE (crelf @ Dec 8 2008, 07:13 PM) ... for very small values of R!
  9. An anagram: "Charles Andrew Ososami" = "Now as melodic harasser" Charles, do you sing? From: "Joy! Mad scream."
  10. Is it because this is a bot not a real person that you came to me?
  11. I understand that the Lava Lounge allows us to "Enter the lounge and discuss anything and everything." and that "Nothing is off-topic and all discussions are encouraged." but this is ridiculous. Charlie is offensive and his bad grammar makes me [sic]. :thumbdown: :headbang: PS - my member number is not a palindrome, but if you write it forwards and then backwards it inexplicably becomes one. Additionally, the prime factors of 7534 are 2 and 3767 - both of these prime factors are prime. Can you believe it? Finally, divide my member number by pi (my avatar shows my affinity for pi) and you get (approximately) 2398.146682508678919365540546497. This is freaking me out; I'm going to stop writing now...
  12. QUOTE (Pollux @ Dec 4 2008, 04:25 AM) You could bundle all of your controls and carry them around in a shift register to get rid of the local variables. Adding error in/out terminals to your subVIs will let you enforce data flow without flat sequences. you can replace the select statements that return a 1 or 0 with a Boolean To (0,1) use another state to sync the front panel indicators to the data cluster when necessary http://lavag.org/old_files/monthly_12_2008/post-7534-1228391339.png' target="_blank">
  13. QUOTE (mballa @ Nov 28 2008, 02:17 AM) Thanks, Mark. I watched the video and have since had no trouble getting the connections I want. The method seemed familiar; the information must have been in another post but it didn't stick until now.
  14. QUOTE (matthike @ Nov 26 2008, 12:32 PM) This has been done before. http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=yrO&q=site%3Aforums.ni.com+tetris&btnG=Search' target="_blank">Search the LabVIEW forum and you'll find a plethora of information. Jim
  15. QUOTE (asbo @ Nov 24 2008, 11:11 AM) That was my first thought, too. I can't imagine why anyone would need that; I'm hoping there's something more to it.
  16. QUOTE (miab2234 @ Nov 24 2008, 09:54 AM) I don't know what you mean by "make an LED showing EX:ABC". I looked at the VI you attached and found it strangely familiar ... All you did was replace the boolean indicator and translate the comments. Jim
  17. QUOTE (miab2234 @ Nov 23 2008, 03:30 PM) Miab, It stops at 2 because you're comparing the value in the shift register (initialized at 1) with a constant 1 inside the loop. This loop will only execute one time and, even if you changed this comparison, it will never become a 2-D array of LEDs that go on and off one by one. I'm not sure where you were going with your VI so I wrote my own! The code is commented so you might be able to see what I had in mind (I have good days, and I have bad days ). This approach is limited, but I don't know what your requirements are so I didn't spend too much time on it. Let me know if you need more than 64 elements in your 2-D array and I'll try to help you figure it out. Jim
  18. QUOTE (Michael_Aivaliotis @ Nov 23 2008, 02:33 AM) How so? I use Google reader and search, but nothing else. Jim
  19. I don't trust Google... :ninja: ... but I like it. I wonder what they're trying to replace with this; my first thought was that I could use it like I use Delicious. If they'd only add LabVIEW to Google Docs I'd never have to leave (oh, yeah, they'd need to add Emacs, too. I gotta have my Emacs! )
  20. QUOTE (mballa @ Nov 21 2008, 01:00 PM) I use it. Feedback: It's fantastic. I'm glad to hear that you're still developing it. Sometimes it crashes LabVIEW. I've gotten into the habit of saving all before using it. I'm not sure, but I think it only crashes when I don't save (it figures). (It didn't crash when I made these screenshots tonight, though, and I didn't save first.) My only complaint is with how the terminals are picked. See images below: This example has an enum that I'd like to wire to the top/left terminal as show, but I never want the DBL in/out to be in the bottom row. (I'd only like this arrangement if those were error clusters.) I got this using "By Arrangement". When I used "By Pairs" I got this: This is closer, but it took the pairing concept too far (IMO) by putting the DBL in/out on top. I want the "By Arrangement" front panel with the "By Pairs" terminal selection, like this: Jim PS - I just noticed that the boolean indicator and DBL control were renamed. PPS - In another "BTW", I use (and like) your icon editor...
  21. QUOTE (asbo @ Nov 20 2008, 09:55 AM) That trailer has barn doors, not a roll-up door; you have to pull it away from the dock to close them. It would have been a good idea to block the carts in, though.
  22. I've done this but I still get lousy connector panes when I Edit->Create SubVI. What have I done wrong? Jim BTW - I like the SubVI fixer tool :thumbup:
  23. This topic reminds me of a joke. Q: What's a metaphor? A: To keep cows in. Q: What's a semaphore? A: ... I Googled "sema" but couldn't find anything useful.
  24. QUOTE (kmc @ Nov 12 2008, 02:17 PM) That's a funny tag :laugh:
  25. QUOTE (kmc @ Nov 12 2008, 10:48 AM) Attached, but you should really install the entire package from JKI.From the comment on the VIs front panel: QUOTE For instructions on how to use the JKI State Machine, examples and video tutorials, visit: JKI State Machine™ Copyright © 2005-2008, JKI <info@jkisoft.com> ALL RIGHTS RESERVED QUOTE (kmc @ Oct 30 2008, 12:45 PM) I NEED TO SUBMIT THIS IN A WEEK... This might be tough... Jim
×
×
  • Create New...

Important Information

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