Edit /control graph names in program

Hi
I am able to generate xy-graph from acquired data from instrument. But unable to change graph name by programmatically,  i need this thing very much as i have to generate graphs of 500 in number, plot/graph name also i want to link it with file name, so that by seeing the graph we are able to get the some parameter values in plot/ graph name.
I want to edit / link one text box with graph, so that it should be stored/saved with graph, when i save plot programmatically.
By seeing the graph , i should be able to differentiate betweeen plots by seeing the graph name.
please help

Hi there
You cant change the graph name but you can change the caption. Right click on the XY plot and show the caption, then you can use the property nodes. Take a look at the attached program.
Hope this helps.
Ian
Attachments:
XY Image.vi ‏41 KB

Similar Messages

  • How to bold the text in text edit control

    Dear all,
    i am using text edit custom control in module pool.
    i want to bold the text in text edit control.

    Hi.,
    Check this  [Program|http://www.se80.de/ABAP/ZPA_SE80_IC_PROGART.html]
    It may help you to increase font size in text edit control.
    Thanks & Regards,
    Kiran

  • Edited video file name now cant open in other programs

    Opened a MPEG video file in HP MediaSmart video Main program and edited the file name. Now when I try to open the file it will not open in Windows Media player or my other video edit/programs.  I did not make a copy of the file or do I have a backup, it's the original.  How can I fix this?

    @Goonies_2015 ,
    Hello and thank you for posting on the HP support forums.  What I expect you have done when doing the change to the file and saving you ended up removing the .avi or .mpg file extension.
    So what you can try is to go to the file where ever it is located.  Copy the file then paste it.  Then rename the file whateveryouwant.avi or .mpg.  If this does not work then you may have edited it and saved the blank formatted file with no extension.  If that is the case I am not sure if you can recover it.
    Here are some links you can check out.
    How to Change a File Extension in Windows How to Recover Deleted Videos  
    Now the two links may not be exactly what you need but may have the answer when it comes to recovering video files.
    Thank you again for posting and have a great day.
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    D5GR
    I work on behalf of HP

  • Does Measurment Studio Standerd edition contains graph and chart ActiveX controls for VB6

    A Very Simple quistion:
    Does Measurment Studio Standerd edition contains graph and chart ActiveX controls for VB6?

    Shady -
    Measurement Studio 7.0 Standard Edition provides support for Visual C++ 2003, Visual Basic .NET 2003, and Visual C# 2003. It just so happens that the Visual C++ support includes ActiveX controls, which are usable in VB6. The CWGraph ActiveX control provides both graphing and charting functionality.
    However, full Visual Basic 6 support, including examples and documentation is not in the Standard edition. It is in the Professional and Enterprise Editions.
    The best thing to do would be for us to get in direct contact with each other to make sure that we get you exactly the (minimum) package you need. If your profile includes your email address, we can contact you. Otherwise, you'll need to go through ni.com/support and refer to t
    his discussion thread to open a direct dialogue.

  • Add num edit control to existing MFC DLL

    Hi,
    I'm using Visual C++ 6.0 and Visual Studio 6.0 SP3, with Measurement Studio 6.0.0 (eval version).
    I have a C++ DLL which is using shared MFC.  It holds various dialogs that my app needs.  Onto the waveform dialog, I want to add NI graph (not 3D graph) and num edit controls.
    I looked at the tutorial for "Manually Adding Components to My MFC-Based Project" but it seems that the additional steps don't apply to either of the controls I'm adding.
    Currently my waveform dialog contains only VS controls, and it works as expected both in the Visual Studio debugger and outside of it.
    So in the Visual Studio resource editor, I right-click, select "Insert ActiveX Control", and select the "CWNumEdit Control (National Instruments)", and the path shown is "C:\\Windows\system32\cwui.ocx".  I change its style so it looks like the classic control, and change its name.  My project builds and links with no additional header files or libs added to the project.*
    Now I run my app in the Visual Studio Debugger.  But when I call the code to create an instance of my dialog, it returns a 0 instead of a handle (indicating that it failed to create the object).  (I can't step into the call to create the dialog.)  But when I call GetLastError() it returns a 0, indicating no error!
    *I believe I at some point had some old Measurement Studio stuff loaded, which apparently had come along with other National Instruments installs that I had done. Is that possibly confusing my compile/link?
    What am I missing? Thanks in advance for any help ...

    Hi B.Anderson,
    You may be missing some components to your project. Here's a thorough KnowledgeBase article that discusses this:
    Adding Measurement Studio Controls to an MFC Project in Microsoft Visual C++
    If going through that doesn't help. Could you post a section of your code that is causing the problem and also show what libraries you have included?
    Take care!
    Tanya V
    National Instruments
    LabVIEW Platform Product Support Engineer

  • How to save Custom control records module pool program ?

    Hi guru ,
    1. How to save Custom control records module pool program ?
    I wrote multiple lines of record in custom control
    Who to save that records ?
    thanking you.
    Regards,
    Subash.

    Hi Subasha,
    Please check the format below since it is based on a working code
    **************data declarations
    TYPES: BEGIN OF TY_EDITOR,
    EDIT(254) TYPE C,
    END OF TY_EDITOR.
    data: int_line type table of tline with header line.
    data: gw_thead like thead.
    data: int_table type standard table of ty_editor.
    You should create a text for uniquely identifying the text you are saving each time so that it doesn't get overwritten
    For this a key combination must be decidedd to uniquely identify the test..here it is loc_nam
    ****************fill header..from SO10( t-code )
    GW_THEAD-TDNAME = loc_nam. " unique key for the text
    GW_THEAD-TDID = 'ST'. " Text ID
    GW_THEAD-TDSPRAS = SY-LANGU.
    GW_THEAD-TDOBJECT = 'ZXXX'. "name of the text object created
    *Read Container and get data to int_table
    CALL METHOD EDITOR ->GET_TEXT_AS_R3TABLE
    IMPORTING
    TABLE = int_table
    EXCEPTIONS
    ERROR_DP = 1
    ERROR_CNTL_CALL_METHOD = 2
    ERROR_DP_CREATE = 3
    POTENTIAL_DATA_LOSS = 4
    others = 5.
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    loop data from int_table and save to int_line-tdline appending it.
    *save the text
    CALL FUNCTION 'SAVE_TEXT'
    EXPORTING
    HEADER = GW_THEAD
    TABLES
    LINES = InT_LINE
    EXCEPTIONS
    ID = 1
    LANGUAGE = 2
    NAME = 3
    OBJECT = 4
    OTHERS = 5.
    IF SY-SUBRC 0.
    ENDIF.
    The code shown above is ok and working fine for save also,hope that the above sample with helps you solve the problem
    Please check and revert,
    Reward if helpful
    Regards
    Byju

  • SAVE button doesn't appear in Toolbar of Text Edit Control

    Hai All,
    I need to save the changes made to the text in my Text Edit Control, i know how to handle the Save command but my problem is the SAVE button doesn't appear in the Toolbar of the Text Editor. I have searched through the SDN but in all of those threads they already have the SAVE button and hence only the logic was discussed. But i need the SAVE button to appear in my Text Edit Control. Looking forward  for your helpful answers.
    Thanks in Advance,
    rama

    Hi,
    Check the demo program  SAPSCRIPT_DEMO_NOTE_EDITOR what ever you enter in the editor you get the text using method
    call method note_editor->get_text_as_stream
           importing text = notetab.

  • [Smartfroms] Problems in fetching text edit control text

    Hi gurus,
    I made an application using Screen programming (or dialog programming you must say). I used 3 tab strips. In last tab strip I used a text edit control to write remarks in multiple lines.
    I save those remarks (data element: TEXT255) in a custom table as they are saved as "sdfsdfsdf##df##sd##fsd##fsd##fsd##f##sd##f". Fine enough as "ENTER KEY" is interpreted as "##".
    I fetched them easily in a display mode using get_stream method. All good.
    But the problem arose when I needed to fetch those saved remarks in a smartform.
    When I fetched those remarks they came as "sdfsdfsdf##df##sd##fsd##fsd##fsd##f##sd##f" in samrtform's text_box.
    I tried a Find and replace command but ## couldn't process, it's because ## is just the interpretation of ENTER KEY.
    I need them as
    sdfsdfsdf
    df
    sd
    fsd
    fsd
    fsd
    f
    sd
    f
    Is there anyways to get multiple lines text box in smartforms or can I remove those "##" from the text?
    Regards,
    Mansoor Ahmed.

    I am saving it as a text in TEXT255 data element.
    But in text edit control when i press enter it adds ## to the text. And ## could not be processed via FIND and REPLACE commands.

  • After editing a photo in another program, the photos return to the library at the end of the grid panel instead of at their original loacation.  How do I avoid this or alternatively, is there a quick way of moving them back to their original position inst

    After editing a photo in another program, the photos return to the library at the end of the grid panel instead of at their original loacation.  How do I avoid this or alternatively, is there a quick way of moving them back to their original position instead of clicking and dragging them?

    Sort your photos by File Name or Capture Date
    Use View->Sort

  • How to access the Custom Data type variable given in Expression edit control To and From LabVIEW

    Hello, I would like to know how to access the custom data type variable given in the Espression Edit Control from LabVIEW and vice-versa
    Say, the FileGlobals.Reference_Handle (Custom Data Type Variable) contains the
    VISA I/O session (Which in turn contains VISA_DeviceName: String, Session: Number),
    Channel1: Number and
    Channel2: Number
    I am expecting the user to give FileGlobals.Reference_Handle as the input at the ExpressionEdit Control in the edit screen of the VI Call.
    I would like to know how to get the values of this custom data type to LabVIEW?
    Say, if I have the Cluster in LabVIEW like VISA I/O session (Deive Name and Session Number), Channel1 and Channel2
    how do i need to set this cluster to the Custom Data type variable in TestStand?
    Thanks and Regards
    Prakash 

    Hi,
    TestStand to LabVIEW: i didnt understand what you r trying to achieve. But if you are using references, Use Property nodes and Invoke nodes to achieve what you want in LabVIEW.
     LabVIEW to TestStand: check the image below: You need to click the button next to 'container'. I have used a cluster output in the VI.
    Hope this helps
    .......^___________________^
    ....../ '---_BOT ____________ ]
    ...../_==O;;;;;;;;_______.:/
    Attachments:
    1.JPG ‏187 KB

  • Getting data from table control to the report program.

    Hi,
    I created a table control using report program and i am trying to enter data in the table control which i want to update in the DB table. How can i get the data entered in table control to the report program, so that i can update the DB table.
    Please help me finding out which variable will hold the data entered in table control(dynamically).

    hi,
    in your table control you give some name to that table control say it_cntrl.
    this only serves as the internal table to process the table control data.
    like u can write like this.
    loop at it_cntrl into wa_cntrl.   "wa_cntrl is work area of type it_cntrl table type
    .........        "do your functining
    end loop.
    any clarification get in touch
    thnks

  • Creating axis names by programming

    Hello again. I tried to define the axis names with different units by programming instead of doing in the graph properties. As in my vi, I wired each axis name corresponding to the unit input to the graph property node, but it didn't come out correctly. I can't even see all graphs in the waveform chart which I defined each graph name already. How can I deal with it?
    Attachments:
    Values Measurement 1-main(2).vi ‏44 KB
    selecting data to plot.vi ‏31 KB
    unit selection.vi ‏19 KB

    more subvi
    Attachments:
    selecting data to save.vi ‏31 KB
    value sending desicion.vi ‏26 KB
    WriteDataToFile.vi ‏23 KB

  • I want to use the expression edit control in a VC++ DLL, how?

    Good morning,
    as mentioned I want to use the expression edit control in my DLL written with VSC++ 2005 MFC. But I ran into some problems:
    If I just add the ExpressionEdit control from the toolbar to my dialog then the dialog will not be shown during runtime. As soon as I delete the control the dialog shows up.
    In the TS examples is one called 'TCL' (...National Instruments\TestStand 4.1.1\Examples\Tcl\source\EditSubstep). This is programmed in C++ and uses the expression edit control.
    The original dll works fine but as soon as I compile the editsubstep with my VS 2005 I get a runtime error (see image).
    What do i have to do to be able to use this control?
    Has anybody an working example for me?
    Cheers Frank
    Solved!
    Go to Solution.
    Attachments:
    fehler.JPG ‏21 KB

    @juergen: how do I know which lib I am using?
    I am using this COM-Control: c:\programme\national Instruments\testStand 4.1.1\bin\exprEdit.dll
    @Doug: I created the sequence as you described and used this for debugging to find out where the problem is.
    I found out, that the problem must be somewhere here:
    dlgcore.cpp
    BOOL CWnd::CreateDlgIndirect(LPCDLGTEMPLATE lpDialogTemplate,
    CWnd* pParentWnd, HINSTANCE hInst)
    Line 314:
    hWnd = ::CreateDialogIndirect(hInst, lpDialogTemplate,
    pParentWnd->GetSafeHwnd(), AfxDlgProc);
    Without the ExpEdit-control hWnd has a Value
    with control hWnd is 0.
    This is what I found out so far.
    Frank

  • A pain to edit each bookmark names, please advice~~

    I have copied a bookmark folder from Firefox to Safari 4. In Firefox, most bookmark names are automatically appeared quite meaningfully (seems it captured the headline from the website) once they are added and I didn't have to rename them. But those default bookmarks that are now copied to Safari had their names appeared as URL addresses. It is a pain to edit those bookmark names one by one in the folder since I have got lots of them in the folder!!! Is there a quick way to configure it so that it can pick up meaningful name automatically?
    Macbie

    hi 
    try to edit properties of page and save it, if you can save it, it may be in pages library, there are required properties, that do not added to page layout, if so, open page layout in spd and add required columns to page layout
    also it may be that, in your page layout or master page, there are other webpart or controls that have required validations.
    yaşamak bir eylemdir
    yes it seems there are a required column inside the parent content type, i change it to be optional and now i can save a new wiki page if all the required fields are entered.
    but the problem now is that in case the user leave a mandatory field empty and he click on the save button , the error dialog will be display .and if the user clicks on the "Ok" button inside the error dialog,
    he will be redirected to another page and all the data he entered will be lost. so the right behavior should be to stay on the same page when clicking on the "Ok" button. as currently the user
    will have to re-enter the data again.
    so i have to either prevent the dialog from being displayed , or to stop the redirect  ? not sure if this is possible ...

  • Displaying scanned image in image edit control

    Hi,
    i have a kodak image scan control and kodak image edit control on my form. iam able to scan images and save them to filesystem, but iam not able to display the scanned image in the image edit control. can anybody pl. help me.
    thanks in advance.
    Krupal.

    Hi emery,
    thanks a lot. but to load by load_image_file the image i dont have an image on the filesystem. the image has to be scanned and the scanned image has to be displayed in the image edit control. so what i need is to link the image scan control and the image edit control. for that i have to specify the destination source of image scan control to image edit control. but the destination source is a list in scan control which is not editable. moreover the list contains the image edit control name as imagedit1... no matter what u specify the name in property palette. anyway i tried all these.. but all my efforts were invain.
    bye.

Maybe you are looking for