-
Posts
950 -
Joined
-
Last visited
-
Days Won
39
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by jcarmody
-
QUOTE (zmarcoz @ Jan 15 2009, 03:52 PM) The pictured VI is fine because the two loops aren't trying to run in parallel. The first loop is building an array of random numbers and the second loop simply indexes through that array, increments each element and displays it on the Front Panel (although, it'll be too fast to see). This wouldn't work if you wanted to display the incremented value in the second loop while the first loop was still running. (BTW, you'd be better off using a For Loop instead of the second While Loop; it'll auto-index the array and you don't need to worry about the loop conditional terminal.) http://zone.ni.com/reference/en-XX/help/371361E-01/lvconcepts/block_diagram_data_flow/' target="_blank">This is data flow. I don't know QUOTE the meaning of communicating between while loop(case structure) </jim>
-
QUOTE (zmarcoz @ Jan 15 2009, 03:52 PM) The pictured VI is fine because the two loops aren't trying to run in parallel. The first loop is building an array of random numbers and the second loop simply indexes through that array, increments each element and displays it on the Front Panel (although, it'll be too fast to see). This wouldn't work if you wanted to display the incremented value in the second loop while the first loop was still running. (BTW, you'd be better off using a For Loop instead of the second While Loop; it'll auto-index the array and you don't need to worry about the loop conditional terminal.) http://zone.ni.com/reference/en-XX/help/371361E-01/lvconcepts/block_diagram_data_flow/' target="_blank">This is data flow. I don't know QUOTE the meaning of communicating between while loop(case structure) </jim>
-
QUOTE (Yair @ Jan 15 2009, 01:39 PM) And, you can't spell geek without "EE". That's amusing to MEs (like me).
-
QUOTE (Yair @ Jan 15 2009, 01:39 PM) And, you can't spell geek without "EE". That's amusing to MEs (like me).
-
QUOTE (mross @ Jan 15 2009, 11:46 AM) This looks like a follow-up to http://forums.lavag.org/-t12864.html&view=findpost&p=56729' target="_blank">this post. zmarcoz, you were asked to post a picture of what you were asking. That'll get you your answer. It looks to me like you mistakenly wrote "case structures" instead of "while loops" here. QUOTE B you cannot use wires to pass data between case structures. <=== My choice, but not sure is correct I recall a question that had a wire from the stop button in one while loop going to the conditional terminal in a second while loop. The problem with this architecture is that the second loop won't start until the first loop is stopped (with the button), then it will only loop one time because the stop button sent a True. Of course, I'm only guessing BECAUSE YOU DIDN'T POST YOUR CODE/PICTURE. You're running out of time! Good luck tomorrow. :thumbup: </jim> PS - Hi, mross. I'm in Wilson, NC, too!
-
QUOTE (mross @ Jan 15 2009, 11:46 AM) This looks like a follow-up to http://forums.lavag.org/-t12864.html&view=findpost&p=56729' target="_blank">this post. zmarcoz, you were asked to post a picture of what you were asking. That'll get you your answer. It looks to me like you mistakenly wrote "case structures" instead of "while loops" here. QUOTE B you cannot use wires to pass data between case structures. <=== My choice, but not sure is correct I recall a question that had a wire from the stop button in one while loop going to the conditional terminal in a second while loop. The problem with this architecture is that the second loop won't start until the first loop is stopped (with the button), then it will only loop one time because the stop button sent a True. Of course, I'm only guessing BECAUSE YOU DIDN'T POST YOUR CODE/PICTURE. You're running out of time! Good luck tomorrow. :thumbup: </jim> PS - Hi, mross. I'm in Wilson, NC, too!
-
Numpty Physics is similar, one difference being that it's free (as in pizza).
-
Numpty Physics is similar, one difference being that it's free (as in pizza).
-
elapsed timer and data writing at intervals
jcarmody replied to freemason's topic in Database and File IO
QUOTE (freemason @ Jan 14 2009, 10:38 PM) Let me take this opportunity to introduce you to the http://jkisoft.com/state-machine/' rel='nofollow' target="_blank">JKI State Machine. It's worth your while to learn. I've attached something for you to start with. If you like it, take the time to watch the videos on JKI's site, read whatever you can find on the forum and post back here if you have any trouble filling it out for your application. If you don't like it ( ), post your code here and we'll see what we can do to help you. </jim> -
elapsed timer and data writing at intervals
jcarmody replied to freemason's topic in Database and File IO
QUOTE (freemason @ Jan 14 2009, 10:38 PM) Let me take this opportunity to introduce you to the http://jkisoft.com/state-machine/' rel='nofollow' target="_blank">JKI State Machine. It's worth your while to learn. I've attached something for you to start with. If you like it, take the time to watch the videos on JKI's site, read whatever you can find on the forum and post back here if you have any trouble filling it out for your application. If you don't like it ( ), post your code here and we'll see what we can do to help you. </jim> -
QUOTE (alfa @ Jan 15 2009, 03:47 AM) I resemble that remark! Remember when we couldn't even spell engineer? Now we are ones. </jim>
-
QUOTE (alfa @ Jan 15 2009, 03:47 AM) I resemble that remark! Remember when we couldn't even spell engineer? Now we are ones. </jim>
-
I saw the Denzel Washington movie Deja Vu this weekend and (except for one unnecessary scene) thought it was the best movie I'd seen in a long time. Did anyone else catch the SNL reference when they were sending the note back in time? "I need more cowbell!" That was great! </jim> "Guess what?! I've got a fever, and the only prescription... is more cowbell!"
-
QUOTE (zmarcoz @ Jan 14 2009, 12:31 AM) You should take advantage of the option to mark a question for review. I did this when I took the test a few years ago and was pleased with that feature of the testing system. It turned out that I had to mark most of them the first time through because I wasn't confident with my answer. I kept going through the test until I had unmarked all of them, then I submitted my test and found I had passed. Good luck! </jim>
-
adding timer control to my program
jcarmody replied to mic_k86's topic in Application Design & Architecture
QUOTE (mic_k86 @ Jan 12 2009, 01:20 AM) Will this do, of have I missed something? The user can select the time interval and this will control the loop rate. Jim PS - your VI is missing error handling... PPS - -
QUOTE (alfa @ Jan 10 2009, 03:11 AM) I'm going to have to think long and hard about that.
-
Basics about Lab view and virtual instrumentation
jcarmody replied to hariprasad's topic in LabVIEW General
QUOTE (hariprasad @ Jan 10 2009, 03:50 AM) NI published a piece yesterday that describes Software-Defined instrumentation; it may give you a better idea of virtual instrumentation. This will give you an idea of what LabVIEW can do, and this will tell you how much it costs. Good luck with your interview! Jim -
QUOTE (Gilligan.Mark @ Jan 6 2009, 11:01 AM) Hi Mark, welcome to LAVA. Don't feel at all bad about asking questions; folks around here love to help (just try to search for the answers before asking the forum). You're welcome to think of this as your island in a sea of information. Kind of like a Gilligan's island... Now that that's out of the way...
-
QUOTE (neB @ Dec 29 2008, 02:02 PM) Yep .
-
QUOTE (hanady @ Dec 29 2008, 12:12 PM) http://lavag.org/old_files/monthly_12_2008/post-7534-1230576120.gif' target="_blank"> :laugh: Give me your code, Horsemaster, and I shall give you mine. :laugh:
-
QUOTE (crelf @ Dec 23 2008, 11:10 AM) Thanks for the link. He's fantastic! It's wonderful to find an extroverted engineer. Jim PS - How do you tell an extroverted engineer from an introverted one? The extroverted engineer looks at your shoes when he's talking to you.
-
QUOTE (El Tipo @ Dec 22 2008, 12:35 AM) Ask any time. Have fun learning LabVIEW; this forum is full of folks that will help.
-
QUOTE (El Tipo @ Dec 21 2008, 02:00 AM) version 8.0 Download File:post-7534-1229864301.viQUOTE when you said u didnt like the subicon u meant that it could have been done for example pasting a picture instead of actually write something on it? or u meant something else? I included a link to an icon editor written by one of the LAVA contributors. It's a really neat way to identify your VIs by using colors, categories and text. A bit like you did, but on steroids. QUOTE I did not fully understand when you stated that I was planning to get the password from an external source. Am planning to make a final program and make an executable and have some sort of security on it. I was just suggesting that hard-coding the password into your program means that you'd need to build a new executable in order to change the password. That's fine if you're working on your desktop, but some folks need to release software through their Quality department and can't be modifying software every time a password is compromised (like when a user writes it on the monitor...). QUOTE The reson why I used the stop function was because I've never used that function and I can't recall ever seeing it used. LabVIEW help says this about it: "Before you call this function with a TRUE input, be sure to complete all final tasks for the VI first, such as closing files, setting safe values for devices being controlled, and so on." I brought this up because you probably don't need it. Are you familiar with State Machines? They have advantages over the stacked sequence structure; they're worth learning. (I like the , myself.) Jim
-
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