How can you get the index of an enum rather than the enumeration value?

IM new to labview and I'm trying to read the index of an enum object to the string value has the enum.

that is for example an enumeration of the values 1, 5, 10, 20 with markings 0,1,2,3 I want to take the index value to use in a code as a string.

in order to make the values of 0,1,2,3

Are there simple solutions?

See you soon,.

JimJamBot

It is already a number.

Try to use a "I32" or similar in the digital palette.

Ben

Tags: NI Software

Similar Questions

  • NOAE: How can I get the real value of FPS?

    I implement an external encoder as an After Effects plugin library. This requires a value for the encoding of the FPS as a float value.

    With the help of:

    ERR (suites. IOOutSuite4()-> AEGP_GetOutSpecFPS (mouthand fps));

    gives a completely ridiculous value (1964114, when the FPS publication is 29.97). How can I get the real value of FPS?

    Hello

    It seems that AEGP_GetOutSpecsFPS returns a value of type A_Fixed.  You can use the macro FIX_2_FLOAT() (defined in AE_Macros.h) to convert to a float value.

  • How do you get the numeric value of an image

    How do you get the numeric value of an image

    This in a small example

    var Red = ' \u00FF\u00D8\u00FF\u00E1\x05oExif\x00\x00MM\ '.



    Here is a link to a script open source that generates a string that represents the data of a file binary, especially useful to integrate a small image in a script or file patterns in a JSON structure, for example:

    Get the data from binary string

    HTH,

    Domestic-

  • How can I get a multiple scan of page rather than each page individually? Want D110, windows XP

    How can I get a multiple scan of page rather than each page individually?  Want D110, windows XP

    Hello

    To scan multiple pages into a single file, be sure to run the scan of the PC and not from the device:

    1. From the desktop, click the icon of 110 HP Envy.
    2. Under the Action of the scanner, click the Scan a Document link or the picture.
    3. In the left pane, select the Document file (the PDF icon) and click on scan...
    4. Use the Plus button to scan additional pages.
    5. When you have finished scanning the pages, click on the button Save to complete the analytical work.

    Kind regards

    Shlomi

  • How can I get the string value displayed on a digital control defined for the relative time.

    I have a digital potentiometer to display relative time in increments of 30 minutes.

    I want to record the value displayed on the control string.  Unfortunately, when I use the "convert to decimal string.vi" number, the resulting string is just the value in seconds.

    How can I get the value as a string? (for example 01:30 for an hour and thirty minutes)

    Thank you

    Sean

    Hi Sean.C!

    M_Peeker's suggestion is a good thing.  A stage that could clarify things is that you must set the % t <%H:%M> format string entry.

    < br / > Kristen:.

  • How can I get the text value of an element XML in MXML?

    Hello


    I have the following XML loaded into a variable of XML type:

    Properties of <>
    the RIMpro data collector Configuration < comment > < / comment >
    < key="server.pear.username"/ entry >
    < key = "enter server.apple.retry.times" > 5 < / entry >
    < Enter key = "rdc.proxy.host" > http://192.168.1.2:8080 < / Entry >

    /Properties >

    I can easily get the key attribute displayed in a DataGridColumn by setting the dataProvider my variable and the data in "@key" area  But I don't know how to get the text value in a second column...  Is it possible or do I have to change my XML to something like this:

    Properties of <>
    the RIMpro data collector Configuration < comment > < / comment >
    < key="server.pear.username"/ entry >
    < key = "enter server.apple.retry.times" value = "5" > < / entry > "
    < Enter key = "rdc.proxy.host" value ="
    http://192.168.1.2:8080"""> < / entry > "

    /Properties >

    Thanks in advance.


    Marc

    Yes, you'd better change your XML structure to fit the internal mechanisms of the DataGrid.

    As model dataField require each element of the grid line to have a named property to display, otherwise you will be forced to overcome this model to the custom help labelFunction for the particular column that will implement your custom actions on how to extract the appropriate data for this column of the grid line item. It will be much more complicated that just reorganize your xml structure.

  • How can I get the numeric value of a reference?

    I would like to get the numeric value of a reference.  If I look at any reference with a probe, I can see it has value, i.e. F280006B.  I would like to enter this value in a digital indicator for some troubleshooting I do. but running a Ref directly in a digital indicator introduced the code. Somehow the probe's work, it must be accessible. All advice out there?

    Type caster in U32.

    Lynn

  • How can you change the starting sequences oh Hp 6735 b, how can you get the Bios?

    I tried to install another version of my windows vista interprise, I couldn't because I could not find how to boot from the CD/DVD?

    I started the computer, pushed F1 there is no way to get the starting sequences...

    I need help here

    Hello

    When you turn on the computer, you must quickly look at the bottom of the screen.

    It should tell you right there what key press to enter the Bios/Setup

    Here is the information from HP on how to enter the Bios/Setup.

    "The Boot order in the system BIOS Setup.

    http://h10025.www1.HP.com/ewfrf/wc/document?DocName=c00364979&cc=us&destPage=document&LC=en&tmp_docname=c00364979

    The boot order configuration

    The boot order can be configured on the Advanced tab in the BIOS Setup menu. The procedure for changing the boot order may vary according to the model of the computer.
    NOTE: BIOS configurations vary depending on the computer. For more information on a specific computer, refer to the documentation provided with your computer or visit HP drivers and downloads page . The BIOS settings are usually listed in the Guide of Service and Maintenance.
    Follow the steps below to configure the order of boot on most computers.
    1. Turn on or restart the computer.
    2. While the display is clear, press the f10 key to enter in the settings menu of the BIOS.
      NOTE: the BIOS setting menu is accessible by pressing the "f2" or key f6 on some computers.

    3. Select the Advanced tab using the arrow keys left and right.
    4. Use top and down arrow keys to select the boot order .
    5. Follow the on-screen instructions to change the boot order.

    See you soon.

  • Hi, how can you get the latest OS for my not supported 13 '' Macbook Pro Snow Leopard?

    My MBP mid of 2009 was stationed for a while after some battery problems. After the age so I decided to solve the problem, but now I can't update to the latest OS El captain.

    Thank you

    You should be able to if you have the latest version of Snow Leopard. What version, specifically Mac OS X you have? i.e. 10.6.3.

  • How can I get the instant value of waveform

    Hello

    I have a generator of fishing into a waveform display.  I would like to be able to acquire the instantaneous amplitude (I mean the instantaneous amplitude, which is now generated - you might think this is the last value generated thus) generator of fishing and be able to display on the front panel (I also use the value of doing other calculations).  I tried several approaches and can't seem to get an instantaneous amplitude out of my wave form permanently.

    Thanks for any ideas or suggestions.

    Hello!

    You are just looking for the value of the most recent (or last) of a sinusoidal signal generator?

    Or am I misunderstanding the question?

  • How can you specify the default value for the undefined array elements

    According to aid LV, the tables have two default values, the normal default value and the default value for the undefined array elements.

    I assume that there must be a way to specify the default value for later, but I can't find it anywhere.  Any ideas?

    I know that you can drag the item out of the table container.  Change the default value on this scalar element.  Then drag the item in table tank.

  • How can I get Firefox by default in Unicode rather than Western?

    It's the same question as the thread unanswered, archived https://support.mozilla.org/en-US/questions/989012?fpa=1

    33.0 Firefox displays English instead of Japanese + English + mojibake. This should not matter if the web page is encoded in ShiftJIS, EUC, JIS gross (although this is rare), or UTF8. each of them should be easy to detect automatically.

    I can go to the view menu, character encoding, and then select Japanese, but this should not be necessary. I wouldn't teach the ordinary users.

    View - character encoding - the automatic detection is disabled, but even if I put it in Japanese it does not help. In theory even if it helped the Japanese it would not help Greek.

    If I understand correctly there used character encoding - universal - a view option, but that the option has been removed? WTF???????????????????????????????

    I read a few expert opinions that I should change the web server for... I'm not sure what I should change it, because looking at the page once again, that it seems he's already said Unicode... but anyway, I don't think that one of the largest companies of the Japan transport will allow a personal individual clients, more small scow and reprogram their web server.

    http://www.Sagawa-SGX.com/SGX/trackeng.asp?cat=AWB & enc = eng & AWB = 25903880-0

    Probably, this part has not helped but shouldn't be too hard:
    {body

     background-color:darkblue;
     font-family:Arial;
     font-size:12px;
     background: #ffffff;
    

    }

    This part should help, shouldn't it? :
    < meta http-equiv = "Content-Type" content = text/html"; charset = unicode ">"

    How do I configure detect automatically use information from the web page and to activate the automatic detection of web sites that do not say?

    charset = unicode is not a valid parameter value.
    This should be the charset = utf-8 for Firefox use Unicode.

  • How can you get the dirt on the keys of the keyboard wireless?

    The keys on my keyboard are dirty, and I know that before you wipe with the cloth won't cut it.  Any ideas on how to clean them without killing my keyboard?

    Thank you

    Dolores

    Use a cleanser.  Alcohol soft or similar.   Unplug the keyboard and cushioning a q-tip, rub gently on the keys.   Leave it a while, then reconnect the keyboard.

  • How can you get the screenshot on Windows 8?

    I wonder how to take a screenshot on Windows 8.

    Please help me!

    Hello

    As on all other versions of Windows, print screen will have a snapshot of your desktop, and Alt + PRTSCN will take a snapshot of your current active window. Of course, you can then paste it into a program like paint to go ahead and save it.

    Kind regards

    Patrick

  • How can you get the CSS rules disable?

    Hello

    There is a button to disable the CSS rules, but it is always grayed out?

    What I am doing wrong?

    Using Dreamweaver | Toggle CSS

Maybe you are looking for