How to get I32 enum text out of a control (i/p terminal config, active edge of DAQmx vis)

Hi,
 I am using DAQmx VIs create channel.vi and sample clock.vi, they have inputs (input terminal configuration) and (active edge) both are I32 and have enum looking drop down options. i want to use those text values to put into my excel file, but they give out numeric codes related to respective option. is it possible to get the text as it is.
it is not an enum but I32 which looks like enum..
plz help..
Thanks
Solved!
Go to Solution.

Note: This assumes that you have an actual control on the VI. If you have a
block diagram constant, then that won't actually work. In this case to get the actual text you need to pick from list of text items. To further complicate things, the actual values that are generated are not sequential. You can use either a case structure or a 2-step lookup.
Attachments:
Example_VI.png ‏7 KB

Similar Messages

  • How to get Grand Total Text in ALV GRID

    Hi Folks,
    I am able to get the SUBTOTAL TEXT .....But i need...
    How to get Grand Total Text in ALV GRID Display...
    Can any one give a Solution for this...

    Hi Surendar,
    Check out this code.. this is showing Total Text in Toal line in the very first column.
    REPORT  zsales_ord_det_1                        .
    TABLES: ztable_10.
    TYPE-POOLS: slis.
    DATA: BEGIN OF it OCCURS 0,
    srno(6) type c,
    name LIKE ztable_10-name,
    age LIKE ztable_10-age,
    END OF it.
    DATA : BEGIN OF it_temp OCCURS 0,
    name LIKE ztable_10-name,
    age LIKE ztable_10-age,
    END OF it_temp.
    DATA: i_fieldcat  TYPE slis_t_fieldcat_alv,
          wa_fieldcat TYPE  slis_fieldcat_alv.
    DATA: v_repid LIKE sy-repid,
           i_index TYPE STANDARD TABLE OF i WITH HEADER LINE,
           gs_layout TYPE slis_layout_alv,
           gd_layout TYPE slis_layout_alv,
           i_sort TYPE STANDARD TABLE OF slis_sortinfo_alv,
           wa_sort TYPE slis_sortinfo_alv.
    START-OF-SELECTION.
      v_repid = sy-repid.
      SELECT * FROM ztable_10 INTO TABLE it_temp.
      LOOP AT it_temp .
        it-srno = 'Total'.
        it-name = it_temp-name.
        it-age = it_temp-age.
        APPEND  it.
      ENDLOOP.
    END-OF-SELECTION.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
       EXPORTING
         i_program_name               = v_repid
         i_internal_tabname           = 'IT'
      I_STRUCTURE_NAME             =
      I_CLIENT_NEVER_DISPLAY       = 'X'
         i_inclname                   = v_repid
      I_BYPASSING_BUFFER           =
      I_BUFFER_ACTIVE              =
        CHANGING
          ct_fieldcat                  = i_fieldcat[]
       EXCEPTIONS
         inconsistent_interface       = 1
         program_error                = 2
         OTHERS                       = 3
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    wa_fieldcat-row_pos = 1.
    wa_fieldcat-col_pos = 1.
    wa_fieldcat-fieldname = 'SRNO'.
    wa_fieldcat-tabname = it.
    append wa_fieldcat to i_fieldcat.
      LOOP AT i_fieldcat INTO wa_fieldcat.
        IF wa_fieldcat-fieldname = 'AGE'.
          wa_fieldcat-do_sum = 'X'.
          MODIFY i_fieldcat FROM wa_fieldcat.
        ENDIF.
       IF wa_fieldcat-fieldname = 'SRNO'.
         Hide this field so that it can display it's content i.e.
            Total text in Subtotal level
        wa_fieldcat-tech = 'X'.
          wa_fieldcat-no_out = 'X'.
          MODIFY i_fieldcat FROM wa_fieldcat TRANSPORTING tech no_out.
       ENDIF.
      ENDLOOP.
    wa_sort-spos = 1.
    wa_sort-fieldname = 'SRNO'.
    wa_sort-up = 'X'.
    wa_sort-subtot = 'X'.
    APPEND wa_sort TO i_sort.
      gd_layout-no_totalline = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                       = ' '
         i_callback_program                        = v_repid
      I_CALLBACK_PF_STATUS_SET     = ' '
    i_callback_user_command                = 'USER_COMMAND'
      I_CALLBACK_TOP_OF_PAGE         = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE  = ' '
      I_CALLBACK_HTML_END_OF_LIST    = ' '
      I_STRUCTURE_NAME                       =
      I_BACKGROUND_ID                        = ' '
      I_GRID_TITLE                                  =
      I_GRID_SETTINGS                          =
         is_layout                                      = gd_layout
         it_fieldcat                                      = i_fieldcat[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
         it_sort                           = i_sort
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          = it
       EXCEPTIONS
         program_error                     = 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.
    Regards,
    Seema

  • How to get the short text in tcode "msc3n" -- Basic data 2 -- short text.

    I have to display the short text in my report output.
    How to get the short text in tcode "msc3n" ( msc3n --> Basic data 2 --> short text.)?
    Is there any function module availble to get this short text or is this stored in any data base table ?
    Please help me. Your help will be highly appreaciated.
    THANKS.

    Hi,
    Use FM 'READ_TEXT' to get this values.
    Say for exampele my material is  1900001 and batch is 0000000517.
    Then my parameters to the FM will be as follows:-
    Text Name       000000000001900001    0000000517
    Language        EN
    Text ID          VERM
    Text Object     CHARGE
    This information you can get as follows.
    Open the short text window in the text editor.
    Here you can enter the long text.
    In the editor Go to Header and you will find the details.
    Please note that the text name will comprise of
    Material
    Batch
    Plant
    Stor. Location
    if all the details are given.
    I hope this helps you.
    Regards,
    Ankur Parab

  • How to get the bold texts in JTextPane?

    How to get the bold texts in JTextPane?

    I believe you need to look at the Elements of the Document. Use the Document.getDefaultRootElement() method to get the first root Element. From there you can iterate through all the Elements. You should then be able to check the attributes of the element to see if it contains the Bold attribute using something like:
    AttributeSet attributes = element.getAttributes();
    if ( attributes.containsAttribute(StyleConstants.Bold, Boolean.TRUE)
    // do processing here

  • How to get this report format out ?

    Hello all experts,
    Sample table creations like the following. Note checkno under xcheck table is not unique. Have tried pivotting the xcheck table then link pivoted xcechk with xcert using certno and invno but this willl end up getting duplicate records. Can u please help ? Basically I am stuck at how to get that vendor name out on the report
    create table xcert(
    certseq number primary key,
    certno varchar2(5) not null,
    vendor varchar2(25));
    create table xcheck(
    checkseq number primary key,
    checkno varchar2(8) not null,
    invno varchar2(100);
    Xcert Data
    certseq certno     vendor
    1     C1001     BP GAS
    2     C1002     BUG PEST CONTROL
    3     C1003     BP GAS
    4     C1004     BP GAS
    5     C1005     WILLIES BESTxcheck Data
    checkseq     checkno          invno
    1          EF500001     C1001,C1003,C1004
    2          EF500002     C1002
    3          EF500002     C1005Looking for a following report format
    checkno          invno               vendor
    EF500001     C1001,C1003,C1004     BP GAS
    EF500002     C1002               BUG PEST CONTROL
    EF500002     C1005               WILLIES BEST      Thank you
    Munshar

    Hi, Munshar,
    MunSharmi wrote:
    Frank,
    "I don't see why you would need another column. What would you need to store, or retrieve, that a table like this wouldn't allow?
    Notice my orignal xcheck table data plus a check date column
    {code}
    checkseq     checkno          invno               checkdate
    1          EF500001     C1001,C1003,C1004     11/01/2010
    2          EF500002     C1002               12/10/2010          
    3          EF500002     C1005               01/01/2011
    {code}Sure, if you have other data that you haven't mentioned yet, then you need other columns, and maybe even other tables, to store that data.
    Talking about this would be a lot easier if you described what you were trying to model in these tables, and what the different entities are.
    after nomalization
    {code}
    seq(PK)     checkseq     checkno          invno               checkdate
    1     1          EF500001     C1001               11/01/2010
    2     1          EF500001     C1003               11/01/2010
    3     1          EF500001     C1004               11/01/2010
    4     2          EF500002     C1002               12/10/2010          
    5     3          EF500002     C1005               01/01/2011
    {code}What do checkseq and checkdate represent? What is the realtionship between them? If there is another row with checkseq=3, will it necessarily have checkdate=01/01/2011? If there is another row with checkdate=01/01/2011, will it necessarily have checkseq=3?
    Shouldn't I need to have the extra seq(PK), then use check seq to group the data report to meet users' target format ? Please adviseIt depends on what your entities are. If you explain that, then perhaps I can give some advice about how to model them.
    In general, every type of entity requires a separate table. It looks like xcert represents one kind of entity, uniquely identified by certno. I assume there is some other kind of entity, uniquely identified by checkno, and that you have a table for that which you haven't needed to show in this thread.
    Are you saying that there's some other entity, that is uniquely identified by checkseq? If so, it probably needs a table of it's own.
    Every table should have a primary key. I had assumed that checkseq only served as the primary key of the xcheck table. If it serves some other purpose, then yes, you would need another column.
    Many-to-many relationships usually require a separate table. I was guessing that xcheck was intended to record a many-to-many realtionship between xcert and some other table. Guessing is not always the best way to solve problems. I think it would be better if you explained what you want to do, rather than have me guess at it.
    So far, what you've shown is analagous to an order entry system. One kind of entity is customer, another is supplier. Say you're running a company that sells products from many suppliers to many customers. There is a many-to-many relationship between customers and suppliers. Any customer may buy from many suppliers; any supllier may sell to many cutomers. You may have an orders table that keeps track of that many-to-many relationship. You may also have another entity, salesman, that also has many-to-many relationships with customers and suppliers. Depending on what exactly you consider an "order", there are lots of different ways to model this. Can a single order involve many customers? Can a single order involve many suppliers? Can a single order involve many salesmen? If an order always involves one customer buying from one supplier using one salesman, then you may only need four tables. If the situation is more complicated, then you may need more tables.

  • How to get a pdf document out of a Document form

    Hi all,
    I have a question of how to get the actual PDF out of a Document Form, when I take the @document value I only get some xml representation of the form, but I need to get the actual PDF.
    Thanks in advance
    Sincerely
    Kim

    The @document is the way to get the PDF out from the DocumentForm varibale. If you get just the data, it's because the DocumentForm was populated with just the data in the first place.
    Make sure you submit PDF from your form and not just the data.
    Jasmin

  • How to get the attribute values out?

    Hi everyone,
    <root>
    <category name="Mens Clothing" id="0">
    <subcategory>Active/Baselayer Tops</subcategory>
    <subcategory>Active/Baselayer
    Bottoms</subcategory>
    </category>
    <category name="Womens Clothing" id="1">
    <subcategory>aaa</subcategory>
    <subcategory>bbb</subcategory>
    </category>
    </root>
    How to get the attribute values out? For example "Mens
    Clothing" and "Womens Clothing".
    // the line below returns "Active/Baselayer Tops" and
    "Active/Baselayer Bottoms"
    var myXml:XML = new XML(event.result);
    Thanks,
    May

    Here is attribute identifier operator from FB Help:
    @ attribute identifier Operator
    Usage myXML.@attributeName
    Identifies attributes of an XML or XMLList object. For
    example, myXML.@id identifies attributes named id for the myXML XML
    object. You can also use the following syntax to access attributes:
    myXML.attribute("id"), myXML["@id"], and myXML.@["id"]. The syntax
    myXML.@id is recommended. To return an XMLList object of all
    attribute names, use @*. To return an attribute with a name that
    matches an ActionScript reserved word, use the attribute() method
    instead of the @ operator.
    Operands attributeName:* — The name of the attribute.
    Example
    How to use examples
    The first example shows how to use the @ (at sign) operator
    to identify an attribute of an element:
    var myXML:XML =
    <item id = "42">
    <catalogName>Presta tube</catalogName>
    <price>3.99</price>
    </item>;
    trace(myXML.@id); // 42The next example returns all attribute
    names:
    var xml:XML =<example id='123' color='blue'/>
    var xml2:XMLList = xml.@*;
    trace(xml2 is XMLList); // true
    trace(xml2.length()); // 2
    for (var i:int = 0; i < xml2.length(); i++)
    trace(typeof(xml2
    )); // xml
    trace(xml2.nodeKind()); // attribute
    trace(xml2
    .name()); // id and color
    } The next example returns an attribute with a name that
    matches a reserved word in ActionScript. You cannot use the syntax
    xml.@class (since class is a reserved word in ActionScript). You
    need to use the syntax xml.attribute("class"):
    var xml:XML = <example class='123'/>
    trace(xml.attribute("class"));

  • HOW CAN GET BACK MY TEXT MSG & PICTURES DELETED

    HOW CAN GET BACK MY TEXT MSG & PICTURES DELETED I REALY NEED 

    lilsimms1228 wrote:
    How can I get an overview of old text messages and phone call [personal detail removed]
    If you are the account owner, you can access the last year of calls records and the last three months of message summary (date, time, number texted, there is no where to see the text context) through your online account. Click on the HOME Tab once logged in and choose PRINT BILLS and then click on the pull down menu to choose any invoice for the last twelve months to view.

  • How to get PO header text in PO list

    Hi All,
    Please let me know how to get PO header text in PO list.
    Thanks,
    Ama

    Check this link for answer
    PO Header Text

  • How to get the Arabic text to speech on N8 ?

    How to get the Arabic text to speech on N8 ?

    Unfortunately it is not currently an available option:http://www.nokia.com/global/support/text-to-speech-s60-32-downloads/
    Happy to have helped forum with a Support Ratio = 42.5

  • Could anyone please tell me how to get my cd/disc out. thanks

    could anyone please tell me how to get my disc/cd out of my desk top? thanks

    CD/DVD - Eject Stuck
    CD/DVD - Eject Stuck (2)
    CD/DVD - Eject Stuck (3)
    CD/DVD - Eject Stuck (4)
    CD/DVD - Eject Stuck (5)

  • How to get sum of quantity column in table control

    Hi, expert ,
    Someone can guide me how to get som of qty column in table control ?
    I created a screen with a table control  and has a  qty quantity field .
    I want to show total of qty  in a  field .
    my code like this ...
    PROCESS AFTER INPUT.
      LOOP AT I_tab.
        CHAIN.
           FIELD I_tab-COUNTQTY MODULE  caculate_total_qty .
        endchain.
        MODULE UPDATE_TOTAL_QTY  .
      ENDLOOP.
    but, when I Back to the previous screen
    It's caculate again so I always get wrong Total quantity .
    anyone can help me ...

    Hi , Dhina
    I have another question .
    I use internal table data in table control to update  database table .
    The data in the db will be change ,
    but each record I want to delete in table control , it's still exist in database .
    my code is
    WHEN 'SAVE'
         MODIFY YDSGBT53 FROM TABLE I_YDSGBT53 .
         COMMIT WORK .
      END CASE
    How  to fix my code and let it can change and delete data in database  ?
    or
    when I delete record  in table control I must to delete data in the database too .
    Edited by: TitusFang on Jun 16, 2011 3:21 AM

  • How to get key and text value of field "TNDRST" in VTTK from R/3 into BI

    There is one field call "TNDRST(Tender Status)" in SAP table VTTK in R/3. We can find  key value, but we are unable to find text for this field in VTTK. However we can see text value if we double click domain:TNDRST and go to value range.
    Questions, how to get key value and text of TNDRST together in BI. Do we need to create a master data source for TNDRST text information in R/3 and extracting into BI, if yes, how to? Are there any easy way to do it??
    Thanks,
    Sudree

    Hi Sudree,
    You need to create a generic Text Datasource to extract this information into BI System.
    1. Create a generic DS based on Table: DD07T
    2. The fields should be put in the extract structure.
              DOMNAME (Make this as Selection in the DS ) -
    Filter the Domain Name
              DOMVALUE_L -
    Key Value of Tender Status
              DDTEXT -
    Text / Description
              DDLANGUAGE -
    Language
    3. DD07T is the table with all the Domain names & their values, so in the Infopackage enter the Selection Value for DOMNAME as 'TNDRST' and then run it.
    Or you can create a view out of this table based on DOMNAME filter as 'TNDRST'.
    Regards,
    Chathia.

  • How to get the standard texts available in a smartforms

    Hi Experts,
        How can we find out the standard texts that are exist in a particular smartform . is there any table/function module available to get those standard texts? I am finding the table STXFTXT, from that I am getting only textline. But I need the standard text names that are used in a smartform.
    Thanks & Regards,
    Suresh

    hi,
    1,Use SO10 Tcode to write standard text in Smartform.
    2.For long text
    method1
    Create TEXT node- general attributes change text type to include text
    then you can input text name/text object/text id/language
    method2
    create PROGRAM LINE node - use FM READ_TEXT to read it to a internal table
    then use LOOP or TABLE node to display it
    For TEXT module(For foreign language)
    Tr-code:smartforms -- choose Text module(not choose form)--create a text module object
    then enter smartform Create TEXT node- general attributes change text type to text module
    input the text module name which created by above
    3.
    1. take function module name of the smartform.
    2. goto se37 and type that fm name.
    3. goto attributes tab
    4. double click on either program or include .
    5. There u can find all the subroutines used inside smartform.
    6. search for "perform %move using %textkey-name".
    4.Standard Texts are created in SO10 Tcode and stored in STXH table with OBject ,ID and NAME parameters. We can use Read_Text FM to read the text.
    check the tables STXH & STXL.
    5.
    How to CAll Standard Text in Smart Forms
    In SFs you can insert the standard tests using the TEXT node. Create a TEXT NODE. Then in the GENERAL ATTRIBUTES of this TEXT node select INCLUDE TEXT in the TYPE option. Then you have to enter the text name, object , ID and language in the provided fields. Then if you dont want any error if there is no text in the corresponding text then CHECK the check box "No errors if no text available.

  • How to get Material long text / Sales Text

    Hi,
    when I have created a service order I have enter Long text in Tab Item Details , i.e in sales Text I have entered some text , So can any one tell me how to get this text as I have to show this text in invoice printing
    Thanks
    Bobby

    600101202274700000001
    For a Particular Text name Of Item Level operations
    1st 3 character denotes client id in this case 600 +
    2nd 10 character denotes AFKO-AUFPL with respect to the production order  in this case
    1012022747 +
    last 8 character denotes the operation line item numebr

Maybe you are looking for

  • No Audio On YouTube Videos

    So, I got the problem I had fixed and now when I go to YouTube to watch a video the video plays, but there's no audio.

  • Error 413 Header Too Large

    I have recently purchased the product and tried downloading it on my Macbook Pro. It will not let me get into the site and redirects me to a message stating "Error: 413 Header Too Large" I tried deleting cookies and history browsing and hasn't helped

  • Restrict use of decryption tools

    I use the obfuscation package like so: dbms_obfuscation_toolkit.DESEncrypt( input_string => pw_in, key_string => 'keyword', encrypted_string => pw_out); to encrypt user passwords that are stored in a custom table. When I need to determine a user's pa

  • Magic mouse errors gesture

    Hi all, I've bought the new magic mouse, thinking that it will be probably more efficient than the mighty mouse. I really like the mighty mouse but i needed to change several times because of the ball which was out of order quite fast. ( i must have

  • Video cut off while rendering

    while rendering game play my videos are cut off at the bottom as you can see the mini map and ammo counters are cut off aswell as part of the chat and kill feed