How to find icon position of currently executed VI on caller's block diagram

Dear forum,
I currently try to use a LabVIEV VI as a simple sequencer: Several (very slow) actions have to execute one after another. Each action is represented by a Sub-VI, some actions are executed several times. My task is to visualize the currently executed Sub-VI somehow.
My first intention (simply manipulate the icon of the currently running VI with "VI Icon.Get as Image Data" / "VI Icon.Set from Image Data" invoke nodes) failed, because this changes the icon of ALL instances of this VI; if you use the same VI several times, the icons of all these VI are changed (see here: http://forums.ni.com/t5/LabVIEW/How-to-change-animate-icon-of-currently-running-VI/m-p/3120754/highl...
My current approach is to use an image of the block diagram (with "VI: Block Diagram: Get Image Scaled" invoke method) within a picture control of the front panel and to work within this control. But for this I need to know the position of the icon of the currently executed VI. I know that I can evaluate Bounds and Position via the GObj properties, but how do I find the currently running VI (note that a VI may reside several times on the block diagram, so the name of the VI is not unique)? IMHO the simpliest way would be if a VI could find its icon on the caller's block diagram itself when executed...
It's clear that this position is not the position on the picture yet, but this conversion is a small piece of work...
Regards,
cpschnuffel
Solved!
Go to Solution.

Yamaeda wrote:
Run it in highlight mode, done.
Sure if you don't mind having functional checks taking hours instead of minutes...okay maybe that is exagerating for a simple VI like this, but it would increase cycle time.  Honestly I think the best solution would be to use the helper VI that was mentiond before, which keeps track of what VI is running.  You can of course use scripting to get the block diagram image, but there isn't a good way to know what exact VI is running using VI server.  Here are a few discussions.
https://lavag.org/topic/16660-how-to-get-actual-vi-execution-state/
https://decibel.ni.com/content/thread/18687
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Similar Messages

  • How to find out the users currently logged into ODI

    Hi all,
    How to find out the users currently logged into ODI Work Repository?
    Thanks.

    Hi,
    It stores all the final queries in work rep table i.e "SNP_SESS_TXT_LOG" and the column is "TXT".
    Here u can find all the ODI bkp process queries.Pls specify the SESS_NO for purtivular task u want to check which u can get this in ODI operator.
    I dont think so that it will keep the substituted value(because its implicit and temporary process) but it will keep all the default values in the table SNP_VAR_SESS and the column is "DEF_V".
    Thanks,
    katukota

  • How to find dependents who are currently enrolled in a health plan

    How do you programmatically find which dependents are currently enrolled in a health plan?
    I have tried function: HR_BEN_GET_POSS_DEPENDENTS. This never returns which dependents are SELECTED.
    I have tried BAPI_BEN_BUS302901_GET_DEP, but this does not get me any data.
    Please advice.
    Thanks
    Agina

    Hi M_agina,
    I have a similar requirement, can you please help me resolve this,
    Regards
    Manu

  • How to find the position of view in MM02 transaction for coding BDC?

    Hi Guys,
    Is there any FM or BAPI Available to find the position of the view in MM02 transaction. I tried FM SELECTION_VIEWS_FIND. But getting inconsistent results
    i.e Some materials it is giving correct positions but for others i am getting wrong position. So my BDC is getting failed.
    Thanks in advance.
    Vinod.

    Hi,
    data : i_t133a like t133a occurs 0 with header line,
          ch(1),
           viewno(2) type n.
    clear viewno.
      select * from t133a into corresponding fields of table i_t133a
                    where bilds = '21' and guifu like 'SP%'  .
      loop at i_t133a .
        ch = i_t133a-pstat.
        if mara-vpsta na ch .
          delete i_t133a     .
          continue .
        endif .
      endloop.
      sort i_t133a by guifu ascending .
      loop at i_t133a .
        viewno = viewno + 1 .
        if i_t133a-guifu = 'SP01'.  "FOR BASIC DATA1                CHANGES              ACCORDINGLY REFER TABLE T133A TO FIND VTHE VALUE
          exit .
        endif .
      endloop .
    reward if usefull

  • Snow Leopard Finder Icons Position

    Hi!
    Sometimes, when i restart the OS the system arrange the icons positions on the left side of the screen...
    I have a lot of icons (using two monitors) and this thing is very, very unpleasant!
    Anyone solved this problem?
    The genius tech's don't have a clue...
    Regards

    Hi!
    The problem isn't in the menu/option, it seems that when you connect external discs (USB or Firewire) and restart the machine, the icons on the desktop are rearranged by the system itself losing the initial position used by the owner of the account.
    If tried some tips found in the web but didn't solve the problem.
    Regards

  • How to lock icon position on desktop

    I would like to arrange the icons on my desktop in a particular way and always lock them into that position. Is there a way to do that in the OS, or is there a third party plug in that could do that? Thanks.

    I agree that the icon arrangement ought to persist through a reboot; AFAIK the Finder is supposed to save that information before shutting down.
    Just a shot in the dark: is there a .DS_Store file on the Desktop? (It would be invisible, so you’d need to use Terminal or a third-party utility to look for it.) If you find one, delete it. Another possibility is a damaged preference file. Have you verified the disk & its access permissions with Disk Utility?

  • I installed two OS in Macpro-Lion and Win7, but I only can select Lion as the default system in the reference setting, how to find icon of win7 in reference setting again?

    As captioned, I installed Lion first and then set up the win7 with bootcamp. At the beginning, the defualt system is Win7, I changed as the Lion as the default system in system reference setting. The procedure as follows:
    1. Click the system reference setting
    2. In the system tool select "Boot Disk", but I only find Macintosh HD Max OS 10.7, no icon for windows 7.
    The point is that if I want to change the win7 as the default boot system, what I can do since no icon for selection.

    Hi,
    When you power on your MacBook, hold down the Alt key and you will be given the option of which OS you want to boot into.
    Regards

  • How to find serial number of current subscription

    I want to apply it to a business account subscription to get a discount, but I can't find the serial number of my current products.

    https://www.adobe.com/account.html for serial numbers on your Adobe page

  • How to find your position in a google returned results

    Hi
    Trying to find on particular key word searches using google
    where my site comes in its listing.
    At the moment I am instigating searches on key words from my
    sites, and then manually trawling through the returned result
    listing to see if i am in there.. yawn
    Is there n easier way ?
    Ta
    Carlo

    Oops.. I double clicked on submit. now theres 2 copies..
    Use this one :( Ta

  • How to find the position of the deicmal place?

    Hi,
    I have a String '-234.45'. I need to determine it decimal place.
    I have try:
      SEARCH '-234.45' FOR '.'.
    but the sy-fdpos is 0.
    How to get the decimal place? Is there other way to get it?
    Please advise.
    Regards,
    Rayden

    Hi,
    see , if this will help you out.
    DATA: text TYPE string VALUE `Roll over Beethoven`,
          pos TYPE i.
    SEARCH text FOR '. .'.
    SEARCH text FOR ` `.
    IF sy-subrc = 0.
      pos = sy-fdpos + 2.
        SEARCH text FOR 'bth' STARTING AT pos
                              ABBREVIATED AND MARK.
    ENDIF.
    cheers,
    Hetal.

  • What is a root folder and how to find folders afte...

    Can someone tell me what a 'root folder' is and how to find icons once you've moved it there?
    It's actually my boyfriend's phone and he uses it for construction site pictures and this morning he woke me up as he couldn't find it anymore. He needs to locate the folder asap as he needs to download pics onto the computer and send them to clients straightaway in batches.
    I connected the phone to the computer using the usb cord and it asks for options on the mass storage transfer. I selected 'images' and then on the control panel of windows, select digital still camera. At this point, the computer stalls as it is trying to search for the pictures folder but cannot locate.
    I'll never move anything to this 'root folder' again. I was just trying to put the icon on the main menu (the way you can do with a blackberry)
    He's already gone for work so took the phone with him, so I thought of giving this forum a try.
    Thanks for help in advance

    Hi there! 
    Well If what you did is you transfered the Pictures from one folder to another using your phone, the Root folder is the main folder so lets say you transfered it to the memory card the root folder is the memory card.
    Hope tis' help!
    "If you think this post is helpful, please click on the green button"

  • How to find CIN Details

    Hi all...,
    How to find CIN Details in current SAP System.  Like...
    CIN     22B               
    CIN     30A               
    CIN     40A

    Hi,
    Go to Transaction 'J1ILN' and you will get the pure CIN related Menu.
    and search for your related topic in CIN.
    All the CIN related TCodes startwith J*...
    Regards,
    Anji

  • How to find the number of times method being called.....

    hi,
    can any one pls tell me how to find the number of times the method being called......herez the example....
    Refrence ref = new Refrence();
    for(int i = 0;i < arr.length; i++){
    if(somecondition){
    ref.getMethod();
    here i want to know how many times the getMethod() is calling...Is there any method to do this.. i have seen StrackTraceElement class..but not sure about that....pls tell me the solution....

    can any one pls tell me how to find the number of times the method being called......
    herez the example.... http://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal ? in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

  • How to find the Feeder class behind Incident creation in SAP EHS?

    I have a requirement where i need to change the message text after clicking "Send" button while creating Incident.
    How to find the feeder class and method which is called behind "Send" button ?
    Thanks,
    Vimal

    I dont have such.. but you can set  external debug point in function module POWL_QUERY_REFRESH
    * get the result object type from the feeder
       lr_feeder->get_object_definition(
          EXPORTING
           i_selcrit_values = lt_crit_para  " selcrit dependent object def.
           i_langu = l_langu                                     "nt_1673495
           i_type  = i_query_data-type
          IMPORTING
           e_object_def = lr_object_def
    In I_QUERY_DATA-TYPE you can see name of POWL ID.
    Find it in transaction POWL_TYPE and you get name of feader class!

  • Can we edit the icon that represents our XControl on the block diagram?

    I created an XControl in LabVIEW 8.5 (and 8.2.1), and I did add custom icons to all the typedefs and VIs associated with it.  However, when I drop it on the front panel, I get a generic-looking icon representation on the block diagram.  However, when I create a simple typedef and drop that on the front panel, I get the typedef's icon framed in the datatype-specific border on the block diagram.  Perhaps I missed something about how do edit that guy.  It's a minor issue, but I'm curious.
    Thanks,
    Dan Press
    PrimeTest Automation

    Right click the XControl itself in the project and select Properties. There you'll see an icon that can edit, which will show up on the XControl on a block diagram.
    ... Michael beat me to it!
    Message Edited by Jarrod S. on 08-17-2007 04:39 PM
    Jarrod S.
    National Instruments
    Attachments:
    Icon.PNG ‏2 KB

Maybe you are looking for

  • 3G iPod no longer connects to PC

    Hi, I've just updated to iTunes version 7, and all seemed to have gone well until I disconnected my iPod from the PC. Scrolling through the iPod revealed that it had effectively been wiped by the update, even though iTunes reported it had stuff on th

  • How can I go back to a previous boot ROM version?

    Hi. I've been reading these forums for a long time...first time posting. The short story: I have a Macbook 5,2 running OS X 10.5 with boot ROM MB52.0088.B06, and I'd like to know how to flash the boot ROM version back to MB52.0088.B05. The long story

  • District No is not appearing after  Account no is generated in prospect creation

    Hi, I am facing a problem in crm webui. I am creating a prospect from Account & prospects . I have entered all the mandatory fields. Country: 'IN', State : 'MH' , District code '101', dtrrict 'Thane' , after pressing the 'ENTER' button, account no go

  • Problem in forms 11g with arabic

    Dears, I finally finished installing forms and reports portals 11g on windows xp sp3 with 3g ram, I was using suite 10g and all things are well, I recompiled all forms with 11g and run it after making all necessary configurations, the application run

  • Role assignment to individual buttons on a report

    Hi Gurus, My custom program has buttons to perform the following operations : QA, GP , Payment etc etc,,,, can I assign specific roles to every button so that the right person is able to use the buttons.. thank you