How do I modify the test of an enumeration programmatically?

Hi everyone,
I have an application with 8 scopes on it and the data displayed on the scope is selected by a drop down menu which is an enum control that is a typedef.  Since this application interfaces with different hardware, I need to be able to change the text in the menus (that is, the data items being displayed) programattically.  How can I do this?  I don't necessarily need to change the basic enumeration data typedef, but I do need to be able to change the text items within the instance, and I need to be able to do so by index - that is, if there are 10 items in the typedef enum, I need to be able to modify the 3rd one, for example.  Also, I may need to add some or remove some.  Any ideas?
Thanks,
Jason

You can't change the values of an enum while the VI is running or waiting to run, so if that's what you want, you should probably use a ring instead of an enum. Then you can use the Strings[] property to extract the array, replace the nth element and rewrite the property.
Try to take over the world!

Similar Messages

  • How can we modify the distination url while migrate the personalization

    Hi All,
    I got the requirement to create a link in iSupplier home page. I have created the link using oa framework personalization and set the destination URL with the third party's test instance URL. It is available in test instance and the third party url is also the test instance url . I have to move this personalization to production. In production the same link has to open the third party's prod instance only. But i am little bit confused, how can we modify the detsination url in the personalizaed the document.
    Please suggest me if there is any generic way of modifying the link url while migrating the personalization from one instance to another instance.
    Thanks in Advance..
    Regards,
    Purushoth

    Hi,
    ---Its nt possible via personalization go for co extension
    Im not sure but pls try with below approach.
    ---In co get the webBean of OALinkBean and setDestination URL in code.
    if(Prod)
    setdestinationURL("");
    if(Testing)
    setDestinationURL("");
    Regards
    Meher Irk

  • How should i modify the hp54600a instrument driver for GPIB so i can use it for RS232 interface ?

    I try to modify the hp54600a instrument driver for GPIB, so i can use it with RS232. But somehow it didnt work. When i try to run the initilize it, the prgoram show VISA read error (time is up before the process is finish). How should I modify the VI so I can use it with RS232 interface ?

    First, check the instrument's user manual to see if the GPIB and serial command sets are the same. Also check to see what EOS(End of String) characters the instrument requires. Then, do a loopback test to test communication in LabVIEW.
    Search Results: Serial Loopback Test
    Ray K
    NI Applications EngineerMessage Edited by Molly K on 02-18-2005 10:57 PM

  • How do you modify the web.xml to lock down the pages from a user role

    how do you modify the web.xml to lock down the pages from a user role

    I'll make a stab at your question:
    The following is an example of where a URL is protected within a web.xml deployment descriptor. In this example, the URL /protectedA within the application is protected:
    <!-- security constraints -->
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>protectedA</web-resource-name>
    <url-pattern>/protectedA</url-pattern>
    </web-resource-collection>
    <!-- authorization -->
    <auth-constraint>
    <role-name>sr_developer</role-name>
    </auth-constraint>
    </security-constraint>
    Sun's explaination here:
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security4.html

  • How do you modify the default Execute thread count in Weblogic Server 9.2?

    How do you modify the default Execute thread count in Weblogic Server 9.2?
    How can you tune the starting number of weblogic.ExecuteThread on server startup and/or set minimum number?
    Is there an option from the console?
    Please let me know.
    Thanks

    Self tuning will automatically manage the threads but however you can still control the min and max by adding the min and max values for each instance either directly adding in config.xml or through JVM settings
    1) Modifying the config.xml
    Just add the following line(s) to each server definition :
    <server>
    <name>AdminServer</name>
    <self-tuning-thread-pool-size-min>100</self-tuning-thread-pool-size-min>
    <self-tuning-thread-pool-size-max>200</self-tuning-thread-pool-size-max>
    </server>
    2) Adding some JVM parameters
    It's safer the following way :
    add the following option in your command line : -Dweblogic.threadpool.MinPoolSize=100
    Regards
    RR

  • In iMovie, how do you modify the duration of all the clips at once?

    In iMovie, using Mavericks O/S, how do you modify the duration of all the clips at once?

    To set the duration of any clips to be added in the future select the project then "Settings" above the viewer.    Adjust the slider to the right of "Clips" to the desired duration.
    To change clips already in the timeline, select all of the ones you want to change (so they have a yellow border), click on "Adjust" then click the info button (i in a circle).  You will see "Duration:"  Set the time in seconds and press return.
    Geoff.

  • How can we modify the maximum no. of columns in pivot table ?

    hi all,
    How can we modify the maximum no. of columns in pivot table ?
    do i need to change the nqconfig.ini or instanceconfig file or else?
    thnx..

    A little search on the forum :
    In the instanceconfig.xml add a <PivotView> element under <ServerInstance> if one does
    not exist already.
    Within the <PivotView> element add an entry that looks like:
    <MaxCells>nnnnnn</MaxCells>
    where nnnnnn is your desired limit for the maximum total number of cells allowed
    in a pivot.
    Warning: an excessively large number will cause more memory consumption and
    slower browser performance.The details here :
    Oracle BI EE (10.1.3.2): Maximum total number of cells in Pivot Table excee

  • How can you modify the displayed columns on a Related Information List?

    How can you modify the displayed columns on a Related Information List? For example, how could you add the "Type" column to the List of columns displayed for Service Requests when you are viewing the Contacts Detail page?
    Thanks

    I'd have to say I think this is one of the biggest flaws in the OnDemand system currently. The solution I have come up with is to create reports and put them in webapplets showing the data I want to show. I have then removed the standard Related Info List Objects and added weblinks to create new records as the button on the List object is also gone.
    Keep in mind that doing this does slow things down a little, so it may not work if you have a big user base.
    RWB.

  • Qosmio X500-15F - How can I modify the DPI?

    Hello
    With Qosmio X500-15F and graphic card NVIDIA GeForce GTX 460M
    I'm using a professional software for jewelry building (Matrix 6.0 based on Rhinoceros 3D 4.0 SR9). When starting it, the software is asking me to set the DPI to normal.
    How can I modify the DPI? I already tried different resolution settings. It doesn't change the problem.
    Thanks for help

    DPI is how many pixels per inch of the LCD. You can't change that.
    I think the software needs a specific resolution or LCD size. Try lowering the resolution to 1280x800 or try an external monitor.

  • When I logon for XP, if I am no actively doing something for several minutes I am logoff and must reenter my logon again. How can I modify the time it stays active?

    When I first logon to windows xp if I am not actively doing something minutes I am logoff and must re-enter my ogon again. How can I modify the length of time that it stays active?

    You can find that in control panel

  • How do i modify the language on pages, i need to be able to write both in english and in spanish.

    how do i modify the language on pages??

    You tell Pages what language the text is by selecting it and applying:
    Inspector > Text > More > Language > Espagñol
    Language is like bold or underlined or ALL CAPS, it is part of the text's style. In fact making it part of a style in the Styles Drawer is a quick way of applying it.
    The default language is whatever you have set the System to.
    Peter

  • How do I modify the image size on OXO template HP

    the temporary site is "http://printtest2.businesscatalyst.com/"
    this is regarding what appears to be a "catalogue" presented on the homepage of the OXO template site. I want to modify the size of the images but can't find where the code is kept.
    When I'm in "design view" it looks like the content is being called by // {module_webapps,13325,a,}
    and when in "code view" it looks like its called by // {module_productfeaturelist,last,2,Default,,,true}
    Where can I view these pieces of code, or the module screens, and how do I modify the attributes?
    Is the {module_productfeaturelist,last,2,Default,,,true}, embedded in the {module_webapps,13325,a,} and if so, where can I go to see that?
    Thanks very much.
    Scott.

    something is changing the file size (dimensions), the actual dimensions are smaller than what is displayed.
    Can I modify the css through the BC admin interface, if so, where?
    I know this is newbie stuff, but I gotta start somewhere.
    Thanks.
    Scott.

  • How can I modify the domain of a comment server?

    Acrobat 9 in Windows 7
    Besides editing the registry, how can I modify the URL for a comment server that I've been using for reviews?
    I earlier initiated a shared review but used only the hostname of the server, not the fully qualified name (FQN) that includes the full domain name. Now, when I reuse that server for other reviews that I initiate, I'm stuck with the unqualified name. Folks outside of my subnet can't publish comments to the server because the simple hostname isn't known on their subnet.
    How can I change the properties of that server so future reviews use the FQN?
    Jerry

    You can't edit the server profile through UI.
    The only way available through Acrobat UI is to first delete the earlier server profile and then re-create it again from the Shared Review Initiation Dialog.
    For deleting the profile, Go to  "Edit menu-> Preferences->Tracker" and from the 'Remove Custome Server Locations' section choose the server profile which you want to delete and click on Remove Server Profile.
    -Priyanka

  • How can i modify the check constraint   in the table

    How can i modify the check constraint in the table. This table containts check constraint, condition is code_value between 1 and 4. codevalue is column name.
    Please suggest me.

    Go to tahiti.oracle.com, pick version browse reference manual and see the alter table statement
    Also read the goal of this forum.
    Your question is more appropriate to Database general forum
    General Database Discussions
    Gints Plivna
    http://www.gplivna.eu

  • How can I modify the High Speed Data Reader VI to show correct time informatio​n in x-axis?

    I am just a beginner learning the LabVIEW programming currently.
    I have a PXI 6115 DAQ card and have to make a hardware timed acquisition VI for maximum performance. Thus I use the High Speed Data Logger VI for data acquisition.
    However, when I read my data by using the High Speed Data Reader VI, it doesn't show its correct time information in the graph.
    How can I modify the High Speed Data Reader VI to show correct time information in x-axis?
    I hope you can explain easily because I am a beginner.

    Hey Chunrok,
    I've modified the High Speed Data Reader VI slightly so that it now uses the scan rate of the data (as determined from the file) to set the scaling for the data points. If you wanted the start time to be a specific time you could use the start time obtained from your file to set the xscale offset as well.
    I hope this helps!
    Sarah Miracle
    National Instruments
    Attachments:
    Example.vi ‏281 KB

Maybe you are looking for

  • New iPod Shuffle Problem

    Hi guys, I guess this is not really a problem maybe i'm just being paranoid. When i first plug in the shuffle and dock, itunes opens and i realize while i was setting up, a removable drive icon appears on my desktop with my name and a underscore afte

  • Right click image in Bridge CS3 will not open images in Photoshop

    Hi, New to Bridge here. I have a problem where I can double click an image (jpg, cr2, tiff, it does not matter what type) or right click + open or right click + open with Photoshop but Photoshop will not start. For jpgs, if I right click + open with

  • T400 Optical drive question ?

    Hello, My company gave me a new T400 laptop, and it's great. I have one question , does the optical drive support DVD9 (read and write ) and does it support blu ray ? Thanks

  • VS 2010 and sql server support

    Hi, I'm currently using VS 2010 10.0.40219.1,Framework 4.5.50938 SP1  Is the above is supported with sql servers versions of 2012, 2014. What if i switch to  VS2012, will it support sql server 2008, 2008 R2. Pleas share your inputs Thanks

  • CRM and RE-Fx Integration

    HI all, imin need of some inputs where in how can i integrate CRM to RE-Fx objects im mysap erp 6.0 your suggestion in this regard will very useful for me for which i will be soo thankful. suresh s