Jump to content

Norm Kirchner

NI
  • Posts

    823
  • Joined

  • Last visited

  • Days Won

    25

Posts posted by Norm Kirchner

  1. QUOTE (Michael Hill @ Sep 3 2008, 09:36 AM)

    Actually, I believe I just found what I was looking for after making this topic (who wouldda thunk?). There is an invoke node that allows you to return an array of the hierarchy. I was looking in the wrong spot all along. Thanks, though.

    This is not what you want to be doing.

    From a programmers standpoint, the tag is the appropriate place for this especially if that is the information you are looking to extract from someones selection.

    Also even if you keep w/ your solution, still look into the API. It makes life sooo much easier for you and the next guy walking up to your program.

  2. There are some key things to know about the tree control.

    Each element has a string tag associated with it. This tag does not have to have any resemblance to the displayed value.

    As you add an element into your tree, set the string and the tag.

    The tag will be your path and the name will be what's displayed.

    As someone selects part of the tree, the data value of the control is the selected tag .... ie your path

    I strongly suggest checking out the Tree Control API as it will get you out of property node hell and back into the LV we love so dear.

    I have a full presentation on working with the tree control.... Lemme go dig it out for you

    Found it here!

    keep the questions coming

  3. Wow... that's one to test if your brain is functional in the morning....

    I would say we need to categorize the "time to comprehension" into a tiered system

    0-1 seconds : You're just too slick and can probably out-pun Stephen Mercer

    1-3 seconds : 1 coffee already down and you're just smart anyways.

    3-5 seconds : you are still in la la land and need a "boot to the head"

    5+ : go say 'Hi' to Abe Lincoln and Cindy Crawford cuz you're still asleep

    for me..... Cindy is working out the kinks in my shoulders.

  4. QUOTE (jives @ Sep 2 2008, 07:34 AM)

    If you're programming LV you ..... It's a point of specificity, but everything in LV has a front panel. Every piece of code, whether it's shown or not. That's part of what makes LabVIEW, LabVIEW. But more to the point, those front panels never need be shown, but they will exist as every .vi has both FP an BD

    QUOTE (jives @ Sep 2 2008, 07:34 AM)

    Thanks for the tip, I'll see what I can find. Only to check if I understood that correctly: If I convert my application to a service, the FP will automatically be disabled/hidden?

    And making somethign a service is not necessarily the easiest thing, and if you don't need it to run while the PC is on but logged off, you may want to investigate just putting the exe into the registry as a "Run" option that starts as the user logs in. not exactly a service but close.... and eaiser.

    If you do want something to run as a service you can investigate "FireDaemon" as an eaiser way to make this happen than making the LV exe a service by yourself.

    ....hmmm... sounds like a good thread to startup "the right and wrong and the other way to make a LV exe a service"

  5. Well in case you had not noticed like myself,

    New in LV 8.6. EXE's finally have support for full color icons...up to 256 by 256 32 bit color icons!!!!!

    wait a minute... 256x256... thats freaking huge.... hmm

    must investigate more.

    but regardless they have the 48x48 and 32x32 at 32 bits as well.

    A new day has dawned and people will finally trust my icons because they can come in cornflower blue {fight club reference}

    ~,~

  6. Well for those of you reading this... I figure there is a little app called Launchy at www.launchy.net

    It's not quicksilver, by a longshot. But when it comes to speeding up trying to do something that typically takes too many mouseclicks, it does the trick.

    Now only if they could voice activate it. ;)

  7. To make an 'infinitely*' expandable sub vi is not possible.

    You can do some interesting things with right clicking a SubVI and changing the "View as Icon" context option.

    You would need to make a VI w/ the most items on the connector pane, have them all wired up, have some fancy logic in your underlying code, and you would be limited by number of connectors on the pane..... but it might get you close to what visually you're looking for.

    Now, if you want to go up in the attic of LV and are willing to get tetanus on a rusty nail, I suggest you look into XNodes.

    I'm sure others will be chiming in soon w/ more info on that.

  8. Yup... I'm onto my old rant again.

    I have a post I did a while back regarding an 06 presentation that I did @ NI week.

    I know the title of it and I know the text with the post...sorta.

    Nuttin... nada... zip... for the search of "art of creating dynamic" or just art and dyanmic.

    Am I still just in the black hole of the search and it only sucks for me or is there others being pulled in also?

    If anything maybe Mike can take that $870 and our yearly dues too and improve this ability to not suck...

  9. QUOTE (Ton @ Jul 25 2008, 12:59 AM)

    Yes,

    in your init ability load a VI dynamically, this dynamic VI runs continuously and checks the wheel mouse.

    In the init state you also create a user event, this is fed to the dynamic VI, also create a dynamic event registration. This registers for the user event, and is linked to the event structure of the facade ability.

    In the close ability you kill the dynamic VI, unregister the event registration and the user event.

    Something else you may decide to look into are the ActiveX callback functions.

    You can actually wire a LV control reference into the reference node, but I don't know how this will work w/ XControls.

    A very interesting segway into something very different.

    I'll see what I can whip out if I get the chance.

  10. That is actually a real IP within our internal network to someone in Tuscon.

    I checked that PCs running services and there is no sign of any NI SW on it.

    This is private corp network.

    And I figured it had something to do with the alias in the project tree, hence the My Computer and not my PC name.

    any other combination just tossed an error.

    I have an SR out to NI at the moment, so we'll find out more soon and I'll pass along what I learn

  11. I am doing some messaging through VI server to a remote app.

    I want to package up some information about the app sending the command, in particular the IP of the machine and the current port of the app instance.

    I know I can get the port easily enough, but the IP address is a bit elusive.

    Any ideas or previous inventions.

    As mentioned in the topic, I don't want to use systemexec and parse if possible.

  12. I was there @ NI week next to you when the comment was made and in retrospect warranted a little deeper questioning.

    I do believe that you can think of it as, LV is ignorant of the existence of a class until it is used thus leaving it unlocked and accessible.

    But the minute the class is accessed, it locks the class and leaves it resident in memory, just like any other VI in the hierarchy.

  13. Well the situation that we just had recently was in an executable that had issues w/ missing VIs for plugins that were not distributed w/ the EXE.

    W/ out the text from the error window, it's extremely tricky to try to determine what's missing(legally that is).

    Also if you were working in a framework environment that other ppl used your code and there was a problem due to dynamic loading in general, it would be nice to send out the text of the error to yourself so you don't need some non programmer trying to figure out what this all means.

    That's about all I got for now. Not solid but viable

  14. QUOTE (jbrohan @ Aug 18 2008, 08:16 PM)

    It depends what you are looking for. If the job is creative it might be worthwhile putting in a question which will indicate creativity. A friend routinely asks really off the wall questions.

    "Next week we have a conference exhibit and we need an elephant for our stand. Where do you think we could get an elephant from?"

    From the refrigerator silly, and once you take it out don't forget to put the giraffe back.

  15. When being hired onto my current position I had the best question I could have imagined.....

    Show me how you would code this.

    2nd part built off of first.

    It was a 2 part coding mini exam. I feel that this really gave me the chance to show what I could do in a short period. (2 hrs I think)

    And in retrospect, I would do the exact same to anyone I was looking to hire w/ LV experience.

×
×
  • Create New...

Important Information

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