Jump to content

jcarmody

Members
  • Posts

    947
  • Joined

  • Last visited

  • Days Won

    39

Posts posted by jcarmody

  1. Yes, but simply using LabVIEW on a daily basis doesn't necessarily prepare you for the certification exam either. I am sure that there are lots of sel taught LabVIEW programmers out there that think they are writing great code. However if you really looked at you would see that it is not very good code.

    This thread, on that other forum, began with a poor fella expressing frustration over a horrible application he inherited.  The discussion became one that illustrates your point (or, an extension that follows from it) - many "professional" LabVIEW programmers are rather horrible.  (Please don't look at any code I've posted until after you forget I wrote that.)  Many of them charge $100US/hour for their "services".

  2. [...] Thats a cool idea to run the installer - (assuming its an NI Installer you are using??) are you able to somehow respond to the prompts so it can install automatically - that would be cool!

     

    Yes NI installer, no automatic prompt responses.

    Which ini files are you talking about? Are these the "settings" of the application that you own? Or the default .ini file created by LabVIEW?

    Application settings.  I use configuration files to make the system flexible when I'm working on it, but I want less flexibility when it's working in production.

    Look forward to seeing it Monday
     

    One-click build-n-install.zip

    • Like 1
  3. [...] the timer just runs in another thread however, using the NI Build VIs the updating gets blocked (maybe the build runs as a high priority ?? - someone from NI may be able to comment). So it periodically updates. Thats ok cause the idea is I can leave it running and go away from the desk[...]

    It works, but it's not as nice as I'd like it.

    What else did you add? Are you able to share code or any screenshots?

    I don't have as much as you have.  Mine builds the executable and installer then closes LabVIEW and launches the installer.  I want to add a function to set file permission on the ini files to restrict editing to admins.  I'll be able to post it Monday, but it's not very fancy.

  4. Justin's blog post CHANGED MY LIFE!  I re-wrote my own interpretation of this earlier this week (I had made an ugly version after reading the post and wanted one that could be shared), but didn't go as far as you did.  I can't tell how far you went, however, because I don't have LabVIEW 2009 yet.  Can you save it back to 8.6 (at least)?  Short of that, could you show me how you managed the timer?  My timer keeps time but the interface frequently hangs/freezes when the builder is running.

  5. CK,

    This is an approximation to what you described. The "variables" are the wires and the Shift Registers carry them from one loop iteration to the next. See how I've created your struct as a clusters; I took the liberty to do the same with old_s0 and old_s1 just to make it easier to propagate them to the next iteration.

    The other case in the Case Structure has the old wired straight through, and I've got a True constant wired to the loop condition just for this example.

    post-7534-125805135531_thumb.png

  6.  

    But I've got a "project cleaner" vi that does

    Would you share it?  I have a project that I inherited from an outside contractor.  I rewrote everything except the CAN driver and want to get the bloat out of the project.  I have another project (from the same outside contractor, not coincidentally) in the same boat. 

  7. For now, i'm trying to find something that can run on a winxp machine. Eventually it will probably be moved to a windows server box but it will not be soon.

    Try XAMPP if you want to run a web application.

    XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use - just download, extract and start.

    You can run a webserver from a thumb drive.  You'll need to know how to set up a MySQL database and install the application, but that's not very hard.  

  8. I've been using Fogbugz for a few weeks now and I'm thrilled, so I'm wondering what it's missing for you.  Besides Fogbugz, I've installed & used:

    • Mantis on my own site, but don't like managing my own stuff anymore.  It installed easily with a Simple Script from my host's cpanel.  
    • xp-dev.com for SVN, but it has project management and bug tracking as well.  I don't like those parts so much.  They've recently added hooks into Fogbugz to link commits with a bug's resolution.
    • I love  Emacs and Planner mode for managing my projects (and time recording), but these require a particular kind of geek.

  9.  

    I used Sequence Structure and each sequence is for each LED and timer.  I enclosed the attachment below.

    I think I misunderstood what you were going for, and I didn't even look at your LabVIEW version so you probably didn't get to run my examples.  I turned the LEDs off at the end of their appointed times. Here's how I did it.  Those are Elapsed Time express VIs.

    post-7534-125755412054_thumb.jpg

    I felt bad after writing this because it would require more code to add more LEDs, and it would get very ugly very quickly.  I wrote this to go up to 32 LEDs without changing the code.  I think it would be easy to add even more, but I'll leave that up to you.  That's a Time Delay express VI.  The thing I really don't like about this approach is that it can't be stopped, only aborted.

    post-7534-125755443289_thumb.jpg

    PS - the second loop exists only because I HATE local variables.

  10. Ken,

    The point Ton and I were trying to make is that you need to demonstrate that you've made an effort to solve this problem yourself.  If you're asking for our help you need to explain what you've tried and where you're having trouble.  You won't learn anything if we do the work for you.  Besides, you won't even be able to recognize if someone gives you an obfuscated solution (which has happened on this forum).

    We don't know anything about you.  For all we know you're a college student with a homework assignment and you're trying to get us to do it for you.  If this was the case, and you don't learn the material, you may graduate and be hired by my company and be assigned to my team.  I'd have to do your work for the rest of my life.  I'm not interested in that.

    Jim

    Your mother is a hampster, and your father smells of elderberries? :D

    Yes, or "I [shout C syntax] in your general direction."

    • Like 2
  11. New Feature Request:

    * I think the "Insert case here" should duplicate a separator case (a case named "---------- UI ----------" for example) so all the necessary wire are already connected (error, application data, queue, ...). Alternatively, create a new command called "Duplicate case here" that does what I explain above.

    That's a good idea, but I think everyone should use linked tunnels.  That won't work for 8.2, though, so I'll do it.  The 8.6 version allows you to ctrl-drag-and-drop/copy cases in the tree.

    * The caseselect windows title should have the VI name in it so it is easy to know which one I am looking at when I have more than one case select editor opened. I actually think that nothing else beside the VI name is needed.

    I can't recall if I implemented it in 8.2, but 8.6 hides the CaseSelect window unless the source VI is active.  I'll do it because it seems like a natural behavior.

    The support discussion is over here.  Did you look at my last post?  I had a  question I need help with.

  12. Any other suggestions?

    Gary

    Drop a golf ball and a basketball at the same time, but with the golf ball on top of the basketball.  Drop them so they're in contact while falling, but get out of the way of the golf ball when they hit the floor. Much of the collision energy from the basketball is transferred to the golf ball and it takes off...  

×
×
  • Create New...

Important Information

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