Jump to content

Justin Goeres

Members
  • Posts

    691
  • Joined

  • Last visited

  • Days Won

    10

Posts posted by Justin Goeres

  1. Our local users' group last night had a presentation based on the Tips and Tricks to Speed LabVIEW Development session from NIWeek. Since I missed that one at the conference, I went. On one of the slides, there was a new (to me) tip that wasn't part of the presentation.

    You can use the N terminal of an auto-indexing For Loop as a proxy to the size of the (smallest) incoming array. All these years, I've been manually calculating the Array Size outside the loop!

    post-2992-1189602836.png?width=400

    Of course, it's obvious now that I've seen it. Am I the last person in the world to learn this? :lightbulb:

    EDIT: This was supposed to go in the LabVIEW (General) forum, but in my excitement I posted it in the wrong place. :(

  2. QUOTE(shashank @ Sep 12 2007, 01:20 AM)

    In the menubar in LabVIEW, go to Help >> Find Examples... >> (Search Tab) and search for "XY graphs". That should get you some examples on how to use the XY Graph indicator.

    QUOTE(shashank @ Sep 12 2007, 01:20 AM)

    i want to plot this values on a graph and then when i give a inpout asking for the value of 5,5, it shud return the value on the y axis. can anyone please help me with this VI. i will be highly obliged.

    Look in your function palettes under Mathematics >> Interpolation & Extrapolation.

    Browsing the palettes and wandering around in LabVIEW's Help facilities are the first things I do when facing a problem I don't know the answer to. :thumbup:

  3. QUOTE(Tomi Maila @ Sep 11 2007, 01:27 PM)

    This is actually not that different from the problem of LabVIEW libraries needing to keep in sync with certain folders. LV could rely on hidden files to find out to which library current folder belongs to. When a file is added to the folder, it's not automatically added to library. Instead it needs to be synchronized with the library, which could be manually executed or automatically occur when the folder owning library is opened. The hidden files could be used to specify which library owns a folder so that only a single library could own a folder. If a VI is opened in an owned folder, then LV could simply check from hidden files who owns the folder and open the owner as well should this be required.

    This brings up an interesting issue to me (apologies if this is kind of a thread-jack).

    In the olden days, we developers did almost all of our VI file management on disk. The only thing LabVIEW did to try and help out was to (attempt to) relink files when they weren't in their expected locations. While this was occasionally infuriating, we all learned to work with it and the world kept spinning.

    Ever since LV80, we've got a whole bunch of new wrinkles in how we manage our VI (and related other) files. Classes can contain VIs, Classes can contain folders, LVLIBs can contain VIs, LVLIBs can contain classes, virtual folders can have access scope, projects can contain everything, some things can contain non-VI files, etc. (and I've left out XControls entirely, being somewhat of a n00b in that area). Part of what we're seeing with things like auto-populating folders are (I hope) just the growing pains of working in this New World of project-based LabVIEW development.

    I'd like to believe that all of these changes lead to some Grand Unified Theory of LabVIEW LVPROJ/LVLIB/LVCLASS organization, but it's not clear to me how it should all work together. That leads me to make decisions in my project organization that sometimes turn out to be really suboptimal later on. Is there some great exposition of What The Project Environment Truly Does For Professional Developers that I've just missed out on? Is the users' demand for Auto-populating folders (and NI's apparent acquiescence to it ;) ) just a symptom of a situation where nobody really understands exactly what the Project environment is really for?

  4. QUOTE(bpreis @ Sep 10 2007, 07:47 PM)

    I noticed that when I delete the exe build spec from the Destination View of the Source Files page of the installer build spec, then re-add it, the tree information is re-populated correctly.

    It's only after I click OK (closing the build spec editor) and re-open the build spec when I see the bug appear. It's messed up in the same way on all subsequent loads.

    Correct. I noticed that before, too, but left it out of my description because it wouldn't be apparent from the Project file I was attaching and would've complicated my description even more :).

    Thanks for staying on this.

  5. QUOTE(crelf @ Sep 10 2007, 02:02 AM)

    This is probably going to paint me as not hip, rad or sick (and I'm am, I swear!) but what's the big deal with sites like FaceBook, MySpace and LinkedIn? I know what they are and how they work, but beyond a bit of fun at college, what's the point?

    A very good friend of mine is a professional musician, and he has heard from other people in the business that it's normal today for them to get more exposure & contacts from their MySpace pages than they ever got from their standalone websites. Many people starting out in that business have found its pointless to even do a separate site anymore. They just set up a MySpace page because that's all anyone will ever see anyway. This baffles him as much as it baffles me, but there you go.

    Gentlemen (& ladies), the world has officially passed us by. We are dinosaurs, because we're still wasting our lives posting to forum sites from computers when we should be checking our MySpace messages on our phones.

    All I've gotten out of LinkedIn so far is some contact refreshes from old college buddies. I'm not on Facebook, but now I'm going to go join just to be cooler than you.

  6. QUOTE(TobyD @ Sep 10 2007, 10:26 AM)

    toddles off to test that...

    Well, I'll be dambed, so that's how it works.

    OK, I guess that's NOTABUG, then. But now I'm going to ###### about the UI design of that feature. When I click the "+/- QUOTE" button, it feels like I'm setting it from +QUOTE to -QUOTE. The button is labeled by its function ("what happens if I click this?") but it looks like it's labeled by its setting ("Quote Mode currently set to +QUOTE").

    On top of that, the act of Quoting is very closely related to the act of Replying, but the "+/- QUOTE" button has nothing to do with the Reply button immediately next to it! Instead, it's (totally non-obviously) coupled to the AddReply button at the bottom of the thread page, which for the record I'd never even noticed 'til now.

    That having been said, I kinda like the idea of it. Now I know how to quote multiple people in a single reply without opening multiple reply windows ;) . And don't ask me how I'd do it better -- I'm just here to complain :P .

    QUOTE(Michael_Aivaliotis @ Sep 10 2007, 10:36 AM)

    Didn't you read the tutorial?

    This is not a bug.

    Clearly not :) .

    But the reason I didn't think to look up the functionality anywhere is because the way it's arranged on the page makes it seem to have a very intuitive function that it doesn't actually have :angry: .

    Mea culpa.

  7. This doesn't go to your immediate problem, but in general you might want to check out UltraMon if you work with multiple monitors regularly. It lets you set up different multi-monitor profiles, manages icon positions, puts a taskbar on the second monitor, etc. (I don't know how much of that might also be available in normal Windows now -- it's been so long since I lived with UltraMon :) ).

    It also adds a couple widgets to the title bar of your windows. One of the is "Move this window to the other monitor" and the other is "stretch this window across both monitors."

    Example:

    post-2992-1189445102.png?width=400

  8. QUOTE(TobyD @ Sep 10 2007, 08:35 AM)

    I went with RSS feeds a couple of weeks ago. I don't like Internet Explorer as an RSS reader so I have them streaming right into Outlook. It's great! Makes it much easier to keep up with the posts and if I need to see the actual thread there is a link that takes me right to it.

    Amen to that. I use Thunderbird for my email/RSS and it's great for keeping up to date.

  9. QUOTE(stamatios @ Sep 8 2007, 08:31 AM)

    Hey guys im final year student and i wanna do voice recognition for my last year project.has anyone done voice recognition to tell me some ysefull thingsand if he has it in lava to sent me in hotstamos@hotmail.comto take a look how its working?

    At the risk of feeding a homework troll, there are a lot of ways to skin this cat. There might be someone around here who knows enough to help you straight away, but you're more likely to get better results if you give us more information. For instance...

    • What, exactly, are the "useful things" you need your program to do?
    • Have you looked at any existing voice recognition products and how they might integrate with other software? If not, do that and then come back here and tell us what you found.

    If you're talking about acquiring data and doing voice recognition from scratch in LabVIEW, I think you've bitten off way more than you can chew. Your best bet would be to find a way to integrate LabVIEW with existing voice technologies, but you need to find those technologies first. People around here will be more than willing to help you with the integration step if you show some initiative up front.

  10. I have a 3D picture control (actually, indicator) on my front panel. In the development environment, everything is fine -- I get the 3-axis grabby-spinny cursor* when I mouse over the indicator, and I can spin/zoom/translate the model around to my heart's content.

    http://forums.lavag.org/index.php?act=attach&type=post&id=6887

    When I build the app, however, I no longer get the 3-axis grabby-spinny cursor, so I can't manipulate the model at all!

    http://forums.lavag.org/index.php?act=attach&type=post&id=6888

    I'm not doing anything fancy with any rogue property nodes -- this is actually a pretty simple application. Anybody know what's going on?

    This is in LabVIEW 8.5, for what it's worth. I tried to test it by backsaving to LV82, but the backsaved project (from LV85 to LV82) crashed LV82 when I tried to open it :headbang: .

    * Does the "3-axis grabby-spinny cursor" have a real name?

    ---------UPDATE-------

    Nevermind, I figured it out. It turns out that LabVIEW is setting the Camera Controller.Type property of the 3d Picture Control(/Indicator) from Spherical to None when it builds the app :thumbdown: . Programmatically setting it back at runtime fixes the problem.

  11. QUOTE(Robbie Gehbauer @ Sep 7 2007, 06:54 AM)

    Yes, you can change this to Get/Set. I pull those strings from the global CLSUIP_LocalizedStrings.vi. So, you can just change those two strings by opening <labview>\resource\Framework\Providers\LVClassLibrary\NewAccessors\CLSUIP_LocalizedStrings.vi and changing "Read %s.vi" to "Get %s.vi" and "Write %s.vi" to "Set %s.vi". Then don't forget to pop up on each and select Data Operations>>Make Current Value Default. Save and close the VI and you're good to go! You don't even have to restart LabVIEW.

    Awesome! :thumbup:

    Note that you also have to switch the Global to Edit Mode first (Operate >> Change to Edit Mode) before you can do Make Current Value Default.

  12. QUOTE(Ben @ Sep 7 2007, 04:08 AM)

    You're not http://en.wikiquote.org/wiki/The_Addams_Family' target="_blank">the only one:

    Girl Scout
    : Is this made from real lemons?

    Wednesday
    : Yes.

    Girl Scout
    : I only like all-natural foods and beverages, organically grown, with no preservatives. Are you sure they're real lemons?

    Pugsley
    : Yes.

    Girl Scout
    : I'll tell you what. I'll buy a cup if you buy a box of my delicious Girl Scout cookies. Do we have a deal?

    Wednesday
    : Are they made from real Girl Scouts?

×
×
  • Create New...

Important Information

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