How to create a numeric control (of any type) that can ONLY be increased or decreased by one 'unit' at a time?

As in the title.  I wish to create a numeric control (no current limitations on its type) with a range of 1-10 (and a step of 1).  The only difficulty I'm having is that the user must only be able to increase or decrease it by 1 at any time.  The code initiated by this value change must have completed at least once before the value can be changed again.  This is because the VI's code is mostly contained in a while loop, and the control is read once every iteration and its last value must not differ by more than 1.
Is this possible with LabVIEW 6.1 and if so, how?
One of the solutions I've come up with so far is to disable the control immediately after it's read, and to enable it again immediately before it's read for the next time (I have to assume that the user is unable to click twice before the control is disabled).  Is this an acceptable method or is there a better way?
I also had an idea of partially disabling a normal numeric control such that it could not be typed in - only the arrows remained operational.  However, i don't know quite how to do this.
James
Never say "Oops." Always say "Ah, interesting!"
Solved!
Go to Solution.

Yes, i realize my solution needs the idea that followed it to be feasable in order to work properly.  My bad!
I did wonder about using a combination like that, but I hoped it could all be done with one object.  Ah well - just means adding an extra little bit of code.  No probs.
Thank you anyway.
Never say "Oops." Always say "Ah, interesting!"

Similar Messages

  • How to create an Apple ID with a password that can't be retrieved or changed by user?

    Wondered if anyone knew if it's possible to create a hidden Apple ID where the password cannot be changed or retrieved on an iPhone?
    Thanks so much!

    You cannot retrieve the Apple ID password on an iPhone, unless it's saved into a Note or something.  Nowhere on an iPhone can you see the Apple ID password.  Only exception to this is (possibly) if you've logged into an Apple website with your Apple ID via Safari, and Safari saves the password, if you request it, and you can look at the saved passwords in Settings > Safari.

  • The computer that I had my iphone apps synced to has died and I don't know how to get access to my apps on the new computer. I'm using a Windows pc. I understand that I can only have my apps synced to one computer at a time, but the former pc is dead.

    My HP Touchsmart died the other day. My husband works on computers as a hobby and was able to get me up and running on a Dell laptop in no time. I have an iPhone 4s and had all my apps on itunes on my HP. I understand that you can only have your iPhone apps synced to one computer at a time, but what do you do when the computer containing all your info is in unusable condition? I have tried deauthorizing all the computers associated with my account, that did not work. I had this problem once before and finally ( after much blood sweat and tears ) was able to deauthorize the old computer, but it was in working order. Two of the computers that are listed under the iTunes Wi-Fi Sync setting are no longer in use, the HP had my apps synced to it and the other had everything else except my photos, which are on a third computer that is still in use. Please forgive for information overload but am trying to give all the info that I think could be relevant. Your help would be appreciated so much!
    Sincerely,
    PiPI

    Re: That garbage is unreadable.
    If you really want help, stop messing with the fonts and post so that others can read and offer suggestions.
    Or better yet... try a search, I'm certain you'll find a solution to whatever issue you're experiencing.
    I have found that many times it is the things that make you most angry that push you to action. This was the case here. Thank you for causing me to get so angry that I found the answer myself.

  • How to create a table control in Business HTML??

    Hi All,
    I dont have much knowledge about Business HTML. Can anyone tell me how to create a table control. The requirement is to accept two fields from user and then on click of a button get these values populated on a table control. Can u pls help me out on this??
    Also to create the table, I tried using SAPTemplateTableBegin()functions, but using these functions gives me an error. Is the because the standard SAP template files does not exist or what??

    Hi Raja,
    My first approach was the same as u said but the issue is when i try to generate a template i.e. (system generated template), the generated template uses standard TemplateLibraryDHTML.html functions like `SAP_TemplateHeader()`
    `SAP_BodyContentBegin()`
    `SAP_FormBegin()`
    The above all is not supported in our client's ITS and so we have to manually create a table control using the step loop functions in DHTML and correspondingly FIELD-SET in ABAP.
    We could successfully do this but as i mentioned in my previous message, we still have to make the table entries editable and refresh the internal table when the values in the table are changed.
    Pls help!!
    Rgds,
    Swapna.

  • How to create Dynamic Table Control

    Hi
    How to create Dynamic Table control , The field names and values to be displayed in table control are to be fetched from Add-on Tables.
    Regards
    Prasath

    Hi Jonathan,
    Actually the columns to be displayed are not constant . It will be increased based on the database values, Anyhow it will not exceed 100.
    Please confirm my understanding.
    1. In this case I have to create 100 custom columns and make it visible / invisible based on my requirement and I can set the title at runtime.
    2. How can i assosicate / reassociate the datadictionary reference for the columns that i use. Because I need to show the search help values for the
    dynamic columns.
    Your opinion on this will be helpful.
    Regards
    Prasath

  • How to create the composite control with textinput,button and grid.

    I have created the application having two Textinput  and three button and a DataGrid.
    1. on click of first button next to "select a value" , a DataGrid will be open.
    and i am using all the functionality of DataGrid.
    2. now by using all of these control i have required to create single composite control.
    plz help me how to create this composite control.

    Right click the graph and select Create>Property Node. On the diagram, find the property node, right click it and first select Change All to Write. Right click again and if you select Properties, you will see a list of all the available properties for the graph. The properties you want are XScale.Minimum, XScale.Maximum, XScale.Increment, YScale.Minimum, YScaleMaximum, and YScale.Increment. You can grow the single property node to have as many properties that you want. Once you have all the properties created, create front panel controls and wire them to the property node. See the attached picture.
    Attachments:
    graph_properties.jpg ‏16 KB

  • How to create tables for control data

    HI
    How to create  tables for controls of types of data (screen control)? what is the process for this
    Regards,
    Anil

    Well, do you want to do it the easy way?  If so, then just create a table maintenance program.  You can do this via SE11, utilites, table maintenance generator. The table maintenance will be generated and you can then maintain the table via SM30. 
    If you want to go the more challenging way, you can write your own table maintenance program using a table control on your screen.  You can use the table control wizard to help you along.
    Regards,
    Rich Heilman

  • How to create a report in Form line Style and can display Image field?

    Hi,
    In Report builder 10g, I would like to create a Report with Form Line Style and this report included a Image field.
    I can choose this Style only when Select Report type is Paper Layout. Because, If I choose Create both Web & Paper Layout or Create Web Layout only then in the next Style tab 03 option Form, Form letter and Mailing Label be Disabled.
    But in Paper Layout, my report can not display Image field.
    I tried with Web layout and all the other Styles (Except 03 mentioned be Disabled) then all Styles are displayed Imager field OK.
    How to create a report in Form line Style and can display Image field?
    I was change File Format property of my Image field from text to Image already in Property Inspector. But report only showed MM for my Image field.
    Thanks & regards,
    BACH
    Message was edited by:
    bachnp

    Here you go..Just follow these steps blindly and you are done.
    1) Create a year prompt with presentation variable as pv_year
    2) Create a report say Mid report with year column selected 3 times
    - Put a filter of pv_year presentation variable on first year column with a default value say @{pv_year}{2008}
    - Rename the second time column say YEAR+1 and change the fx to CAST(TIME_DIM."YEAR" AS INT)+1
    - Rename the second time column say YEAR-1 and change the fx to CAST(TIME_DIM."YEAR" AS INT)-1
    Now when you will run Mid Report, this will give you a records with value as 2008 2009 2007
    3) Create your main report with criteria as Year and Measure col
    - Change the fx for year column as CAST(TIME_DIM."YEAR" AS INT)
    - Now put a filter on year column with Filter based on results of another request and select these:
    Relationship = greater than or equal to any
    Saved Request = Browse Mid Report
    Use values in Column = YEAR-1
    - Again,put a filter on year column with Filter based on results of another request and select these:
    Relationship = less than or equal to any
    Saved Request = Browse Mid Report (incase it doesn't allow you to select then select any other request first and then select Mid Report)
    Use values in Column = YEAR+1
    This will select Year > = 2007 AND Year < = 2009. Hence the results will be for year 2007,2008,2009
    This will 100% work...
    http://i56.tinypic.com/wqosgw.jpg
    Cheers

  • How to create a macro for a planning type in MC8b transaction

    Hi,
    I am presently working for a product allocation demand, which have a information structiure with characteristic and key field.
    the characteristic are production allocation quantity, incoming order quantity, and open order quantity.
    i have created a planning type in which the data updation takes from the excel file to the planning type in mc95.
    but i need to create a macro for this planning type .
    can any body give the details information how to create a Macro for a planning type.
    Thanks and regards
    GopalKrishna

    Dear Gopal
    May be the link would be helpful to you.
    [Planning Types and Macros|http://help.sap.com/saphelp_46c/helpdata/en/a5/631cc443a211d189410000e829fbbd/frameset.htm]
    Drill down the left tab once you opened the link, for more information.
    Thanks
    G. Lakshmipathi

  • How to Create and Test a Zone of Type F1-APP-URL

    Hi,
    I would like to how to create and test a Zone of Type F1-APP-URL?
    What all is required to setup an ADF application based URL in F1-APP-URL, what to configure and what are the basics or definite steps required to have a Zone of Type F1-APP-URL up and running in the application? Any Sample ADF components to be created?
    Please kindly let me know. Any test or dummy URL existing already which is based on ADF?

    Refer to Doc. Id 1515146.1 on the support site. Although for the moment it refers to a MWM example and may not be much of a help but it'd give a basic idea as to how it should be done.

  • Whenever I open a file of any type, that file will open, as well as multiple other files I do not wish to open.  How do I prevent this from happening.

    Whenever I try to open a file of any type, that file will open, as well as several other files I do not wish to open.  How do I prevent this from happening?

    Dealing With The Resume Feature of Lion
    Managing Mac OS X Lion's application resume feature.
    If you shutdown your computer you should get a dialog asking if you want applications to resume on the next startup. Simply uncheck the box to prevent that from occurring. Open General preferences and uncheck the option to Restore windows when quitting and re-opening apps. You can also install a third-party utility to control resume features on individual applications: RestoreMeNot or Application State Cleaner.
    It is possible to completely stop the Resume feature although I'm unconvinced that it is that annoying. Nevertheless see the following:
    If you have not yet done so you must first make your /Home/Library/ folder visible. Open the Terminal application in the Utilities folder. At the prompt paste the following command line:
    chflags nohidden ~/Library
    Press RETURN. Quit the Terminal application.
    In the Finder navigate to the /Home/Library/Saved Application State/ folder. Delete the contents of the folder. Back up to the /Home/Library/ folder. Select the Saved Application State folder. Press COMMAND-I to open the Get Info window. In the Sharing and Permissions panel at the bottom click on the lock icon and authenticate. Set each of the listed entries to Read Only. Close the Get Info window.
    Quit all open programs except the Finder (this is very important.) Next, navigate to the /Home/Library/Preferences/ByHost/ folder. Look for a .plist file with "com.apple.loginwindow." in the file name followed by some numbers in hexadecimal. Select the file. Press COMMAND-I to open the Get Info window and in the Sharing and Permissions panel click on the lock icon and authenticate. Set each of the listed entries to Read Only. Close the Get Info window. If you also find a file with the same filename but with a last extension of ".lockfile," then you should delete it.
    The above should eliminate the Resume feature system-wide. Note that any future system updates or upgrades will likely undo these changes. You will then need to repeat this procedure assuming there are no major changes in OS X related to it.

  • How to create a account key for application type M ?

    Hi Guys,
    How to create a account key for application type M ? and link the same with
    Gl account.
    thanks.

    Hi
    Please create the account keys or transaction keys in
    SPRO-> IMG-> MM-> Purchasing-> Conditions-> Define Price Determination Process-> Define Transaction/Event Keys
    Thanks & Regards
    Kishore

  • How do i create an itunes account that can only download free apps

    how do i create an itunes account that can only download free apps

    Follow the instructions here > Create an iTunes App Store account without a credit card

  • How to create a new user in OWB that can only view other user's mappings

    Hello Everyone,
    I am new to OWB and want to know if possible to create different users that can only view other user's mappings without making any changes. Do you know if possible each user can have his own password?
    Thank you for your help!
    Jennifer

    A good starting point would be this blog posting:
    https://blogs.oracle.com/warehousebuilder/entry/build_up_multi-role_development_environment_in_owb
    I seem to recall as well from the OWB Admin class that existing objects in the repository would need to have the security updated if the additional restricted roles are created after tables/mappings/etc. so that they reflect the new security model.
    Also, for individual logins to OWB, each developer would require a separate database login.

  • Is there any BAPI that can create assignment in workforce planning (CMP2)

    Hello,
    I want to implement a batch input program in order to create assignment in workforce planning. But the screen is not actually proper for batch input. Is there any Bapi that can create assignment for a given network, Operation/Activity, suboperation/Subactivity, personel Number and work hours.
    Thanks in advance.

    Hi Aselsan,
    Please have a look into the below link
    [Link 1|Re: BAPI to create network (T-code CJ21)]
    [Link 2|Example code for BAPI_NETWORK_MAINTAIN]
    [Link 3|BAPI_NETWORK_COMP_ADD]
    Hope they are useful,
    Thanks
    kalyan

Maybe you are looking for