Searching VIs for particular object combinations

I'm pretty sure I already know the answer to this but is there any way to search VIs for particular pairs or combinations of objects?  For example, say I want to find every place a certain global variable gets assigned a constant of 21.  As it now I can only search for instances of that global but if it appears in several hundred locations then it's not going to be easy to identify all the places where it gets set to some number of interest.

Cunk wrote:
I wholeheartedly agree with your assessment of the core problem here.  Unfortunately I'm in the unenviable position of having to get up to speed on a pretty complicated (unneccesarily so, I'm certain) code base that has a 10+ year history of off-the-cuff and rushed design choices like this.  Over-reliance on globals is only the tip of the iceberg here.  Add to that the fact that I'm new to Labview (I do have other programming experience in more traditional languages) and you have what I personally consider an intimidating task to deal with.  Luckily it's not a situation where the previous programmer is gone so I've been able to rely on him for help with this.
It's probably not the best way to get introduced to Labview because I wind up getting more frustrated at the development environment than it probably deserves.  Any programming project, no matter the language, can devolve into an incomprehensible mess so I don't blame LV for that aspect.  However I don't like the fact that due to the closed nature of this platform I don't have the option to use any of the tools I've found to be essential.  Beyond Compare file diff for example.  I realize Labview has some sort of diff feature but you need to have the Professional version (which is more full of features than Full...) which we don't have and from what I've seen and heard it's not that good anyway.  Nor can I run any third party metrics tools on my code.  Look at any text-based language and you'll find a vibrant ecosystem of 3rd party tools available to support it.  Not so with LV.
After I've gotten comfortable with this project (years from now probably...) I might suggest redesigning this application in .NET or something that utilizes the relevant freely available libraries (DAQmx currently).  I haven't seen much so far that wouldn't be fairly trivial to re-implement (although I/O updating and proper interaction with the UI might be challenging).
Sorry, I've gone way off-topic in my own thread.  I guess I had to blow off some steam.
Anyway, unfortunately searching for specific numbers like "21" doesn't help in this case.  If I manage to accomplish anything using LV Scripting I'll be sure to update this thread.
I just want to applaud you for the most unbiased post that I have ever read from a text programmer who has come across a LabVIEW application like this (and to a certain extent we feel your pain. Almost everyone on these forums has come across this kind of thing before, and it's not easy for any of us to deal with, new or experienced). I understand the demands of the job and getting things done quickly, but I also encourage you to put some time into learning the "right way" and at that point, maybe you can convince your boss to let you refactor. I know that's not always the easiest thing to do, but I also think you'll be glad you did it.
CLA, LabVIEW Versions 2010-2013

Similar Messages

  • How to trigger my work flow for particular object.

    hi
    if i create application for particular object like va01(sales order)
    whenever sales order is created, my workflow also triggered.i want trigger my workflow only by me!
    is it possible?
    thanks in advance
    manosh.

    Hi,
    Yes,
    In swetypv you can add function modules to event type linkage.
    You could add a check function module to the event, in that module you can check if the user who created the event is you, if not raise an exception, this way the event will not result in a workitem.
    Reward points if found helpful....
    Cheers,
    Chandra Sekhar.

  • Additional Search Criteria for I-Objects in IC Web Client

    Hi,
    I need to add addtional search criteria  like City, Region and Zipcode for I-Objects in the IC Web Client. Can anyone suggest me how to include these new fields?
    Thanks,
    Vijay

    Hi Igor,
    Thanks for your reply. Could you please let me know how did you proceed on this problem. Did u contact SAP for this? If so, what is the procedure to contact them? Please let me know so that I will be able to take up this issue with my client.
    Thanks,
    Vijay

  • Implementing Data Search for Custom Objects

    Can any one have some information on implementing search criteria for custom objects.
    I am looking to modify the drop down values and search criteria based on custom data model.

    Hello Rajesh,
    The following configuration activity might resolve your query.
    Transaction: mdgimg.
    General Settings> UI Modelling> Define Field Properties for UI. Select your custom data model and go to "Hide Field Names."
    For the fields of the entity type, you don't want to come up in the search UI, check on "No selection".
    "No Selection" : These wouldn't come up as search Criteria. "No Results List": These won't come up in final result list.
    Best regards,
    Shephalika.

  • Search Form for object

    Using Adobe XI Pro, after scanning, can I search PDF for an object and save responsive files? I have thousands of PDF to search for an X in a certain box, along with other fields that may meet the search criteria.

    The output of any scanner is an image file - a "picture" of whatever was on the paper.
    There is no renderable / searchable text in a picture.
    Use Acrobat XI Pro's OCR and save as. Now give Find / Search ago.
    Remember that Optical Character Recognition *does not* recognize all bitmapped images of characters.
    As well recognition is not flawless. Example:  the picture of "m" is recognized as "n~".
    Yes, "characters" are more than a through z or 0 through 9.
    Regardless. If scanned then OCR. With that use find / search.
    Be well...

  • Activate Change pointers for TREX classification search for Business Objects

    Hey all...
    Does anyone out here has any idea on how to activate the change pointers for TREX classification search for business objects: - for me I am specifically doing it for Materials and Customers.
    Okay, let me explain the issue: -
    For TREX search, we need to schedule a background job for Delta Indexing. But Alas! Delta indexing does not capture the changes to Classification data of the business object.
    For this we activated the change documents for the particular class in the customizing. But to my surprise, change documents and change pointers for TREX are entrirely different.
    How do I know:
    Change ID of CDHDR does not correspond to Change pointer in table COM_SE_CPOINTER. Now by activating the change documents I am getting entry in CDHDR and CDPOS but the mentioned change pointer table still does not get the entry.
    I searched for BTEs and I got the below: -
    Now to me the very obvious one was 4003, but it is not called while changing the classification data for materials. Ofcourse I activated the Product and the function module.
    and now I am stuck!!
    Any pointers for the Change pointers would be really appreciated??
    Please share your knowledge even if you don't know the exact answer . I am new to TREX so possibly vague conversations could provide me a hint .
    Thanks,
    Best Regards,
    Shreya

    Hi Guys,
    This issue was solved by implementing the BTE 4005 (OPEN_FI_PERFORM_00004005_E). This particular event is triggered in the update task for saving changes to business object. So In my function module (corresponding to BTE), I have explicitly called the method to write an entry in COM_SE_CPOINTER, because we just need the reference of business object for which classification data is changed.
    Please refer the below code for more clarity.
    BTE position: -
    method called in FM to write change pointer.
    Thanks anyways, for all the responses.
    Cheers,
    Shreya

  • How to find Info objects for particular filed??

    Hi
    I hav doubt Can anyone tel me???
    My Query s <b>How to find Info objects for particular filed??</b>
    For example i hav some table fileds, how to find Info objects for that fields??
    Pls explain me detaily
    Points wil be given for all answers.
    Thanks
    Senthil

    Hi Senthil ,
    You have your field description along with your Field right.
    For example:MATNR - Material Number
    Now take this description and go to your BW side Tcode:RSA1
    1)Search in Modelling >> Infoobjects >> Material Number
    Then you get few hits (matches)  which have description matched.
    For Example: 0material  - Material Number
    Check for the Length and type match.
    You will understand once you get those hits as to which is related to yours.
    2)Go to BI content and search in the infoobjects this has all active and inactive objects but this takes a little time (not much  though).
    3) You have meta data search / simple search also where you can search for the objects with field description as matching criteria.
    Hope your doubt is cleared atleast to some extent.
    Assign Points if helpful.
    Thanks,
    Priyanka

  • How to add search help for field in ALV object

    Hello,
    In a program, we use ALV object ( container) to create a liste like : field1, field2 .. but when display we do not have search help for this . Could you please help me how to add match code in this case for field 1 and field2, We use set_table_for_first_display
    Thanks,

    Hi,
    when you define your field catalogue you can create data elements with search help in se11 and use them for field 1 and field 2.
    But maybe it is enough to use data elements belonging to a domain with a value help and to set field F$AVAILABL in the field catalogue or to fill the name of the field CHECKTABLE.
    Regards,
    Klaus

  • Table to see all screens for particular material, plant combination

    Hi,
    Anyone can help me to in which table i can find all screens(like basic data,purchasing..etc) for particular material, plant combination?
    Regards,
    Praba

    Look into field PSTAT in table MARA, this should tell you in general which views are created.
    Each characters represents a view.
    which character is for vwhich view can be obtained in MM50, hit F4 for the field maintenance status.
    A different view on the same kind of information is with SE16 for table MSTA

  • Is there any way to tell which formulas a particular cell is in, reverse look-up style? That is, is there a way to search somehow for which formulas in a sheet contain a particular cell in them without opening all of them up? If not, it would be nice

    Is there any way to tell which formulas a particular cell is in, reverse look-up style? That is, is there a way to search somehow for which formulas in a sheet contain a particular cell in them without opening all of them up? If not, it would be nice.
    I'm fixing a Numbers document that I use in business daily that's become overly complicated, but while I want to clear/delete a number of cells in it to clean it up, I'm not sure if those cells are being used as source for other formulas on the page. I don't have to open all my formulas one by one to see if that cell is in there, do I?! That'd be a huge amount of work if I wanted to eliminate say 10 cells to search each formula on the page to see if it is in there or watch all the cells when I delete that cell to see if the numbers change! There's got to be an easier way! Right click doesn't seem to be any help.
    I don't want to damage my daily tool to make it cleaner and reorganize it. Is there really no way to do a reverse look-up of which formulas a particular cell is in?! Any time I click on a formula it highlights all the CELLS in that formula. Why can't I (or can I?) do the reverse and see all the FORMULAS that contain a particular cell?
    As a Numbers document ages or gets used frequently, you can sometimes forget which cells are tied to which formulas. You just look for the results of your formulas. Would be a nice thing to be able to do. Thoughts? Work-arounds? Answers?

    Answer would be no unless application provided such feature. Numbers does not as far as I know.
    Note that even if you have complete list of formulae used in a table, identifying formulae referencing any given cell is not simple.
    E.g., cell T20 is referenced not only in
    =T20+1
    but also in
    =SUM(T)
    =SUM(20:20)
    =SUM(S19:U22)
    =OFFSET(S1,19,1,1,1)
    =INDIRECT("T"&(10*2))
    In order to identify such formula, we have to actually evaluate it to see if it references the given cell. Especially such formula as OFFSET() and INDIRECT() may not be found by static parser because their parameters can be dynamic.
    Sorry to be the bearer of bad tidings.
    H

  • How do i get a list of all Roles defubed under a particular OrganizationalUnit? How can i use LDAPConnection.search method for this?

     

    Sorry for the typographical mistake.
    Please read the question as:"How do i get a list of all Roles defined under a particular OrganizationalUnit? How can i use LDAPConnection.search method for this?"

  • How to run a search query for a particular folder in KM related to portal

    Hi,
    Can any one tell me the steps for : how to run a search query for a particular folder in knowledge management related to portal.
    Answers will be rewarded.
    Thanks in advance.
    KN
    Edited by: KN on Mar 18, 2008 6:33 AM

    Ok u may not require a coding
    But u req configuration
    U should first make a search option set
    Link: [Search Option set|http://help.sap.com/saphelp_nw04/helpdata/en/cc/f4e77ddef1244380b06fee5f8b892a/frameset.htm]
    Then u need 2 duplicate a KM Command by the name Search From here
    and customize it to include the Search Option that u have created
    Link: [Search from here|http://help.sap.com/saphelp_nw04/helpdata/en/2a/4ff640365d8566e10000000a1550b0/frameset.htm]
    Then in the layout add this command.
    Regards
    BP

  • How to findout the Function module for a particular object

    Hello friends,
       Related to my thread, there was one thread in the forum,to find out the function module for a particular object.I tried the solution provided my our experts but couldn't got the results.Thats why i am putting this thread again.
      I want to find out the function modules used for the particular object, i.e. Production order.
       solution i tried is, first go to T.C SE37, then in function module field put the object name like Production order and enter, than it will show another screen, there also put object name in function module field and than press enter, it will show all the function modules available for that object.
        So could you guys help me out to find out where i am wrong in the process of finding out the function module for a particular object.
                           Plz don't bother abt the point.Helpful answers will definitely get awarded.
                                Thanking you guys for your valuable support till now and hoping to get in future too.

    Dear
    When the problem is solved please give points too. Otherwise why people will help others, give time and share their valuable knowledge. This will build up self confidence.
    If not solved and closing, then mention the difficulties what u exactly looking for. Simpy closing is not enough because who ever is providing solution will not able to know the real problem.
    How to give points I believe u already know that and need not explain.
    I had seen many times this problem with others too. Even if the problem is totally resolved they give 2 in stead of 10.
    Edited by: BNR on Sep 21, 2008 6:10 PM

  • Cal Total Available budget for a particular Object No (Fund No)

    Hi All,
    Can anyone tell me how to cal Total Available budget for a particular Object No (Fund No)
    Thanks

    Hi,
    Issue resolved on my own
    Thanks

  • Search help for OBJECT ID with Text Description for a query

    I need to create search help for the field object text in HRP1000 - P1000-STEXT table in an infoset based on LDB PCH. Can anyone help me? I want it to appear on the adhoc query screen.
    Thanks,

    look at search help FC_RFCDEST. that problem has already been solved with this search help.

Maybe you are looking for

  • ABAP Proxy creation in BI system

    Hi I am trying to PUSH data from BI to PI , In which I am using ABAP Proxy. To activate this I am following the below blog /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies In this they are trying to change the setting which are

  • Repost CO document

    CO document missing in KOB1 but document exists in FS10N Background: Period 6: We posted transaction with F-90 Account 19430 (Recon. Acct) but was not created as cost element and no cost object (internal order) was used There is document in FI (FS10N

  • Can't get row or column strokes to show

    I have a table that was originally a Pagemaker table back in the day. I tried to apply alternating row strokes (Table > Table Options > Alternating Row Strokes) as well as Column Strokes but the stokes don't show, the table 'blinks' when updating the

  • Automator, System Preferences, and Permissions

    I've just bought this MacBook Pro, and I'm setting up the Guest account. I live in University accomodation, so the internet connection requires you to enter a name and password to use the internet connection. I'm trying to use Automator in conjunctio

  • Oracle Beehive Communicator error on BlackBerry

    Hi, I've installed Oracle Beehive Communicator 2.0.1.3.0 on my BlackBerry. And the problem is that it just works if I have a WiFi connection enabled. If I'm not connected to a WiFi network I'm not able to connect to Beehive communicator. Any idea abo