Setting Custom Caption in UI

I assume this should be trivial but I can't get it to work. I'm using the TestExec.exe and I'm trying to update the text of a label I've added to the Execution Tab from a step in my sequence. i.e. A step in my sequence reads a temperature and I'd like it to pass this info to the label on my TestExec UI. From the TestStand3.5 side, I tried using the PostUIMessage with a custom event code UIMsg_UserMessageBase+1 from my sequence. But, from the UI side, I can't seem to figure out how to connect to this control in my C# code to capture this message.
I've tried to use ConnectCaption but, obviously my custom message isn't one of the CaptionSource options..
this.axExecutionViewMgr.ConnectCaption(this.axLabel1, CaptionSource.? .....);
Also thought there might be a SetCaptionText function but there is no such thing I can find.
Anyone have any idea how to do this?

Figured it out....No need to do any attaching. Just simply override the  axApplicationMgr_UIMessageEvent and then check to see which user message has been passed:
 if (e.uiMsg.Event == NationalInstruments.TestStand.Interop.API.UIMessageCodes.UIMsg_UserMessageBase)
my_label.Caption = e.uiMsg.StringData;

Similar Messages

  • Creating Custom Caption Set

    I'm trying to create a custom caption set for Cap 5.  I created the 5 seperate bmp files and saved them to the Gallery, all properly named and added the information to the font .ini file.  When I open Captivate again the group is present for me to select except that the inside of the box is transparent and I want it to be white like in the .bmp I created in Photoshop.  The background of the .bmp I created is all grey, the box is white with an orange outline.  What am I missing?  I'm not clear on the upper left hand corner pixel things I've been reading, I was assuming since the entire background is grey that I wouldn't have any transparency issues.  Any help would be great.  Thanks.

    I'm having this same problem, but my caption is all white except for the top left pixel. It's FFFFF9, while the rest of the pixels are straight FFFFFF. Unfortunately, that makes it rather difficult to display it on this white page! So I expanded the canvas and filled the canvas with gray. The gray area is not part of the caption itself.
    Here's a view of it at 6400%. I used the magic wand to select only the pure white pixels--you can see that the upper left is a different color.
    When the caption displays in the dropdown, its thumbnail is also transparent.
    The weird thing is, a co-worker is using the caption successfully in Cap 5. She sent me the .bmp and .fcm files, and I saved them into my Gallery>Captions directory. I've tried closing and restarting Captivate, with no success.
    I appreciate any suggestions that anyone has!

  • How can I add custom captions to a waveform graph scale?

    I have an application that displays one or more signals in a WvfmGraph.  The X Axis is set by a hardware encoder giving signals vs. distance (measured length).  I would like to change the caption of the XScale according to the values of one of the signals.  Its similar to an XY graph, but differs in that I want to see the data unrolled.
    The problem is that the X Axis scale markers are fixed.  I would like to ask the graph what is range property of the X Axis scale.  Then use that information and a derived position signal to replace the marker values with values from a derived signal that includes relative motion. 
    For example, measuring a unit 100 feet long results in measurements of 200 feet worth of data (out and back).  The customer would like to see this data unwrapped 0, 50, 100, 50, 0. 
    One alternative is to use an XY Graph, but the data on top of itself.  Not necessarily a bad thing, but not the same as what they have always had.
    I found a similar post to display the scale at a rotation (CW or CCW) and was able to get it to work for my specific case.  The problem is that my picture marker values are not aligning nicely with the corresponding gridlines. 
    Attachments:
    Position vs MeasuredDistance.PNG ‏43 KB
    Position vs. PseudoPosition.PNG ‏37 KB

    Stephen,
    Thanks for replying to my post.  XScale.Range does not handle this situation.  In "rigorous" terms, LV does the right thing with X axis scale markers and put them where you want.  I tried to set custom Marker values as: {0, 50, 100, 50, 0} and only saw the first three values.  My guess is that under the hood, the spacing is set to 'Arbitrary' and my custom values are overwritten.  Not what I intended, but I admit my task is not the normal use case.
    Today I am prototyping the entire application with each WvfmGraph replaced with XYGraph's.  Good thing I used a modular design and passed Refnums around to all my subVI's.  Depending on a review of this prototype, I might skip this graph scale formatting.
    FYI, the original graph issue wanted to rotate the marker labels CCW.  They hid the graphs XScale and used a custom picture to display the new scale.  There is a VI that formats an axis with custom labels, where the font, text, etc. can be customized.  I have a working example of that custom scale on a Wvfm graph.  I stopped refinement when I tried to consider use cases for how the user would zoom on the data, how the graph's label's would appear if the DAQ signal indicated that the part reversed on itself.  All the data is better visualized on an XY Graph.
    p.s. are you one of the Waterloo Labs engineers?  Great stuff!

  • How to set a Caption/title in ALv

    Hi frnds,
    Can you tell me how to set a caption/title to a ALV grid.
    Regards
    Anuj

    hi
    try like this
    DATA: i_title_kna1 TYPE lvc_title VALUE 'FIRST LIST DISPLAYED',
          i_title_vbak TYPE lvc_title VALUE 'SECOND LIST DISPLAYED'.
    populate additional paramete as follows.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
         i_callback_program                = sy-repid
       i_callback_pf_status_set          = 'PF_STATUS_SET'
         i_callback_user_command           = 'USER_COMMAND'
       i_callback_top_of_page            = 'TOP-OF-PAGE'
         i_grid_title                      = i_title_kna1
         is_layout                         = wa_layout
         it_fieldcat                       = it_fieldcat
       it_events                         = it_events
        TABLES
          t_outtab                          = it_kna1.
    or if you want top of page
    populate the events table and use alv_commentary_write
      wa_listheader-typ = 'H'.
      wa_listheader-info = 'Customer Details'.
      APPEND wa_listheader TO it_listheader.
      CLEAR wa_listheader.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary       = it_listheader
          i_logo                   = 'EDSLOGO'
      I_END_OF_LIST_GRID       =
      I_ALV_FORM               =
      REFRESH it_listheader.
    try the below code u will get a clear picture
    report zalv no standard page heading.
    TYPE-POOLS : slis.
    TABLES: kna1.
    TYPES : BEGIN OF ty_kna1 ,
            kunnr LIKE kna1-kunnr,
            name1 LIKE kna1-name1,
            land1 LIKE kna1-land1,
            END OF ty_kna1.
    DATA: it_kna1 TYPE TABLE OF ty_kna1.
    DATA : it_fieldcat TYPE slis_t_fieldcat_alv,
           wa_fieldcat TYPE slis_fieldcat_alv.
    DATA : wa_layout TYPE slis_layout_alv .
    DATA : it_events TYPE  slis_t_event ,
           wa_events TYPE slis_alv_event.
    DATA : it_listheader TYPE slis_t_listheader,
           wa_listheader TYPE slis_listheader,
           it1_listheader TYPE slis_t_listheader,
           wa1_listheader TYPE slis_listheader.
    DATA: i_title_kna1 TYPE lvc_title VALUE 'FIRST LIST DISPLAYED'.
    INITIALIZATION.
      PERFORM getevents using it_events.
      PERFORM desinlayout.
    START-OF-SELECTION.
      PERFORM desinfieldcat.
      PERFORM datafetching.
      PERFORM display.
    *&      Form  desinfieldcat
          text
    -->  p1        text
    <--  p2        text
    FORM desinfieldcat .
    wa_fieldcat-row_pos = 1.
      wa_fieldcat-col_pos = 1.
      wa_fieldcat-fieldname = 'KUNNR'.
      wa_fieldcat-seltext_l = 'Cust Num'.
      wa_fieldcat-datatype = 'CHAR'.
      wa_fieldcat-outputlen = 10.
      wa_fieldcat-tabname = 'IT_KNA1'.
      wa_fieldcat-key = 'X'.
    wa_fieldcat-hotspot = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
    wa_fieldcat-row_pos = 2.
      wa_fieldcat-col_pos = 2.
      wa_fieldcat-fieldname = 'NAME1'.
      wa_fieldcat-seltext_l = 'Name'.
      wa_fieldcat-datatype = 'CHAR'.
      wa_fieldcat-outputlen = 35.
      wa_fieldcat-tabname = 'IT_KNA1'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
    wa_fieldcat-row_pos = 3.
      wa_fieldcat-col_pos = 3.
      wa_fieldcat-fieldname = 'LAND1'.
      wa_fieldcat-seltext_l = 'Country'.
      wa_fieldcat-datatype = 'CHAR'.
      wa_fieldcat-outputlen = 10.
      wa_fieldcat-tabname = 'IT_KNA1'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
    ENDFORM.                    " desinfieldcat
    *&      Form  datafetching
          text
    -->  p1        text
    <--  p2        text
    FORM datafetching .
      SELECT kunnr name1 land1
             FROM kna1
             INTO TABLE it_kna1
             UP TO 30 ROWS.
    ENDFORM.                    " datafetching
    *&      Form  display
          text
    -->  p1        text
    <--  p2        text
    FORM display .
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
         i_callback_program                = sy-repid
       I_GRID_TITLE                      = i_title_kna1
         is_layout                         = wa_layout
         it_fieldcat                       = it_fieldcat
       it_events                         = it_events
        TABLES
          t_outtab                          = it_kna1.
    ENDFORM.                    " display
    *&      Form  desinlayout
          text
    -->  p1        text
    <--  p2        text
    FORM desinlayout .
      wa_layout-zebra = 'X'.
      wa_layout-colwidth_optimize = 'X'.
    *wa_layout-edit = 'X'.
    ENDFORM.                    " desinlayout
    *&      Form  getevents
          text
    -->  p1        text
    <--  p2        text
    FORM getevents using p_it_events type slis_t_event.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
         I_LIST_TYPE           = 0
      IMPORTING
         et_events             = p_it_events
       EXCEPTIONS
         list_type_wrong       = 1
         OTHERS                = 2
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    READ TABLE p_it_events INTO wa_events WITH KEY name = 'TOP_OF_PAGE'.
      wa_events-form = 'TOP_OF_PAGE'.
      MODIFY it_events FROM wa_events TRANSPORTING form WHERE name = wa_events-name.
    ENDFORM.                    " getevents
    *&      Form  populatevents
          text
    -->  p1        text
    <--  p2        text
    FORM populatevents .
      READ TABLE it_events INTO wa_events WITH KEY name = 'TOP_OF_PAGE'.
      wa_events-form = 'TOP_OF_PAGE'.
      MODIFY it_events FROM wa_events TRANSPORTING form WHERE name = wa_events-name.
    ENDFORM.                    " populatevents
    *&      Form  top-of-page
          text
    FORM TOP_OF_PAGE.
      wa_listheader-typ = 'H'.
      wa_listheader-info = 'Customer Details'.
      APPEND wa_listheader TO it_listheader.
      CLEAR wa_listheader.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary       = it_listheader
          i_logo                   = 'EDSLOGO'
      REFRESH it_listheader.
    ENDFORM.                    "top-of-page
    REWARD IF HELPFUL
    PRASANTH

  • Issue in setting custom identity service for soa 11.1.1.4

    Hello,
    I am facing issue in setting custom identity service for soa 11.1.1.4
    It is not picking up the implemented UserManager (in custom IDM) implemented via ServiceProvider and IdentityStoreService.
    This is configured in jps-config.xml
    The same setup was working in soa 11.1.1.2
    I believe there is a change done in JpsProvider in bpm-service.jar to authenticate via default login context from oracle.security.jps.internal.jaas.module.authentication.JpsUserAuthenticationLoginModule
    If my uderstanding is correct,
    Please guide me in implementing custom identity store and services for bpm services for soa 11.1.1.4
    Tried various work arounds but no luck.
    Thanks
    Bala

    Hi...
    Can u tell me how did u set up custom identity service for 11.1.1.2 ?
    Thanks

  • How to set custom font family in qml label in black berry 10 os

    how to set custom font family in label text  qml in black berry 10 OS

    AFAIK, this is not the correct way to set the image location.
    We call the working directory as context, so inside the context root along with WEB-INF, maintain a folder with name img and put all the images in that directory.
    You can use either .\<image_folder> or the optimum way would be (if you are using JSPs) to use getContext() method and traverse accordingly.
    FYI,,, using getContext() will give you context root directory, from there it is as simple as accessing any other folder.
    Hope this answers your question.
    Cheers,
    Jeets.

  • How to set custom master page for sharepoint application page ?

    Hello,
    I need to apply custom master page for the custom application page I created for login purpose.
    Can anyone please let me know how to apply master page for custom application page ?
    Note : I need to set custom master page for application page at web application level.
    thanks,
    Dipti Chhatrapati

    Hi Dipti,
    You can use the same reference as ASP.NET
    Example
    "<%@ Page Language="C#" masterpagefile="../_catalogs/masterpage/minimal.master" title="teste" inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" meta:webpartpageexpansion="full"
    meta:progid="SharePoint.WebPartPage.Document" %>"
    You can use SharePoint Designer 2010
    http://www.microsoft.com/download/en/details.aspx?id=16573 to make the reference from you aspx page to you custom masterpage.
    When you are editing a aspx page you can go to ribbon "Style" and attach the custom Masterpage.
    André Lage Microsoft SharePoint, CRM Consultant
    Blog:http://aaclage.blogspot.com
    Codeplex:http://spupload.codeplex.com/http://simplecamlsearch.codeplex.com/

  • How to set custom master page for social/sites.aspx in sharepoint 2013

    How to set custom master page for social/sites.aspx in sharepoint 2013.?
    File path is
    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\FEATURES\SocialDataStore\SocialDataStoreList\sites.aspx
    Thanks in advance

    Hi,
    You could open the sites.aspx in Notepad or SharePoint designer, and set the master page to your own master page directly via editing:
    <%@ Page language="C#" MasterPageFile="~masterurl/custom.master"      Inherits="Microsoft.SharePoint.Portal.WebControls.FollowedContentWebPartPage,Microsoft.SharePoint.Portal,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c"
    %>
    Regards,
    Rebecca Tu
    TechNet Community Support

  • How to set custom size of Close Button e.g. 32x32  of Title Window in Flex 4

    How to set custom size of Close Button e.g. 32x32 of Title Window in Flex 4?

    Hi
    Here is the code of the Button in the skin class of spark title window.
    <s:Button id="closeButton" skinClass="spark.skins.spark.TitleWindowCloseButtonSkin"
                              width="15" height="15" right="7" top="7" />
    So first change the default height and width from 15 to 32. Then in the Button Skin class i.e. spark.skins.spark.TitleWindowCloseButtonSkin change paths to modify the cross symbol.
    Hope this helps
    Rush-me

  • In Keynote09, if i set custom presenter display settings (large presenter notes), and i save the file, will i see my notes in the same way on another computer? Are the presenter display setting saved in the file?

    In Keynote09, if i set custom presenter display settings (large presenter notes), and i save the file, will i see my notes in the same way on another computer?
    Are the presenter display setting saved in the file?
    Thanks for your help!

    it wont.
    Presenter note display is set per machine.
    Surprising nobody in this community knew this.

  • Remove custom captions from cache, CS5

    I created a number of custom captions in CS5.  The captions work fine but are no longer needed.  I removed their .bmp and .fcm files from the Gallery\Captions folder but the captions still appear in the Caption Type drop-down list.  I can't seem to get rid of these unwanted captions.  They seemed to be cached in a mysterious location and refuse to go away.  I have cleared project cached files, uninstalled/re-installed Captivate 5, exited/entered new projects, rebooted the PC, and scanned the PC registry.  How do I remove these captions? 
    Other recent postings have raised this same issue but I couldn't find any answers.

    Hello,
    I think your are pointing at Captivate 5 (Captivate is not part of a Creative suite, so the 'CS5' doesn't apply to it)?
    Did you try to delete the Preferences folder in CP5? This has to be done while CP is not running. It depends on your OS. I'm on Windows 7 and the folder 'Captivate 5' can be found there in this path:
    C:\Users\YourProfile\AppData\Local\Adobe          if Windows is installed on C:  Replace 'YourProfile' by your username
    You can delete the folder, but will lose all your preferences. When restarting CP a new folder will be created. This replaces the "*.dat" file from previous versions.
    Lilybiri

  • How to display the image while set custom header "x-content-type-options" as "nosniff" in web.config

    Hi,
    I am using Microsoft ASP.NET TreeView control where I have bound embedded images. Also I have set custom header “x-content-type-options” as
    “nosniff” in web.config file.
    On hosting the sample containing the above mentioned things in SERVER machine, the images are not visible but its working properly while running sample in local (development) machine. 
    Kindly provide a solution and find the sample in the below link.
    http://goo.gl/6uR2b0 
    Thanks,
    Alagarsamy D.

    Hi AlagarBala,
    Your issue is related to asp.net/web technology and for a better support on this please post your question to the asp.net forum below, this forum is for C# code issues in speicific:
    http://forums.asp.net/
    Regards,
    Fouad Roumieh

  • 10.6.6 - How to set custom view options for specific folders

    How is it that Windows has had the ability to ability to set custom folder view options forever and OSX can't. What is the big deal? Just do it. Whenever I set the folder view options it changes the view for all the folders. I can do folder specific changes as long as the finder window is open then I close it and open it again every folder is the same again. It's just an annoyance and it's something so rudimentary it's embarrassing.

    Try the following:
    I want to have, say, one folder in list view
    Open that folder, set it to list view, type command-J, and in the view-options window that opens, check the box at the top for "Always open in list view".
    then the subfolder of that folder I want to have in cover flow view. permanently.
    Open that folder, change it to cover-flow view, and in the view-options window check the box at the top for "Always open in cover-flow."
    Those two folders should "remember" the custom views that were set for them.
    There's additional discussion about the meaning of the"Use as defaults" button in this thread
    http://discussions.apple.com/thread.jspa?messageID=13063792
    My own take is that folders that have not been customized by checking the "Always open in xxx view" box will by default open in the same view (icon vs list vs column, etc) that was in effect for the previously opened folder. *Within each view*, you can set the default parameters (text size, etc) for a new folder by setting up a folder the way you like and then checking the view options box for "Use as defaults" at the bottom.

  • How can set custom advanced print setting to default?

    Hi
    I am using job automation program called enfocus switch and
    Every time it automatically print out  PDF file, i wanted it to be printed out with bleed mark and page information.
    As i go to advanced print setup, i can achieve this by set setting to custom setting that has checked bleed mark and page info.
    Is there any way to set custom setting as default so Evey time enfocus program print out PDF, it is printed out with bleed marks and page info.
    Thanks

    this is what i wanted it to be default. checked bleed marks & page information
    went to setting-adobePDF. coudn't find any thing related to bleedmark and page info.
    Hope this give you more detail thank you for your time.

  • Needing rest of my custom caption to be transparent

    I created 5 simple .bmps to be custom captions. They have a white background, however I placed a single yellow pixel in the top-left corner of each so that it would render anything outside of the caption that was white transparent, but inside of the caption that was white, - white.
    I have read that by placing a color that would not be used in the course on the caption, and by placing it in the top-left corner, Captivate would do this. The captions are having the white background (which is great), but still showing the rest of the images background to show the full rectangle. I'm almost there - but not quite what I was going for.
    Please see image below:
    Not sure what I am doing wrong here. I have tried inserting a 1px stroke around entire image, and this is what I got. It shows the image, but also the entire stroke.
    When I insert just a white background without the odd-color pixel, the following is seen:
    Please. Any suggestions you can provide would be greatly appreciated. Thanks!
    Kevin    

    Hey Rick -
    Just so as I understand. If I have the green caption with a white internal background, all I need to do is lift the green balloon (with white color within the caption), and place it on a pink canvas - and that will keep all the surrounding areas on the outside of my caption transparent? I also need to make sure that I have to have probably at least a 1px area around the image from the edge of the canvas so it doesn't touch the size of the caption. Is that what I am understanding?
    I still save it as a .bmp right from my image editor, correct (Fireworks)?
    No, I do not save a bmp as a FCM file extension. I have opened up the FCM file extensions (and have in the past), and know that they contain the x,y cooridinates and margins for the captions - as well as the same for the hotspots.
    Kevin

Maybe you are looking for

  • Chromium doesn't start and suspend, shutdown don't work occassionally

    Hello, I have this problem on my laptop but since chromium doesn't start on my desktop either, I don't think it's specific to laptops. When I try to start chromium in a terminal, I get a blank window (I can tell because I use spectrwm): ATTENTION: de

  • Urgent Help........Error at Runtime.....

    here are the errors i am getting C:\Documents and Settings\Sumit\Desktop>java ab.SearchFiles -index c:\opt\lucene \index Enter query: bill gates Searching for: bill gates 2 total matching documents *************INSIDE LINKSPOPULARITY METHOD**********

  • QT 7.1.1 still messing with third party software.

    Downloaded 7.1.1 hoping that it would allow me to use limewire, but no such luck. Same problems as before. Anyone else have a solution? How do i get back to something older from 7.1.1?

  • Exit in inbound function module

    Hi Experts, Outbound dlivery is created in the receiver side of SAP as an inactive mode. I need to press the Activate button in that transaction than only it is activated. How to do acquire the functionality.

  • Leave

    Hi All,    We have recently migraded from 4.6 C to ECC 6.0. Previously we were using WS2000081 for leave workflow and now wee are using WS12300011 for same.    New workflow works but I'm not able to read as it does not contain the container elements