Jump to content

ASTDan

Members
  • Posts

    360
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by ASTDan

  1. QUOTE (Kevin P @ Sep 10 2008, 12:18 PM) I want to start the analog and counter acquisition at the same time. Using the internal clock I don't need an external connection. QUOTE (Kevin P @ Sep 10 2008, 12:18 PM) 2. If you ever request an AI sample rate that can't be generated exactly by your cDAQ device, I'm not sure if your property node query will work correctly when you query before reserving / committing / starting the task. I had a past experience where a similar query returned the exact same value I requested if I queried it before starting the task, but returned the true physically possible nearby value if I queried after starting the task. That was many versions of DAQmx ago though, so not sure if still relevant. Try putting in a task control vi after the trigger config and before the start. Set it to reserve or commit the task. Do a second query of the SampClkRate here. Then do a 3rd query after the start. See if the 3 show any discrepancies as you try various not-quite-possible AI sample rates. Yes in that diagram it is imposible to set the sample rate of the 9237 to 1kHz, the lowest is 1.6 kHz. That is why I ask to see what the sample rate is actually set at to get both tasks sampling at the same rate. You make a very good point. I will experiment with quering the sample rate before and after setting the task. Thanks Dan
  2. 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
  3. QUOTE (crelf @ Sep 5 2008, 01:33 AM) Trips for LAVA BBQ organizers to Cancun have gone down this year
  4. QUOTE (crelf @ Aug 28 2008, 02:02 PM) So how about it. Error Handling Techniques at NI week 2009 by crelf!
  5. QUOTE (crelf @ Aug 28 2008, 11:22 AM) 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
  6. 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
  7. ASTDan

    Tip strip

    QUOTE (Darren @ Aug 22 2008, 11:59 AM) Is he willing to share? Dan
  8. QUOTE (Neville D @ Aug 22 2008, 12:51 PM) 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
  9. ASTDan

    Tip strip

    QUOTE (Michael_Aivaliotis @ Aug 22 2008, 08:59 PM) 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
  10. 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
  11. 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
  12. QUOTE (Tom Bress @ Aug 21 2008, 03:55 PM) 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
  13. You might want to try Allied Electronics http://www.alliedelec.com/ Digikey http://www.digikey.com/ or Mcmaster Carr http://www.mcmaster.com/
  14. 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
  15. Hello, I need an algorithim that can give me 32 different colors to plot in the waveform graph (Current graph only gives you 8 by default). I could set this up manualy but I was hoping for a more elegant solution. Dan
  16. ASTDan

    NI website

    Is it just me or is anyone else having trouble accesing NI's website. It seems very slow.
  17. QUOTE (Tim_S @ Aug 21 2008, 08:57 AM) From what I understand that is what seperates a "professional" from a "non-professional" Professional as being defined as having a license. A professional can be held personally liable when they stamp a document when acting in the role as a PE. This I am sure depends on how the law is written in your paticular state/country. On here somewhere is the law as it pertains to Michigan. http://www.michigan.gov/dleg/0,1607,7-154-...5472---,00.html
  18. QUOTE (Tom Bress @ Aug 21 2008, 09:59 AM) Hello Tom, They changed the format of the test reciently. They have dropped the blue book portion and replaced it with a multiple choice exam. On both the FE, and PE you can choose your specilality. See this for more details http://www.ncees.org/exams/formats/ Dan
  19. QUOTE (crelf @ Aug 20 2008, 05:39 PM) No problem. Now Tom and I have to go to the PE bar and talk about this new Australian joke I heard. Oh wait your not supposed to know. There is no PE bar, there is no PE bar That's pub to you
  20. 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
  21. 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
  22. Thanks Denis, It looks like the best answer to my question is to generate some data in the file format I think would work and see how it performs. Thanks for letting me know about some of issues when large files are generated. I am almost sure I will run into those. Dan
  23. Hello, I am trying to find a formula the aproximates the size of a .tdms file on disk. I am mulling over a few ways to set up my files and having a way to estimate file sizes would be helpfull. Does anyone know of a good method to do this? Thanks Dan
  24. 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
  25. 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)
×
×
  • Create New...

Important Information

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