Can I create a generic Point to Row Column function?

I have a VI with multiple MultiColumn Listboxes in it.  One way I've seen to make the entries writeable is as follows:
This works fine.  The only issue is that to get the 'Point to Row Column' (PtRC) method requires (as I understand it) right-clicking on the MCL and selecting that method.
I have multiple MCLs, and I wanted to create an event structure that was generic and could process any of them the same way.  But the problem with that is that I don't know a way to get access to the PtRC method for each one.  The only way I know to do it would be to use VI Scripting to create the reference on the fly (not sure if that would even work), but even if that works for me, I don't think it will work with the free LV RunTime Engine (my experience is that you can't use the RTE to execute any VIs that utilize VI Scripting).
So my question is, is there a way to get a reference to the PtRC method - generically - without using VI Scripting, and/or is there a different way to do what I'm trying to do here (i.e. make the MCL writeable by the user and have it retain the values the user writes to it during VI execution).
thanks
Solved!
Go to Solution.

Not generic enough for you (not sure why it wouldn't be) here we can have code that finds the Multicolumn Listboxes and registers for all of them.
Edit: As I feared the snippet isn't exactly what I made.  The "This VI" control on the left should be the "This VI" constant.
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

  • Can't create path definition point?

    I'm doing a vector world map drawing and I keep running into this problem. All I am turning to do is connect two end points and I keep getting this window reading "Can't create path definition point, can't add anchor point." I'm exhausted but I'm I missing something simple here? All help is much appreicated!

    Dogherty,
    If you just want to close a path, you may select it normally and Ctrl/Cmd+J to join the hitherto endpoints.
    If you have two different paths, you may select the end points (by clicking on them with the Direct Selection Tool, also to avoid selecting possible ghost points) andCtrl/Cmd+J to join the paths.

  • How can i create a NULL-Pointer

    Hello,
    how can i create a NULL-pointer (like in C) to call a DLL-function in Labview 8?
    I have this function:
    XXXXXX FuncName(int32 handle,
    char * aCharName,
    void * aVoidName,
    int32 aInt32Name,
    char * Msg);
    and have to call it like this:
    rc=InitCasRunF(&handle, NULL, NULL, NULL, msg);
    When running the vi i get a popup with this message:
    Labview: An exception occured within the external code called by a Call Library Function Node.
    This might have corrupted Labview´s memory. Save any work to a new location and restart Labview.
    VI "......." was stopped at Call Library Function Node Call Library FuncName 0x13E0 of subVI.
    Democall.vi
    The attached democall.vi is not the original but its like that.
    Thanks for any help how i have to create thi NULL-pointer
    Message Edited by NewOne on 01-25-2006 03:42 AM
    Attachments:
    democall.vi ‏8 KB

    Thx for your help. Meanwhile it works. It was a stupid, easy thing i didnt see all the time.
    I had to change the first parameter as--> Pass: "Pointer to value" instead of "Value". Thats all.
    All NULL-values are passed as Int32-value.
    One new problem occurs now: After runnning the function Labview crashes down.
    Error-report is attached if someone can read someting in this.
    When running the dll-function in a c-program it works
    When calling the dll-function it in teststand it also works.
    Message Edited by NewOne on 01-26-2006 05:14 AM
    Attachments:
    dce5_appcompat.txt ‏47 KB

  • How can I write into a table cell (row, column are given) in a databae?

    How can I write into a table cell (row, column are given) in a database using LabVIEW Database Toolkit? I am using Ms Access. Suppose I have three columns in a table, I write 1st row of 1st column, then 1st row of 3rd column. The problem I am having is after writing the 1st row 1st column, the reference goes to second row and if I write into 3rd column, it goes to 2nd row 3rd column. Any suggestion? 
    Solved!
    Go to Solution.

    When you do a SQL INSERT command, you create a new row. If you want to change an existing row, you have to use the UPDATE command (i.e. UPDATE tablename SET column = value WHERE some_column=some_value). The some_column could be the unique ID of each row, a date/time, etc.
    I have no idea what function to use in the toolkit to execute a SQL command since I don't use the toolkit. I also don't understand why you just don't do a single INSERT. It would be much faster.

  • How can i create a grid with summary row

    Hello Professionals,
    I'm wondering how could i create a grid like the grid below, i want to create a grid with summary row,
    i have tried to create it using collapsing but it didn't work as required.
    Any suggestions?, i want to know just the starting point so i can make deep investigations.
    Thanks in Advance,

    Hi Karem,
    this can be achieved by just assigning a datatable containing the data plus some formatting of grid. Meaning there is no feature for that.
    The datatable can be filled manually or by sql query. Then you have to attach some events for updating the values ( validate after for gid item ).
    A small example for a sql query showing last month quotations and orders with summary :
    select 1 as Sort,cast(DocNum as varchar) as DocNum,DocTotal,convert(varchar, DocDate,104) from OQUT where DocDate between  DATEADD(month, -1, GETDATE()) AND GETDATE()
    UNION ALL
    Select 2 as Sort,'Summary ( Quotation ) : ',sum(DocTotal), convert(varchar,  DATEADD(month, -1, GETDATE()),104)+' - '+convert(varchar,   GETDATE(),104) from OQUT where DocDate between  DATEADD(month, -1, GETDATE()) AND GETDATE()
    UNION ALL
    select 3 as Sort,cast(DocNum as varchar) as DocNum,DocTotal,convert(varchar, DocDate,104) from ORDR where DocDate between  DATEADD(month, -1, GETDATE()) AND GETDATE()
    UNION ALL
    Select 4 as Sort,'Summary ( Order ) : ',sum(DocTotal), convert(varchar,  DATEADD(month, -1, GETDATE()),104)+' - '+convert(varchar,   GETDATE(),104) from ORDR where DocDate between  DATEADD(month, -1, GETDATE()) AND GETDATE()
    ORDER by Sort
    regards,
    Maik

  • How can I create a generic service by emcli

    Hi,
    I have a generic service associated with a simple jdbc test and wanna create similar items by emcli.
    I tried to create a generic service by
    emcli create_service -name="xxx" -type="generic_service" -availType="test" -availOp="or" -timezone_region="+1" -beacons="yyyy"
    But it return "Error:No key tests associated with target xxx"
    Can anyone help on this?
    Thanks.

    Hi,
    refer to the below How to document:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10b68b99-022e-2a10-999d-c4dc9ec24a59
    Assign points if useful
    Regards
    Venkata Devaraj

  • Can't create chart from totals in Row Categories!!

    hi folks,
    My table has a about 50 vendors, and each vendor has 5 -20 individual salesmen. I did not create a header/total row for each vendor and instead, I opted to create categories, which collapsed the rows and gave me totals for each vendor.
    The problem is that I had wanted Numbers to create a chart with the vendor totals to track how they are doing month to month, but the program doesn't allow me to click on the chart icon. The icon only becomes active if I expand each category and select individual rows.
    Any suggestions?
    Many thanks!!

    Wow! Thanks so much for your lighting fast response!
    Ok, bear with me, as I'm not the brightest lightbulb when it comes to spreadsheets.
    Here's what I have so far:
    The column headers are: Vendor, Region, Type (Big Box, Mom + Pop, etc), Employee, January - December, and finally, YTD.
    I would love to:
    1) chart each vendor total through the year (not each employee)
    2) chart regional totals through the year
    3) chart type totals through the year
    And then at some point, compare years (that'll be in 2012).
    What I would not like to do:
    1) enter data twice or three times
    Any suggestions are much appreciated. Thanks SO much for your time.

  • ADF-Newbie.How can I create a many-to-many row from an action method?

    Hi all,
    First of all, this is my scenario:
    - JDeveloper 10.1.3.0.4
    - My application is running ADF + Faces + Toplink + EJB Facade
    - My database model includes some many-to-many relationships and some one-to-may relationships.
    I have developed several ADF pages displaying some CRUD operations over my master tables and my master-detail tables without any problem.
    I am now trying to implement some CRUDs over my many-to-many relationship tables.
    Lets call the tables involved as master1, master2, and relationship (the many-to-many table)
    Because usability reasons, my user wants me to implement an interface where he can:
    -Select a row from the master1 table
    -Select a row from the master2 table
    -Click a button called "Create relationship"
    I need to implement the code inside the action button to add my new record on the relationship table, and honestly, I have not found any clue.
    Please, give me some directions to solve my problem.
    Thank you in advance for your help...

    The key here is to work with the intersection table for your MtM relationship.
    The way I do it, is to have the user view Master Table I, and click on the add Relationship button, this button is a link to a add form for the Intersection Table. On the Add form, the MasterTable 1 Id is already filled in and I hide it. I then setup MasterTable 2 as an LOV on the page. The used selects the item from the LOV and clicks on the commit button. I refresh my many-to-many view and all is grand.
    Using ADF/JSF, I have made it even nicer by turning the add relationship page into a dialog page, that way the user can see the previous page while adding the new relationship.
    Kelly

  • How can I create a generic listener?

    So I 'm coding a Flash animation where there are two streams
    of MovieClip objects scrolling both right to left on the top
    portion of the Stage and left to right on the bottom portion of the
    Stage. Each object is attached the Stage using attachMovie() and
    after they cross the Stage they are removed. I want to be able to
    attach some kind of listener to each object so they are can respond
    to onRollOver() and onPress(). Does anyone have any tips?
    Thanks,
    Mike

    you can add one listener to many movieclips, but that can't
    be used to define actions related to a movieclip that doesn't exist
    when the listener is created. you'd have to recreate the listener
    each time a movieclip is created/attached.
    why not define those handlers for movieclips as they are
    attached?

  • How to create a generic data extractor using standard function module

    Hi,
    I have to generate report based on Function module(standard FM),client know only Fm Name n they have given FM Name n asked reports based on that, so can any one give me steps to create DS based on that.
    Thanks,
    Swapna

    check this blog
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    and this pdf:
    Generik extraction: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33
    Generic delta:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    Edited by: Aduri on Dec 17, 2007 4:04 PM

  • Can I create 1 repair order for many equipments / functional locations?

    Dear Experts,
    I'm trying to create 1 single order for many equipments in different functional locations but it seems like the fields for "equipment" and "functional location" in Operation tab are not allowed to enter.
    What is the Tcode to open up those fields?
    Or is there any other ways of doing?
    regards,
    Abraham

    1. Object list Activate
    IMG => PM & CS => Maintenance & Service Processing => Maintenance & Service Orders => Functions & Settings => Define notification & Order Integration
    Select Assignment of operations to Object List entries active in Enh. Object list column for your order type.
    2. Then create the order in IW31. Assign all the equipments in object list tab. Define the operations in operation tab. Go to object list & select equipment one by one & click Assignments button in the bottom. In pop-up window, select the operations for that particular equipment. One operation can be assigned to only one operation. If same operation requires for more than one equipment, then different operation rows should be defined.
    3. Click Settlement rule button in the top (If you want to create settlement rule manually). Based on your equipment entry in object list, enter the cost center & % of cost to be settled.
    4. If you want to automate settlement rule creation, as mentioned in previous posts, use the user exits. Transaction code for user exit is SMOD. ABAP people will write the code based on your input for settlement rule creation.

  • How can i create a new shell window using some functions?

    1.In a shell window, how can i use a command to create another new shell window?
    2.In C code, which function will be called to create a new shell window?
    (not excute shell command -- being implemented by using system() )
    Thanks!

    #1 I don't know what a "shell window" is. There are shells (programs that accept terminal input and run scripts), and there are windows (usually drawn by an Xclient (like xterm), or a toolkit client (dtterm, gnome-terminal).
    The two are very different. You may just want to run xterm or something and assume that it will also launch a shell.
    #2 You'll need to explain that one better. system() is the normal way to launch external commands. If you don't want to use it, you'll need to explain why it's not useful here.
    Darren

  • Can you create a CURSOR FOR loop within a FUNCTION?

    The title says it all...

    No prob...I just wondered if anybody had done it recently or at all and had a quick answer.
    No prob.

  • Generic data extractor using a function module

    Hi All,
    I want to create a generic data extractor using a function module within the BW system. i.e. the extractor will run in BW and and store the data in a cube( in BW). No R/3 is invloved. I proceeded as follows:
    1. Created a structure through se11.
    2. Created a function module. But while defining "E_T_DATA" in the "Tables" section of the function module, I am getting the error "TABLES parameters are obsolete". I defined as follows:
    E_T_DATA TYPE ZBW_EXTRACT 
    ZBW_EXTRACT is the name of the structure.
    What should i do in this case ?
    Thanks,
    Satya

    Hello Satya,
    The message "TABLES parameters are obsolete" is just a warning and not an error. The structure of the interface is strict (defined by SAP). You should opt to proceed even if you receive the warning.
    Hope this clarifies.

  • How can I create multiple selection check boxes in a report row?

    Hello,
    I'd like to know how a multiple selection checkbox can be created in report rows. In brief, I need to create a questionnaire template and each one of the questions will have multple options checkboxes, that means that the user can select more than one of the answers.
    Should I use apex_item.checkbox ?. I have no clue here.
    Please advice.
    Thank you
    Edited by: user9982480 on Jul 23, 2012 10:58 AM

    Hi,
    This might save your effort
    http://www.apexsolution.de/questionnaire/
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

Maybe you are looking for

  • Table name which contains status profile of a given process order

    Hi All, I created one process order and assigned a status profile for it. I need to know which table will contain both these values. Ex: If i give process order as an input, then it gives status profile as an output.

  • GetAudioClip() not found in class . Help !

    Dear People, I have one error message "getAudioClip() not found in class. I investigated in the AppletContext interface for the signature of the method. It says that the signature of the "getAudioClip()" method has one parameter. That parameter is th

  • How do i cancell or make a movie return

    I need to cancel movies that were downloaded in accident or delete then help!

  • Regarding 11g upgrade exam

    Hi, i am 11g OCP, cleared 1z0-055 exam (9i to 11g) and planning to give 10g RAC exam 1z0-048. Am i able to get 10g RAC exam credentials after successfully passing the exam or 1z0-040 exam is necesssary for the same?? Edited by: Shreyas Desai on May 7

  • SDB - delete problem/solution

    Hi Experts. Is it possible to delete problem/solution from solution database? There is information in help that it is not possible to delete problem/solution, but that they can be archived.. But note 946030 says it is not available... Regards Piotr