Jump to content

jgcode

LabVIEW Tools Network
  • Posts

    2,397
  • Joined

  • Last visited

  • Days Won

    66

Everything posted by jgcode

  1. QUOTE (Aristos Queue @ Mar 6 2009, 05:59 AM) Thanks everyone. I can't comment on the OOA&D aspect of the code as this was just an example. And I have never had the need to do this in the past. Therefore, even though it is possible to do this in JAVA - are you saying that you would never do this in the real world? Is it just that the example sucks?
  2. I have a Jet class that inherits from Airplane class. Both methods have a setSpeed vi which are different. In another Jet method accelerate I am trying to call the parent Airplane setSpeed method. When I wire the Jet object into the Airplane setSpeed method it dynamically changes to the Jet setSpeed method (understandable). I thought using the To More Specific/Generic Class nodes would stop this behavior? But even though in edit time the Airplane setSpeed VI is shown (as per the picture) it runs the Jet setSpeed at runtime (verified by debugging). Obviously if it was the same method (override) I could use the Call Parent Method node inside the VI but its not this case. Is there a way to call a parent-method-VI in a different child method, when the child has an override method for that parent-method-VI? I am trying to implement some JAVA code in LabVIEW - so JAVA can do it. Regards JG I am coding in LV8.6.1
  3. QUOTE (rpscott02 @ Mar 5 2009, 10:31 PM) I will take a stab in the dark here without seeing your code... if you are wiring an error to a property node and the wire contains an error then the property node will not run.
  4. cross posted to ni.com Hi Does anyone knows if LabVIEW DSC works on XP embedded? These two posts are interesting: WinCE post, cRIO post. Links DSC Help, shared variable, Regards JG
  5. QUOTE (Waleed Ali @ Mar 5 2009, 03:26 AM) You can share the cDAQ Timing Clock with all modules quite easily in DAQmx. One way is to programmatically create the Task in LabVIEW and pass it to each Virtual Channel you create, then set the Timing for the Task. Another way is to set the Task in MAX. Timing can also depend on your module as some modules can override the Timing you set. E.g. (Off the top of my head) 923x set sampling rate to set-intervals of 50k. Also check out the http://zone.ni.com/devzone/cda/tut/p/id/5434' target="_blank">NI KB on DAQmx. Cheers
  6. As part of working for an NI Alliance member I attended an NI presentation today. I was introduced to a new catch-phrase that I had not heard before - Instrumentation 2.0. "Instrumentation 2.0 is a software based approach to instrumentation empowering engineers to create user-defined results from raw measurement data" This was the first time I had heard the term mentioned and used to define and document an evolutionary step in the industry - just like Web 2.0. On further research it seems that this was mentioned all the way back in 2007. But I can't find a lot on it. Have you heard it used? Is it an Industry or National Instruments only term? Did it not catch-on? A few interesting reads here and here.
  7. QUOTE (rpscott02 @ Mar 3 2009, 06:44 AM) Hi Rpscott02 I am guessing you are able to create an implicitly linked property node by right-clicking a control and selecting create>>property node? You can use property nodes in subVIs by using explicitly linked property nodes. To create an explicitly linked property node you need to create a control reference (by right-clicking a control and selecting create>>control reference) for the control object and wire it to the generic property node (found on the Functions>>Application Control sub-palette). Depending on the version of LabVIEW you have, an easier way is to place a marquee around some implicitly linked property nodes (i.e. to select them with the mouse) then go to edit>>create subvi and LabVIEW will do the above for you. Don't forget to close your references! This tut should be good information for you.
  8. QUOTE (Tomi Maila @ Feb 27 2009, 05:27 AM) Chance favors the prepared mind! Awesome job, well done.
  9. QUOTE (zmarcoz @ Feb 24 2009, 04:13 AM) I don't have the Traditional DAQ VIs installed but you could easily see if your old application (referring to your other posts) returns the buffer or a single value by checking the datatype returned. Is it numeric = single value; or an array = buffer The DAQmx read is a polymorphic VI that can be set to return a variety of datatypes depending on what mode (i.e finite, continuous, or software on-demand) you have configured the resource to collect in. NI run a DAQmx series - check it out http://zone.ni.com/devzone/cda/tut/p/id/5434' target="_blank">here.
  10. I made this post a while back and did not have success running DAQmx. I have not tried the new VMWare 2.0 with DAQmx yet. Good to hear people have it working. VirtualPC is not good as it does not have USB support last time I used it. Anyone else out there tried using VMWare with DAQmx?
  11. QUOTE (zmarcoz @ Feb 21 2009, 08:33 PM) Hi zmarcoz If the VIs are not installed on your system you can download the Traditional NI DAQ drivers from http://joule.ni.com/nidu/cds/view/p/id/570/lang/en' target="_blank">NI Support . The last drivers produced were version 7.4.4 in 07 as they have been superseded by DAQmx. Cheers JG
  12. QUOTE (crelf @ Feb 21 2009, 02:25 AM) The only thing that chokes me up is how http://www.news.com.au/dailytelegraph/story/0,22049,23479944-5013124,00.html' rel='nofollow' target="_blank">dense Lara Bingle is but how much money she gets.
  13. I updated the wiki with your response AQ - cheers.
  14. QUOTE (neBulus @ Feb 21 2009, 12:47 AM) FWIW, I prefer to use the IO Server when communicating with Modbus on RT rather than those VIs.
  15. QUOTE (george seifert @ Feb 20 2009, 03:26 AM) I don't usually use the installer to install DAQmx as the size blows out. The new drivers - DAQmx 8.9 - are just shy of 1.2GB!! So I normally get the client to install if off the discs supplied by NI. If the user does a DAQmx install without LabVIEW installed on a PC then by default the option for "support for (e.g. LV8.5)" is not selected. This can mean supporting VIs are not installed and if you call them in your application then you can get a broken run arrow. I find the generic error LabVIEW returns to be pain as well, a little bit more info would go a long way to discovering the cause of the broken run error. If you scroll down about halfway http://zone.ni.com/devzone/cda/tut/p/id/3021' target="_blank">here NI provide info on the differences in the Runtimes for an installer under the heading: Q: Can I include NI-DAQmx as an additional installer with the stand-alone application I have created in LabVIEW?
  16. [cross posted to ni.com] Problem: LabVIEW seems to be overriding a value of 1 to a value of 2 for the Sample Quantity.Sample Per Channel DAQmx Property Node for a Continuous acquisition mode. Information: I have a task set up in MAX (version 4.4.0f1). When I set Samples To Read to 1 the task runs correctly in MAX. When I read the task in LabVIEW (8.5) the Sample Quantity.Sample Per Channel property node (which is the Samples to Read) is coerced to a value of 2. If the value is greater or equal to 2 in MAX then the Sample Quantity.Sample Per Channel property node in LabVIEW returns the correct value. I get the same problem with a real device or a simulated device. Question: Is this desired behavior? Side note: If N Samples (finite buffer acquisition) is selected Samples To Read cannot be 1 as it causes an error 200077 - it must greater or equal to 2. But no error occurs when the task is saved as Continuous (continuous buffer acquisition). I don't know if this is related. The error generated is: Error -200077 occurred at DAQ Assistant Possible Reason(s): Measurements: Requested value is not a supported value for this property. Property: SampQuant.SampPerChan You Have Requested: 1 Valid Values Begin with: 2 Valid Values End with: 8589934590 Device: cDAQ3 Not Expected Expected
  17. QUOTE (JustinThomas @ Feb 19 2009, 12:58 PM) I proposed that question http://forums.lavag.org/UI-Controls-t11699.html' target="_blank">here - there are some good links in the topic i.e to some of PJM's code.
  18. QUOTE (Nikunj @ Feb 15 2009, 03:26 PM) Hi Nikunj Here is a demo on how to make a start using RTMs in your VI (no audio). Here are some links to the KB as well: Help Shortcut menu but the principle is still the same Coded in LV8.6; Save For Previous as LV8.0 Download File:post-10325-1234680993.zip
  19. QUOTE (shenghuoshi @ Dec 6 2007, 11:45 PM) Goodluck getting a copy - I am waiting for a reprint. Check the wiki: http://wiki.lavag.org/LabVIEW_Books
  20. QUOTE (WGMres @ Feb 8 2009, 05:09 AM) I am thinking the correct answer here would be tasks are used every time. Resource allocation and scheduling is done in DAQmx using the task state model. http://zone.ni.com/devzone/cda/tut/p/id/4656#toc2' target="_blank">KB
  21. Hands On Introduction to LabVIEW for Scientist and Engineers (Paperback) by John Essick I saw this new LabVIEW book on Amazon. From the Product Description it seems like it is aimed at entry level academics. Anyone read it or know if its any good as a reference? Edit: I added this book to the wiki
  22. QUOTE (cheekychops @ Feb 4 2009, 10:40 AM) jdunham is correct. Additionally: The Index Array function is expandable (so you don't need to use two) just pull down on the bottom of it to expand it & If you explicitly set and index then the next, same index is that value plus one (+1). I thought this was worth mentioning as it can neaten your code. http://lavag.org/old_files/monthly_02_2009/post-10325-1233720826.png' target="_blank">
  23. Congrats on passing the CLAD QUOTE (crelf @ Jan 17 2009, 05:43 AM) IMHO & from an 8.2 course perspective (in case it has changed), the exam structure is based solely around Intermediate 1. Intermediate 2 (Connectivity - now & Performance) - although a great course, was not needed when I sat CLD Unless it has changed you could save some cash by doing just Int 1? I agree with what has been said already here: If you are ready experience wise (logged wire time is at appropriate level) then the following will help for the exam: Do the Int course, understand the course materials Do the online prep course Do the exams online & 1) Ensure you complete them with time to spare 2) Make sure the app works - all features in the spec implemented 3) Following a recommended NI layout/architect (coz they will be marking it) 4) Document everything (FP objects, SubVIs, Modules, etc..) Goodluck
  24. Congrats on passing the CLAD QUOTE (crelf @ Jan 17 2009, 05:43 AM) IMHO & from an 8.2 course perspective (in case it has changed), the exam structure is based solely around Intermediate 1. Intermediate 2 (Connectivity - now & Performance) - although a great course, was not needed when I sat CLD Unless it has changed you could save some cash by doing just Int 1? I agree with what has been said already here: If you are ready experience wise (logged wire time is at appropriate level) then the following will help for the exam: Do the Int course, understand the course materials Do the online prep course Do the exams online & 1) Ensure you complete them with time to spare 2) Make sure the app works - all features in the spec implemented 3) Following a recommended NI layout/architect (coz they will be marking it) 4) Document everything (FP objects, SubVIs, Modules, etc..) Goodluck
×
×
  • Create New...

Important Information

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