Jump to content

ASTDan

Members
  • Posts

    360
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by ASTDan

  1. Hello,

    I was wondering if I could get a sanity check from the great minds of LAVA

    I am using a NI 9237 and a NI 9411 in a CDAQ chassis. I would like to syncronize the counter pulses with the analog input. Since I am using a 9237 I can't set the counter pulse as the clock for the analog input due to it is a Sigma Delta C seris module (see the 9172 Manual). So I set the clock on the counter to be the ai sample clock. I plan to remove the duplicate values from my counter array and analog input array giving me analog input measurements lined up with my counter pulse.

    Here is my code. It seems to work great. I just want another set of eyeballs to say "that will work" or "what the h%$# did you do!!"

    Excuse the messy code. I will clean it up when I finalize the prototype.

    Thanks

    post-8614-1221053094.gif?width=400

  2. QUOTE (crelf @ Aug 28 2008, 02:02 PM)

    Each of those patterns have their merits, but none of them are catch-alls. I suppose what I'm trying to say is that I haven't found an error handling pattern that's completely scalable across the breadth of projects that I do, so I've created two or three reusable components that I can select during the design phase of a project. I'm not saying that a completely scalable holy grail is out there, just that I haven't found it :D

    So how about it. Error Handling Techniques at NI week 2009 by crelf! :unsure:

  3. QUOTE (crelf @ Aug 28 2008, 11:22 AM)

    For example, do you wire up the errors on the "Format into String" primative? I sometimes miss those and am delighted when LabVIEW pops up an error if I've buggered something up.

    I have not become comforatble with the "Format into String" primative. I recogineze it is suppior to concatinating stings and manually changeing data types. I have just not spent the time to become comforable with it. It is on my list

    QUOTE

    We have a bunch of reuse VIs that do anything from present errors to the user, file-defined filtering, writing errors to a FIFO file, ... What do you mean by "do"?

    I guess Error Handling architectures pros and cons. For example I have an "Error" case in my state machine. I have built a Reuse Error VI that can handle standard and User created Errors. This admiditly is probably simplistic but I found it works for what I do.

    I have seen people put their Error handling in another loop. I think Peter Blume Promotes this. I think this is a good idea but for smaller projects....I don't know if the overhead is worth the functionality. I also think loggering errors to a text file is a good idea. (Need to create reuse vi for that. Again on my list)

    What I think would be a good idea is for a discussion on this to flush out best practices. I think there are a lot of different ways to handle errors and depending on what your doing and using the best method for your application.

    My $0.01

    Dan

  4. I personally turn it off all the time. I try to build in my error handeling in the begining and I like to see how my code will perform with my own Error Handeling.

    This brings up something I am really interstied to learn. How do other people do their error handeling? This I think would make a great NI week topic. I have been thinking about developing a presentation on the topic but I feel I don't have scope on different methods of error handeling and comparing them to my own hair brained methods.

    Dan

  5. QUOTE (Neville D @ Aug 22 2008, 12:51 PM)

    But whats the harm in having different (maybe competing) libraries? More the better.

    The worry I have is redundancy of the reuse libraries. Also another issue is how do you manage a number of different reuse libraries i.e. versions etc.

    On the positive competition promots inovation. However since it is free I gues we are just trying to out "cool" each other. :thumbup:

    Also a central library could pose a problem due to who decides what goes into the library?

    Things to ponder...

    Dan

  6. QUOTE (Michael_Aivaliotis @ Aug 22 2008, 08:59 PM)

    You mean you want to show the tip strip without the user having to hover the mouse over a control? If so then it's not really a tip strip is it? Sounds like just a floating text you can programmaticly position. Can you elaborate on what kind of control you want?

    I have a graph and I want a tip strip to display the plot name when I hover over the plot. I have gotten this to work the only thing I don't like is the tip strip comes and goes when it feels like it.

    I think the solution is to create my own custom dialog and pop it up where and when I want. I was hoping for an easier way...

    Dan

  7. Is there anyway to force the tip strip on in LabVIEW when you want to?

    I have been looking on NI's website, the tip strip seems to be a function of Windows. Is there an Active X or .net way to have more control over the tip strip? I think it is called the ToolTip. However when trying to google this I get tips on tools for windows. :headbang:

    Dan

  8. QUOTE (Jim Kring @ Aug 21 2008, 07:21 PM)

    Will there be, or is there a central place for these open reuse libraries? Is that open G? I think open reuse libraries are great, but is it a good idea to have many different and competing open reuse libraries?

    Dan

  9. QUOTE (Tom Bress @ Aug 21 2008, 03:55 PM)

    Actually, I don't know. I haven't had to recertify yet, ever, so I don't know what is involved. I've always gotten the next higher certification before my old one ran out.

    Does it cost money? What are the recerts like for each level of certification?

    I have taken the re-cert for the CLD. It is a 1 hour multiple choice exam like the CLAD. I was able to take the exam a local training center 10 minutes from my house. I got my results imeadiatly aftwards. I have to take the re-cert again very soon. I think it costs $200. I received a voucher for attending a NI developer days for $200 off training and recertification. So this time around it will be free.

    I was very impressed with NI's recertification process. I like being able to take it at a local testing center, and having my test results right now was great! :thumbup:

    Dan

  10. Sooooo close.

    That VI only is capable of generating 24 Colors. Then repeats.

    I know 32 colors is a lot and is very had to distinguish, but that is what the customer wants.

    Very cool vi's. Wow I didn't know there were other open reuse libraries besids open G.

    Dan

  11. I am a PE in the state of Michigan.

    To become a PE you have to have a degree in engineering from a ABET accredited school, take and pass 8 hour Fundmental of Engineering Exam. After having 4 years of engineering experience you get to take another 8 hour test called the Principle and Practices Exam. You also need references from 4 or 5 people 3 of which need to be PE. Here are the folks who run the test

    http://www.ncees.org/

    http://www.michigan.gov/dleg/0,1607,7-154-...14638--,00.html

    In Michigan all you need to do is pay your money every year and you are still a PE. In other states I know you have to have so many continuing education credits to renew your licence and of course pay money.

    Now what do you get.

    A rubber stamp, piece of paper, and you can put P.E. after your name.

    Now in practice from what I understand if you work on any public stuff i.e. bridges, dams, etc. you need a P.E. to certifiy that it won't fall down.

    You can also think of the P.E.=CPA. Anybody with a calculator can be an accountant, but a CPA can.... well do CPA stuff.

    I got my PE because I look like I am 10, and I hoped it would give me more crediblity when talking with customers. I think it has done that. That being said I have never gotten a job because I am a PE. I have been asked "So your a PE... I have been thinking about doing that. How was the test?" I also don't see many job's that require a P.E. outside of the Civil Engineering world.

    Being a Certified LabVIEW developer has gotten me more work than being a P.E. That being said I write LabVIEW code and don't build bridges. So my stamp sits in my drawer waiting....

    Dan

  12. This is interesting.

    I know a lot of PLC programmers that have many years of experience work with ladder logic. This would be a great way to capture that market.

    It might also be a great gateway envirnment into LabVIEW :ninja: . While working in their familer ladder logic envirnment they could discover how cool LabVIEW is!

    Dan

  13. I don't know if this will add to the discussion, but here is my $.01

    Getting the CLD was the biggest jump for me personally in my LabVIEW programming skills. I learned so much. It is great to have coding best pratices and some kind of way of measuring that. Granted it is not perfect, but it is something. I am sure everyone who has taken the test has found something they didn't like, but there was a lot of things I liked.

    Experience is great but how do you quantify it? How do you communicate the experience you have to somebody. I think having an exam is a great way to comunicate to somebody else you have a profincy in something. You also get a cool logo.

    I also think consumers of LabVIEW services are looking for something that tells them that the person they are hiring is proficient. If that consumer doesn't like the service provider and if that person is certified theoretically another developer can take their code and understand it because it was written using best practices.

    I think engineers as a profession need to embrace more ways to quantify our skills. Would you go to a doctor that didn't have a licence? Would you hire a lawer who didn't pass the bar?

    My final point if you think you are a good LabVIEW programmer passing the exam should be no problem. So do it already! You might learn something.

    My $0.01

  14. Congrats Tom!!!

    Run out buy a lottery ticket right now.

    However next years NI week will be a disapointment... Where do you go from here.

    Dan

    QUOTE (Tom Bress @ Aug 18 2008, 08:24 AM)

    I took the CLA exam while I was at NI Week and I just found out that I passed!

    Man, what an NI Week. I got bumped to first class on the flight to Austin, took the CPI training, gave a talk, won the Wii at the LAVA BBQ, and passed the CLA exam. I should have bought a lottery ticket while I was there!

  15. Hello,

    I am hoping there is some quick and dirty solution for the following problem.

    On waveform graph is there an existing VI, method, etc that idenitifes if my mouse cursor is over a plot. I know I can get the coordinats in pixels. I want if my mouse is over a plot and the ablity it identify the plot.

    My use case is; pop up a tip strip that has the plot name when the user moves the mouse over the plot.

    Thanks

    Dan

    Found the answer!!!

    There is a method of Waveform Graph called "Get Plot at Position"

    Seems to work very well

×
×
  • Create New...

Important Information

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