Custom Control for 2D data

Hi,
I want to develop a new Control/Indicator for 2D data, i.e. 2D points. My idea is to
display a canvas with the current point and let the user drag it. Somehow it would
thus be analogous to the common slider for 1D data.
I'm quite new to Labview, so I don't really know how to address this question best.
Should I customizing an existing control? I found some examples on that, but could
not find a way how to link two inputs to the visual state, in other words, how to move
the point on the canvas depending on the two input data.
Or do I need to use an XControl?
Sorry if this question is trivial or has been asked before, but I could not find a satisfying
answer.
Best wishes,
Bene

I bet this is somewhat the same as you need. try the link.
How to create 2d slider?
Ivel R. | CLAD

Similar Messages

  • Why we are not using "Message Control" for Master data ?

    Hi friends,
    We are using Message control as output determination for Transactional data, <b>what is the main reason for not using the msg control for Master data.</b>Please explain with details...
    I am very thankful to them...
    Thanks and Regards.
    <i><b>Naveen Kumar. Chamala</b></i>

    Hi Naveen,
       Listing down those I know -
       1. Master data is expected to be changed/created less frequestly.
       2. Transactional data is expected to be chnaged/created more frequestly.
       3. Transactions to create/change/display master data do no have message control integration, since you are not supposed to print/fax/mail master data to your partners.
       4. Distribution of master data in generally supposed to happen within Enterprise boundry and typically you will have one central server maintaining master data which will be distributed to multiple downstream operation system (Some thing where MDM fits). So ideally when distributing master data using ALE you will be sending it to multiple systems.
       5. Distributing transactional data PO/SO etc is same as sending fax/print which fits with the requirement of message control.
    Hope this helps,
    Regards,
    Sanjeev

  • I need create a custom control for visualization HTML

    Hi guys,
      I need create a custom control for HTML files visualization on SAPGUI JAVA. I created a sample program and perfectly run on SAPGUI Windows.
    Thanks.
    Regards.
    Jose Antonio Campos.

    Hi,
    Just as a quick start
    http://gumbo.flashhub.net/sizer/  (view source enabled).
    this uses a skin to make a titlewindow resizable, its not about the skin as much as giving you a starting point for resizing code.
    if you look into the skin you will see these functions
    protected function sizer_mouseDownHandler(event:MouseEvent):void
    OldX=event.stageX;
    OldY=event.stageY;
    systemManager.addEventListener(MouseEvent.MOUSE_MOVE,startResize);
    systemManager.addEventListener(MouseEvent.MOUSE_UP,endResize);
    protected function endResize(event:MouseEvent):void
    systemManager.removeEventListener(MouseEvent.MOUSE_MOVE,startResize);
    systemManager.removeEventListener(MouseEvent.MOUSE_UP,endResize);
    private function startResize(event:MouseEvent): void
    hostComponent.width -= OldX-event.stageX;
    hostComponent.height -= OldY-event.stageY;
    OldX=event.stageX;
    OldY=event.stageY;
    The idea is to have a hit area on your custom component (a corner, or all corners). You capture the mouseposition when you mousedown then in the mouse move eventlistener you update the object size with the difference between current X and Y from initial X and Y.
    Hope this gets you started.
    David

  • Custom controll showing repetative data

    Hello Friends,
    Im using custom control to allow user to enter long text in zmodule pool program.
    I have created three such custom control in my zscreen but when im saving the data all the three custom container is updating the database table with
    the data entered in the third custom control.
    Pls suggest what could be the reason ?
    Following is the code for your reference u2026 I hav repeated the same steps for the other two  custom control container
    Declarations *****************************************************
    CLASS event_handler DEFINITION.
      PUBLIC SECTION.
        METHODS: handle_f1 FOR EVENT f1 OF cl_gui_textedit
                 IMPORTING sender,
                 handle_f4 FOR EVENT f4 OF cl_gui_textedit
                 IMPORTING sender.
    ENDCLASS.                    "event_handler DEFINITION
    DATA:save_ok LIKE sy-ucomm.
    DATA: init,
          container TYPE REF TO cl_gui_custom_container,
          editor    TYPE REF TO cl_gui_textedit.
    DATA: event_tab TYPE cntl_simple_events,
          event     TYPE cntl_simple_event.
    DATA handle TYPE REF TO event_handler.
    DATA: line(256) TYPE c,
          text_tab LIKE STANDARD TABLE OF line,
          field LIKE line,
          wa_text type line,
          lv_txt type string,
          header like thead,
          header1 like thead,
          header2 like thead,
          tbtxt like standard table of line,
          WTBTXT type line,
          FTTXT LIKE STANDARD TABLE OF LINE,
          WFTTxt type line.
    Internal table to store the Longtext
    DATA:BEGIN OF I_LINES OCCURS 0.
            INCLUDE STRUCTURE TLINE.
    DATA:END OF I_LINES.
    DATA:BEGIN OF I_LINES1 OCCURS 0.
            INCLUDE STRUCTURE TLINE.
    DATA:END OF I_LINES1.
    DATA:BEGIN OF I_LINES2 OCCURS 0.
            INCLUDE STRUCTURE TLINE.
    DATA:END OF I_LINES2.
    Pbo
    MODULE STATUS_2000 OUTPUT.
      SET PF-STATUS 'ZPF2000'.
    SET TITLEBAR 'xxx'.
    IF init is initial.
       init = 'X'.
       FOR TEXTEDIT CUSTOM CONTROL
        CREATE OBJECT: container EXPORTING container_name = 'TEXTEDIT',
                       editor    EXPORTING parent = container,
                       handle.
        event-eventid = cl_gui_textedit=>event_f1.
        event-appl_event = ' '.                     "system event
        APPEND event TO event_tab.
        event-eventid = cl_gui_textedit=>event_f4.
        event-appl_event = 'X'.                     "application event
        APPEND event TO event_tab.
        CALL METHOD: editor->set_registered_events
                     EXPORTING events = event_tab.
        SET HANDLER handle->handle_f1
                    handle->handle_f4 FOR editor.
    ENDIF.
      CALL METHOD editor->set_text_as_stream
        EXPORTING
          text = text_tab.
    for tbtxt contaner
    CLEAR INIT.
    IF init is initial.
       init = 'X'.
        CREATE OBJECT: container EXPORTING container_name = 'TBTXT',
                       editor    EXPORTING parent = container,
                       handle.
      CALL METHOD editor->set_text_as_stream
        EXPORTING
          text = tbtxt.
    ENDMODULE.                 " STATUS_2000  OUTPUT
    PAI
    CASE SY-UCOMM.
        WHEN 'INSERT'.
          CONCATENATE ZSV_SD_SP-COMINV ZSV_SD_SP-COMINVYR INTO NAME.
          SELECT SINGLE * FROM STXH WHERE TDOBJECT = 'ZMEMO1'
                  AND TDNAME EQ NAME AND TDID EQ '0001'.
          IF SY-SUBRC EQ 0.
            DELETE FROM STXH WHERE TDOBJECT = 'ZMEMO1'
          AND TDNAME EQ NAME AND TDID EQ '0001'.
           COMMIT WORK AND WAIT.
            DELETE FROM STXL WHERE TDOBJECT = 'ZMEMO1'
        AND TDNAME EQ NAME AND TDID EQ '0001'.
    COMMIT WORK AND WAIT.
          ENDIF.
          CALL METHOD editor->get_text_as_stream
            IMPORTING
              text = text_tab.
          IF NOT TEXT_TAB[] IS INITIAL.
            LOOP AT TEXT_TAB INTO WA_TEXT.
              I_LINES-TDLINE = WA_TEXT-LINE.
              APPEND I_LINES.
              CLEAR : I_LINES,WA_TEXT.
            ENDLOOP.
            HEADER-TDOBJECT = 'ZMEMO1'.
            HEADER-TDNAME   = NAME.
            HEADER-TDID     = '0001'.
            HEADER-TDSPRAS  = SY-LANGU.
            CALL FUNCTION 'SAVE_TEXT'
              EXPORTING
               CLIENT                = SY-MANDT
                HEADER               = HEADER
               INSERT                = 'X'
      SAVEMODE_DIRECT       = ' '
      OWNER_SPECIFIED       = ' '
      LOCAL_CAT             = ' '
    IMPORTING
      FUNCTION              =
      NEWHEADER             =
              TABLES
                LINES                 = I_LINES[]
            IF SY-SUBRC EQ 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
              COMMIT WORK AND WAIT.
             REFRESH TEXT_TAB.
             CALL SCREEN 1000.
            ENDIF.
          ENDIF.
    ENDMODULE.                 " USER_COMMAND_2000  INPUT
    Kind Regards,
    Sunny Vaswani

    Hello Sandeep,
    One possiblility I suspect is only single internal table is getting used for all the three custom containers.
    Only then it is possible that finally that internal table will have data from 3rd container.
    Try defining different internal table per custom containers and then on save event you
    can save those internal tables to database one by one.
    One more way to debug this program is go unit wise.
    For e.g.
    During first test only enable code for first editor and save data from that container to database.
    like wise you can go on enabling code for rest of two containers this way you will come to know where
    actually data is getting overwritten.
    Apart from that I would also like to suggest you to follow abap standard and avoid using obsolute statements like occur etc.
    Also you can make use of Markup facilities for posting code which is provided on right bottom of sdn page.
    for e.g.
    -> Displays the line as programming code
    Check if this can help!
    Enjoy SAP!
    Augustin.

  • SRM Field Control for Master Data fields e.g. hide Street prefix

    Hi Experts,
    we are using SRM 7 Ehp1.
    For the RFx process we need to create bidders.
    To simplify the creation of the bidder for the users we would like to hide
    all unnecessary fields e.g. Street prefix / Street suffix.
    I tried to use the customizing img "SAP Supplier Relationship Management -->  SRM Server --> Cross-Application Basic Settings --> Extensions and Field Control (Personalization) --> Configure Field Control"
    I've tried the function "Configure Control for Fields on Header Level".
    There is a business object type BBP001 for bidders but only 4 fields are available for field control.
    It seems this customizing entry is only for transaction data, e.g. SC, PO but not for master data.
    Is it possible to hide fields for bidders within SRM?
    Thanks in advance for your help!
    Kind Regards
    Stefan

    I've enhanced the relevant web dynpro component view.
    Created an post exit to the method WDDOMODIFYVIEW.
    Regards
    Stefan

  • Storing custom Palette for graph Data

    Post Author: lkane
    CA Forum: WebIntelligence Reporting
    Is there a place to set up and store a custom color Palette for graph data so that it is quickly accessible for all WebBI reports? We use a specific palette for all our charts and with > 60 reports to build that utilize it, it gets pretty old to set this in every report.

    Post Author: lkane
    CA Forum: WebIntelligence Reporting
    Is there a place to set up and store a custom color Palette for graph data so that it is quickly accessible for all WebBI reports? We use a specific palette for all our charts and with > 60 reports to build that utilize it, it gets pretty old to set this in every report.

  • Managed Beans vs. POJO Data Control for sharing data

    Hi,
    I am currently using JAX-WS proxy client and POJO Data Controls to retrieve data from web services. This data needs to be shared across users. Normally I would use application scoped managed beans for this, but since I prefer using data controls and the binding layer, would using static POJO Data Control classes achieve the same thing?

    Hi,
    Data Controls don't exist across user sessions so in your use case use a managed bean in application scope. If you want to make this available from a Data Control
    - create a POJO
    - Use EL in the POJO to access the managed bean
    - Create a DataControl from the POJO
    This way the Data Control exposes the data as an API but itself always reaches out to the managed bean as a data store/cache
    Frank

  • Links to Web Service Data Control for complex data types

    Hello Forum members,
    Could anyone please post good reference links to docs/blogs illustrating how to create and use a Data Control for a Web Serice Proxy Client providing interfcae for a complex xml schema ?
    Any help highly appreciated :)

    http://blogs.oracle.com/shay/2010/05/updateinsert_with_adf_web_serv.html

  • Developing custom controls for Third Pary softwares

    Hello,
    I am using a third party software that is a little bit old but it is still used at work. From this software it is possible to design windows forms that later on are loaded to smalls IPCs with windows embedded (XP and CE) and by lunching and application in
    the IPCs these forms can be used.
    From the form designs section of this software there is a "smart toolbox" from were the controls can be dragged and dropped (please see attached image). These controls seems to be designed by the third party software.
    My cuestion is the following:
    How can I design my own custom control? Is there any way that I can desing this controls from visual studio? what version?
    Thanks,
    Enrique.
    Kikeman Electric Systems Engineer

    Hi Enrique,
    -->Is there any way that I can desing this controls from visual studio? what version?
    I suggest you using the VS2013, it's free and it contains more new features. You could download this version from the below site:
    https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs#DownloadFamilies_2
    -->How can I design my own custom control?
    You could add the custom control like the following way.
    1) Right-click on the toolbox, then choose "Choose Items.."
    2) Click the "Browse..." button to choose the custom control. (Your dll files)
    If you have any other concern regarding this issue, please feel free to let me know.
    Best regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • WUI Specification - How to Define Custom Subview for General Data?

    SAP System Component Ver.: EHP6 FOR SAP ERP 6.0
    In relation to Customizing activity "Define Subviews for General Data" under Logistics - General > Product Lifecycle Management (PLM) > PLM Web User Interface > Recipe Development > Specification Management > Specification > Specification Master
    General Data - Specification Management - SAP Library
    If possible, what is the best approach to add a Custom Subview?
    So far, I've done the ff.:
    1. Create Custom Subview ZWDC (Implemented interface = IF_FPM_UI_BUILDING_BLOCK) and its Z config
    2. Append a fixed value to standard SAP Domain /PLMB/SPC_TAB_HEAD (ex. ZSUBVIEW)
    3. Specify subview ZSUBVIEW to be displayed according to the specification type in the Customizing activity (above)
    4. Create enhancement implementation in standard SAP Component Configuration /PLMU/WDC_SPC_OIF_CFG (in /PLMU/WDA_SPC_OIF: /PLMU/WDA_SPC_OIF_CFG)
    5. Add Subview ZSUBVIEW under Main View General Data.
    After saving the step 5 above, the system automatically renamed the Subview ID entered.
    Ex. ZSUBVIEW became ZSUBVIEW_0050568F00051EE480A96E03E55B9E5E
    When I ran Display Specification in WUI for the Spec Type where subview ZSUBVIEW has been defined, the ZSUBVIEW does not appear.
    My hunch is that it is caused by /PLMU/WDC_SPC_OIF_CFG Subview ID (i.e. system-generated ZSUBVIEW_0050568F00051EE480A96E03E55B9E5E) not matching the "Define Subviews for General Data" setting in Customizing (i.e. ZSUBVIEW).
    As Alternative solution, I changed step 4 above by creating Z copies of the std app config /PLMU/WDA_SPC_OIF_CFG and comp config /PLMU/WDC_SPC_OIF_CFG, before doing step 5. In step 5, the system did not automatically rename the Subview ID entered. An additional step (6) is to change settings via transaction LPD_CUST, for app /PLMU/WDA_SPC_OIF config from /PLMU/WDA_SPC_OIF_CFG to the Z copy. With this, the ZSUBVIEW appears.
    I would still prefer the enhancement implementation but I couldn't make it work and don't know what I'm missing. Any expert thoughts/inputs out there?
    Thanks in advance.

    Yes its something on the similar lines but looks like this comparator needs to be at some specific place.
    I tried to implement comparator interface in the custom domain data type class but it still throws the same exception.
    Looks like RowComparator needs to be defined somewhere. any idea where?
    The complete exception is below:
    Caused by: oracle.jbo.JboException: Cannot find compare routines for test.MyString
         at oracle.jbo.RowComparator.compareValues(RowComparator.java:108)
         at oracle.jbo.RowComparator.compareRows(RowComparator.java:146)
         at oracle.jbo.RowComparator.compare(RowComparator.java:158)
         at java.util.Arrays.mergeSort(Arrays.java:1270)
         at java.util.Arrays.mergeSort(Arrays.java:1281)
         at java.util.Arrays.mergeSort(Arrays.java:1281)
         at java.util.Arrays.sort(Arrays.java:1210)
         at oracle.jbo.server.ViewObjectImpl.sortRows(ViewObjectImpl.java:6752)
         at oracle.jbo.server.QueryCollection.sortRows(QueryCollection.java:995)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1177)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1331)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1249)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1243)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:6715)
         at org.calwin.view.bean.Table.tableSorting(Table.java:46)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)

  • Custom Filename for Export Data from a Query

    Hi,
    Would like to define a custom filename for the file to be download as a csv from the web query, Is it possible?
    Regards
    Chocks

    This is not possible, it will be system generated.

  • Authorisation control for master data creation on the basis of eq. category

    Hi Experts,
    In one of my business scenerio , I want to control the authorisation of a particular person on the basis of equipment category. I want to create a role for that particular ID and assign that equipment category sothat he can not create the equipments other than that category.
    How can I control this authorisation on object level basis? If any other way , please let me know sothat i can try out for the same.
    With Regards
    VT

    Hi
    You can use SPRO>PM and CS>Tech objects>equipment>Defien field selection for eqmt master record. Chose 2nd activity in list and click 'influencing' and select Equipment catiegory. Through this for a equipment category, you can control fields as input, required, display, hide.  Maintain the field auth group as required for a equipment category you want to control.
    You can create auth group in SPRO same path as above under techincal objects, general data. Check with GRC/basis team to limit auth to Equipment category for this group. If not, you can do this through ABAP for validating the auth group for equipment category. Assign this Auth group to a role
    Regards
    Hemanth

  • Custom control for list of string,num​eric values

    Hi,
    I want to create a control in labView 6.1 that presents the user with a list
    of string values on the front panel. The actual strings are material names
    (e.g. Si, Al). With each string value would be associated a floating point
    value that would then be used on the diagram for some numerical processing.
    What I have done is create an array of {string,digital control} clusters,
    but it looks kind of clunky on the front panel. Is there a more elegant
    solution?
    Thanks,
    -John P
    God is a comedian playing to an audience too afraid to laugh.
    - Voltaire

    Some ideas that I use when making this kind of button:
    Make an array of clusters of {string, numeric, boolean} in which:
    The numeric is hidden (right click menu/advanced/hide control) (skip
    this if you want the numeric to display
    and
    The boolean is colored TRANSPARENT and overlaid on the string. So it
    it seems to the user that he clicks on the string but in fact clicks
    on an invisible boolean.
    Another idea is to combine the strings and booleans into one set of
    buttons by making a cluster of identical booleans arranged so that
    they look like an array and setting the boolean text on each button
    to the desired string.
    These ideas imply writing some radio button logic to generate an
    index to select the desired numeric element. This is more work than it
    m
    ight seem
    Easiest is to use events and convert the mouse coordinates into an
    array index. I just made one of these and I have the code handy if
    you like.
    Adam
    On Wed, 18 Jun 2003 19:06:45 -0500, John P wrote:
    >Hi,
    >
    >I want to create a control in labView 6.1 that presents the user with a list
    >of string ...

  • How to build customized screens for Master Data Users

    Hi all,
    I need to build screens on top of centrally managed master data hub (Data Manager). I want to confirm following
    1) Should I go with Guided procedure (CAF) and pre defined Portal contains provided by SAP for MDM?
    2) Should I use Java API's provided with SAP MDM.
    License is not al all the issue. We have the entire NW components in place. But not sure what to use and what are the advantages/disadv???
    Please share your views....
    Thx,
    R.n

    Hi,
    I would suggest GP would be easier and in this you can integrate with ur customised objects also.
    Vinay

  • Call Bundling for custom bapi for mass data processing

    Hi all,
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/4c/4c0e96725311d396a80004ac96334b/frameset.htm
    can i create a custom bapi where i can compress created update tasks. Not single inserts but a single sql insert with many records.
    Are there some SAP FM in order to do it? Documentation says, i must do "Operations in buffer" and "Update buffer data".
    Regards
    Paul

    Is ABAPFIELD an IMPORTING parameter?
    > Total Questions:  17 (15 unresolved) 
    Maybe you should consider cleaning up your old posts.
    Rob

Maybe you are looking for