Jump to content

Norm Kirchner

NI
  • Posts

    823
  • Joined

  • Last visited

  • Days Won

    25

Posts posted by Norm Kirchner

  1. There are many ways to skin this cat!

    XControl is one way, but you would be using a 298 piece mechanics tool set to hammer a nail into a wall that would work w/ a stiff shoe.

    I would reccommend making a 'Brat' VI (as in child... not sausage). I'll describe what this means in a minute.

    This VI would sit outside of any loops in your VI that contains the numeric.

    • You would pass a reference or array of numeric reference into this Brat VI with the limits and colors corresponding
    • Inside of the Brat you would take the reference and register it for the value changed event.
    • Then you would setup the brat to respond to the event and change the background based upon the limits and colors passed in.

    Once you do your first one, you'll be amazed at the ability this gives you w/ a little work.

    And the best part is that these are some of the most reuseable VIs around.

    2008-07-28_1346.png

    Now more on what a 'Brat' is.

    It is a Child (vi) that controls the Parent (vi)

    the idea is that you can easily drop 1 SubVI into your code and it does things varying from resizing windows or moving origin or changing the cursor and so on.

    For your example, it's modifying the BG color of a numeric on the parent VI

    They usually weigh heavily on dynamic events thus making them very light utilities that don't use much memory or processor.

    there used to be some examples on LAVA but I can't find them through the search

  2. You keep talking about passing the Event Reg Ref... and I'm surprised no one has mentioned this yet but you can not pass that reference around.

    The proper usage of it is to be used within the same chain of VI's as in same VI as event structure or maybe passed out of a subVI for simplicity purposes only to be passed to the calling VI but never to a dynamically called VI.

    If you really wanted to do bare bones on this w/ no events. All you would use is an occurance (IMHO)

    Pass the occurance to the dynamic VI and wait on it in the main vi. Thats it.

    • Like 1
  3. Well I suppose I'll be the first to chime in and give some direction.

    I have 2 major concerns and confusions on how to handle.

    Dealing with a variety of instruments of varying and similar types and how to deal w/ different but overlapping configurations

    and secondly, dealing w/ sets of objects when trying to handle complex data sets in which the sets have similar and overlapping properties but I don't want to replicate datasets due to size.

    Got any slides for that?

  4. Although some may claim my Signal to Noise ratio on posts is a bit low, I've finally cracked 500 posts.

    So in honor of the occaision, The Captain Avatar finally gets a face lift.

    Some Botox and a little extruding later...

    post-208-1217020260.png?width=400

    Thank you all for making this such an awesome community to interact with.

    Just the perfect mix of nutcases and geniuses! (which in this case both sets are mutually inclusive)

  5. Well boy didn't this thread die out.

    I've got something for y'all to ponder the pojundery

    Should/Could we try to get the same functionality out of the other columns in a tree control?

    I've got a situation where having glyphs or indentations in those other columns would come in handy.

    I realize I could try to do this w/ 2 separate tree controls or a variety of combination's, but to pull it off in 1 control would be pretty darn cool!!

  6. That was very surprising to hear that callees did not return the missing VIs in it's array....

    but

    I believe that I have found a potential work around (using some hidden properties)

    2008-07-25_1448.png

    What this does is caches and clears the search paths so the app doesn't spend 10 min searching your HD for a file that we already know probably doesn't exist.

    Opens a ref to the VI and lists any issues w/ links to other VIs

    then it sets the search paths back.

    Give this a shot and be careful on the rusty nails coming up out of the floor boards {See link for nail ref} (New link to scripting subforum after rusty nails was merged)

  7. QUOTE

    !! (Note to self don't play stupid drinking games with Norm and the barmaid too expensive)

    For who, the bar or me?

    HAHAHAHA

    I'm there.

    Might be Sunday to Thursday or Tuesday through the weekend.

    @ the hilton

    Do a google calendar search for Captain's NI Week 08. I'm worldwide baby!!

  8. It sounds like you're about to head down the suggested path, but before you get too far you may want to think about "LVx - Exported Functions" that will give you almost this functionality but even more.

    http://forums.lavag.org/LVx-Exported-LV-Fu...lity-t9437.html

    By setting up an exported function to stop the VI, you can have the stopping VI return it's data through the existing process within LVx.

    This will also work w/ multiple cloned clients.

  9. For those of you not using Jott and Google Calendar, and are attending NI-Week this year... I suggest you get on the bus.

    I am a real mess...horrible at planning and remembering times dates people and places.

    BUT!!!

    I found that using 2 tools (FREE) I have been able to get my proverbial "shit together"

    JOTT:

    1. Need to remember a conversation you just had, or something that you or someone else said, or promised to do or follow up?
    2. Call a toll free # on your phone and leave a voice jott for yourself. It's kind of like leaving a voice mail for yourself... but check this shit out...
    3. AUTOMATICALLY VOICE TRANSCRIBES your message and makes it available online and you can attach reminders that get sent via SMS and e-mail!!!

    why you should care:

    How often have you met someone or said you would meet someone or send someone something, only to get really A.D.D. and forget 2 seconds after walking away. especially at the worlds biggest distraction for techies a.k.a. NI week

    1d16e5f3-0924-47f4-a121-954f06c1f9ef_339e165d-366f-4cc2-81aa-1e06c36c823d_static_0_0_2008-07-21_1200.png

    GCal (google calendar)

    Awesome tool for general calendar tracking, but the 3 things that make it stand out amongst the rest

    1. Sends Free SMS reminders to your cell reminding you of that important session you didn't want to miss, along w/ the room or whatever details you want
    2. Integrates with microsoft outlook so you can get your regular meetings SMS'd to your phone
    3. Integrates with JOTT!!!! so that you can actually set meeting VIA VOICE!! w/out ever needing to touch a computer

    Also you can share your calendars or add other peoples shared calendars to yourself so if your trying to aligh meetings or follow a specific meeting track that someone else might post as a public calendar, you can now see it on yours.

    08968568-5192-4c98-92f0-7a07cb7611e5_339e165d-366f-4cc2-81aa-1e06c36c823d_static_0_0_2008-07-21_1202.png

    Just a friendly Pulblic Service Announcement from the Captain

    The Captain was here

    ~,~

    PS: both tools kick ###### when integrating into blackberry and iPhone

×
×
  • Create New...

Important Information

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