Jump to content

crelf

Members
  • Posts

    5,754
  • Joined

  • Last visited

  • Days Won

    54

Posts posted by crelf

  1. Hey Paul,

    The red glyph means that someone has set the node to ignore internal errors (righ click on the glyph > Ignore errors inside node). From the LabVIEW Help:

    This means that If an error occurs on a terminal, the node stops at that terminal, returns an error, and does not execute any further terminals. You can right-click the node and select Ignore Errors Inside Node from the shortcut menu to ignore any errors and continue executing further terminals.
  2. I was mostly concerned about Control References (right click a control -> Create -> Reference). It seems that they do not change whenever they are read and therefore do not 'need' to be closed, so I don't need to go back and fix old code.

    Yep - that's my interpretation as well. The control reference is created (it's not very big as it's just a reference to a control, not the data within it), so I wouldn't bother closing it.

    (I can hear my old programming teacher who'd worked on ENIAC spinning in his grave: :nono: "Every bit is sacred!")

  3. Have a look at this recent post on the NI Discussion Forum - it answers exactly what you're after (and more).

    In summary: "VI-Server "Static" references (this App, this VI, Control-references) allocate memory (once). If memory's an issue, close them, otherwise they close automatically when Application exits."

    As for them being bad practise - I suppose it's like anything else - it depends on how you use them :rolleyes: Control references are great, and can open up a whole lot of control (pun intended) that was previously either unavailable or really messy to acheive.

  4. .

    NOTE: This is a cross post from Info-LabVIEW

    .

    G'Day Everyone,

    I work for a fairly large System Integrator, and we're considering the migration from LabVIEW 7.1 to 8.0. Recalling the considerable hardship the 5.1.1 to 6.0 route caused to just about everyone, I'm being a little cautious. I'm not one of those that swears not to migrate until software is in the x.1 phase, but I also recognize that significant changes were made between 7.1 and 8.0 (I was a member of the beta programme and liked what I saw, but the beta software wasn't anywhere near finished so I couldn't test a lot of what I wanted to - it just wasn't ready. I have used the 8.0 release dev environment as well, but not extensive enough to consider it on a full-blown project as yet).

    I've used a number of methods in the past to evaluate the time to move from one version of LabVIEW to another, and probably the most reliable that I've found is Info-LabVIEW itself: perhaps the number of issues reported here are directly proportional to the number of issues I'll have with it? I've also noticed that the number of posts generally increases after a new version is released. But it doesn't seem so this time - whilst there have been a handful of issues reported here since 8.0's release, I have seen anything that would be a show-stopper, and I was wondering if that is because everyone is more than happy with 8.0 (I certainly hope so :) , or people aren't happy with it and are keeping their mouths shut, or maybe you're like me and are waiting to migrate your new projects once its' been proved robust?

    In short, my questions are: for those who've used 8.0 on projects - how's it going? What sort of projects are you doing? Are you finding any issues that make you wish you'd stayed with 7.1?

    PLEASE NOTE: I am not interested in license issues here - if you wish you'd stayed with 7.1 because you think 8.0's license is restrictive then you've probably already been represented on this list, and I sure don't want to hash through that can-o'-worms again :) Just the technical aspects please.

    Thanks!

    Chris

  5. Don't be too hard on yourself Pete - I had exactly the same problem with an XY graph about a month ago and I hadn't opened it in the control editor - I still have no idea on why it happened (I made a lot of changes to the graph and didn't notice it immediately, so I'm not sure what change caused this to happen...)

    PS: how's the weather mate? bloody cold over here!

    web_mi_temp.jpg

    (those temps are in F :blink: )

  6. "that's almost as good as two 1600x1200's side-by side" - are you saying that from personl experience ;)

    It'd be great is it just had two side-by-side inputs, so you could use a dual monitor card or two separate cards and let your OS handle the placement of the virtual screens...

  7. I beg to differ. Case in point: we're happily debugging and adding breakpoints left-n-right as we go. We finally find and fix the problem. At this stage, I shouldn't have to go to each breakpoint -- some of which I don't even remember where I put them (may be in a false case which doesn't get exercised under normal operation, for instance) and clear them manually.

    -Khalid

    I understand your situation, but using this function could just as easily clear a breakpoint in an area that yo're not working. Also, if you're in a multi-developer team then you could be clearing breakpoints put in by other coders that you're not even aware of. I just think that you'll have to be careful when using this tool - it's like hitting ctrl+B to delete all broken wires: sure, you'll get your unbroken run button back, but you could be doing a whole lotta damage without even knowing it (and with no indiscation that you've done it)

  8. The demo "Language Translation Demo.vi" automatically sets the captions and tip strips to the correct language, and the lower level "Translate Language.vi" can be used on a case-by-case basis to translate strings/words/phrases as required (in all the projects I've used this technique, if I need to set the text in a string indicator, I'd just pass the English through this little VI). A few people bought up a couple of excellent points - my initial description would only change captions, and not other things like chart axis labels, table column headings, etc. I've added in the functionality for these components to be automatically changed as well, although it's not completely comprehensive (for example, it deosn't change actual data - text inside a string control or indicator isn't changed automatically, as it's data - not cosmetic). There are also a couple of limitations (including controls on tab pages not being updated), but I'll post a better version once I've gotten over my NI-Week jetlag. If anyone has any comments, I'd love to hear them.

    Hope that helps :)

    Cheers,

    Christopher

    Download File:post-181-1092849603.zip

×
×
  • Create New...

Important Information

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