-
Posts
541 -
Joined
-
Last visited
-
Days Won
23
Content Type
Profiles
Forums
Downloads
Gallery
Everything posted by crossrulz
-
Move your wait from the case structure to the while loop and change the wait time to 250ms. This will cause you to wait 250ms before even checking the COM port. As for appealing to the eye, I recommend changing your graph into a chart. A history will be available then. Also spend some time cleaning up your code. I had to spend time cleaning it up just to possibly understand what the code was doing. Here's what I did with it:
-
Fundamental Exam Confusing Questions - please post
crossrulz replied to Minh Pham's topic in Certification and Training
I took the CLAD at the Cincinnati Developer Education Day yesterday. The exam was a scan tron. Anyways, the practice exam on the NI site was very helpful. Eleven of the forty questions on my exam were straight from the practice exam. There's two questions I probably would have missed if I hadn't done the practice exam. -
QUOTE (Cat @ Apr 24 2009, 08:12 AM) ditto. But I found it on you tube awhile back (I'm assuming I'm thinking of the right video). Also hilarious is the engineer's guide to cats. Even my wife liked that one.
-
QUOTE (neBulus @ Apr 22 2009, 04:47 PM) Dude, I have done this operation (index and multiply) so many times and not once did I even think of the Multiply Array. That will make it better.
-
QUOTE (bradjb911 @ Apr 22 2009, 03:28 PM) Reshape array as shown below. I already tried the code and it works fine. In fact, I've been thinking of making this very function for my user library. http://lavag.org/old_files/monthly_04_2009/post-11268-1240432043.png' target="_blank">
-
Fundamental Exam Confusing Questions - please post
crossrulz replied to Minh Pham's topic in Certification and Training
QUOTE (Chr1sG @ Apr 21 2009, 07:56 PM) Yes, you are being too literal. I get in trouble for that too. And my honest opinion is that they are asking if the array elements are sorted. If I am correct about this, then array elements are not always ordered -
QUOTE (TobyD @ Apr 21 2009, 11:05 AM) :worship: And here people thought I was the big geek in high school when I programed my TI-82 to use unreal numbers.
-
Fundamental Exam Confusing Questions - please post
crossrulz replied to Minh Pham's topic in Certification and Training
QUOTE (Chr1sG @ Apr 21 2009, 12:44 AM) I'm not confused at this question at all other than what exactly do they mean in statement B. This is a very common question format in the US for "standardized testing". Maybe those of you who are not from the US just are not used to it. Which of the following is false? A. true B. true C. true D. Statements A, B, and C are all true In this case, D is not being checked for a false. It is a cheap way out of having three true statements and then still having a correct answer. Misleading? Heck yeah! But once you get used to them, it's not really that bad. You can thank the great US education system for this mess. -
QUOTE (ShaunR @ Apr 16 2009, 04:11 PM) You can get the activation codes over email from another computer. I've done the exact same thing and have the codes within an hour, usually 10 minutes.
-
QUOTE (mesmith @ Apr 14 2009, 04:40 PM) Yeah, I haven't been around nearly as long as most of you. :worship: At least I know what a slide rule is! As far as style being developed over time - as I look at my code from 2 years ago, I want to gouge me eyes out.
-
QUOTE (Darren @ Apr 14 2009, 03:16 PM) Thanks for that info, Darren. I'm glad to hear that NI is at least trying to be a good example. I only complained because I see people all the time say "NI VIs look like this" and then they seem confused when they get in trouble in the exams for their style. They see a double standard. And I fully understand the old code thing. I recently inherited code from way back and the style was horrid. Were people just trying to stuff their code into as small of a screen as possible to save memory or something?
-
QUOTE (jzoller @ Apr 14 2009, 01:15 PM) My point exactly.
-
QUOTE (BenD @ Apr 13 2009, 02:56 PM) Yeah, have you ever noticed how NI folks don't have to follow the same style guidelines as us? For the CLD, we have to keep everything easy to read, wires straight, etc. I open up an NI VI and there's wires going everywhere and you can't tell what wire is connected to what terminal. If they expect us to write a certain way, they should be showing it at least in the CLAD exam.
-
I remember my CLAD exam had some really iffy questions. I barely passed. I'm up for renewal next Wednesday. I think I know my stuff a lot better this time around, but I'm still worried about stupid questions like these.
-
QUOTE (djolivet @ Apr 13 2009, 09:15 AM) That's an interesting idea. I'll have to look into that.
-
Our company uses TestStand quite extensively. We write quick driver VIs and then sequence them in TestStand. Our main motivation is that if we have any little error, we have to freeze the configuration (no hardware changes, no more code runs, etc.). This is a NASA rule. Anyways, if we have any errors at all, TestStand automatically will handle it. That is one less thing we have to worry about. But my main peev with TestStand is that you cannot create an executable. All of your LabVIEW code (and LabVIEW itself) has to be there on the test station and any fool can come and change code on us. I plan on trying out a homemade test executive next time I get to create a test station for this exact reason.
-
Agreed that this is poorly written. But I think what they are looking for is the result after the loop is finished (final output). And also keep in mind that they want the "best possible answer". Well, then you are getting subjective based on your point of view on what they are asking.
-
I admit that I had to dig through my Intermediate I book for this. Couldn't find it in the book, but it sort of came back to me. When creating your run-time menu, put in an underscore before the letter that you want to be the "shortcut". See below. In this case, if I hit "Alt+B" and then "x", my custom "exit" menu will trigger an event. Please notice that even if I didn't have my exit under "blah", the "Alt+B" would not trigger an event. I had to actually click on it to trigger an event.
-
jdunham hit it on the head. The "Decimal String to Number" will only do integers. The "Fract/Exp String to Number" will convert to a floating point.
-
I will be at DevDays in Portland and Seattle next week
crossrulz replied to Aristos Queue's topic in LAVA Lounge
I'm going to the one in Cincinnati. Maybe you can come do the LV Design Pattern Class over here? Sort of a side note, is there a place where we can get the seminar contents? For instance, the Intermediate track in Cincy has "Putting LabVIEW File I/O to the Test". What exactly is that going to be about? Two hours of showing the LV file I/O is just as fast a C? Anyways, the recert for the CLAD is the main reason I'm going. I think I'm going to try to hit the CLD prep course too. -
I often have to send a lot of data with a CRC over a serial port. I have my data stored as a byte array (to do the CRC calculation) and then use the Byte Array to String to then send out to the serial port. This primitive does not convert to an ASCII equivalent. Our standard here is to send a 0x02 at the beginning of each serial message as a synch byte and I have had no problems with this method. But if you are only sending 1 byte, this method would not be very good for you. ShaunR probably has the best solution for you.
-
QUOTE For as long as I have been using LV, NI keeps telling everybody NOT to use locals...beaten into our heads sometimes. So I then see all of my coworkers using the property nodes instead. Then I tell them why that is even worse. NI tells people not to use the locals because it breaks off from the data flow paradigm and is likely to create race conditions. Guess what...setting the value with property nodes does the exact same thing except that it is WAY slower. I have some test data floating around somewhere that proves this. So now I'm getting everybody to use shift registers inside of their loops instead of the locals and/or property nodes to save data inside the loop. It was almost funny when I compared my CRC program (using shift registers) to coworker's (using property nodes to set front panel objects being used as temperary variables) and mine ran circles around his and he was so perplexed.
-
Calling other VIs to execution
crossrulz replied to Pollux's topic in Application Design & Architecture
The problem is that if you want three threads to run in parallel, they need to be in separate loops. If you are keeping your UI to two or three VIs, the following will be fine. Setup different while loops just like what you already have with the event structure, but have each event structure check for a different button (ie. one event structure to check Test 1, another for Test 2, and a third for Test 3 per Michael's example). If you go to more than two or three VIs, then dynamically calling would probably be best. -
This sounds familiar. Check out this recent post for some good ideas. The most likely is that you are missing the VISA drivers on the second computer. http://forums.lavag.org/Installing-stand-a...0653#entry60653
-
vugie and ned beat me to it, but I was gonna say that this sounds just like the quick drop that was introduced in LV8.6. I haven't used the tool much yet, mostly from habbit of all the clicking around with the menu. I'll have to experiment more.