Any way to limit the input format for string control?

Hi there,
  I need a control for the user to input some string with only alphabets and no special characters. Also need to control the number of characters to input. I search it and see someone use Xcontrol to achieve that but I really have no idea how to get that. Any other way to get this function works on string input?

prvs wrote:
Dear Altenbach,
The VI that you have posted in (Max8Discard.vi) in Limiting Input String Length
limits the entry of string control to required length but it doesnt limit the entry of special characters.
If you have any simple way to do the same it will be very helpful
Thanks in advance...!!!
Regards,
Praveen PRVS
Just change the check after the Lexical Class function.  If you just want numbers and letters, then use the In Range & Coerce function to check for class numbers 3 through 5.  Play around with the logic some more until you get what you need (I'm thinking that AND should be an OR).
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • Is there any way to change the default font for outgoing text-messages, in "Messages"? (OSX 10.10)

    Is there any way to change the default font for outgoing text-messages, in "Messages"?
    I can change it for one conversation, but then it resets to the default, tiny font.
    The preferences menu only lets me change the conversation font.
    (OSX 10.10)

    Hi,
    As you may remember there used to be a Messages pane to the Preferences where the Font and colour of the Balloons or background and the Font text colour could be changed.
    And there was a Format Menu for character, word and Sentence changes in the current IM or iMessage.
    Those have gone in Yosemite's version of Messages (Despite it retaining the designation of Messages 8 the same as Mavericks' version).
    All that can be done now is set the size of the font and this has been moved to the General Section of the Preferences.
    The Yosemite version has also been fixed to using the Balloons style of send and receiving any type of messages as well.
    Changing the Font would involved editing the Balloon.transcript file.
    10:34 pm      Saturday; December 13, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • *Is there any way to limit the Chart Bar size dynamically?*

    Hi
    I have selected the Marker size as Medium for my Bar chart.
    Bar chart bar showing too big when there is only one bar.
    Is there any way to limit the bar size dynamically?
    Thank you

    hi Ruwan,
    Don is correct in that there is no option in the chart design component to do this.
    what you can do though (i know it is a pain) is to
    1) create a new chart in a new section with a narrower bar using the chart options dialogue
    2) create a conditional suppression formula for the new section and the old chart section based on the value returned in the Show Value for the chart
    i have created a request for a charting overhaul [here |https://ideas.sap.com/community/products_and_solutions/crystalreports;jsessionid=B3E2E9F6A6CC9C9F5321659382A91855.node0]in the ideas place which includes a solution for this particular issue. please feel free to give it the thumbs up if you think that this is a worthwhile idea.
    jamie

  • Is there any way to limit the number of Threads running in Application(JVM)

    Hello all,
    is there any way to limit the number of Threads running in Application(JVM)?
    how to ensure that only 100 Threads are running in an Application?
    Thanks
    Mohamed Javeed

    You should definitely use a thread pool for this. You can specify maximum number of threads that can be run. Be note that the thread pool will only limit the number of threads that are submitted to it. So donot call "Thread"s start() method to start thread on your own. Submit it to the pool. To know more, study about executor service and thread pool creation. Actually it will not be more than 20 line code for a class and you might need maximum of 2 such classes, one for threadPool and other one for rejection handler (if you want).
    Just choose the queue used carefully, you just have to pass it as a parameter to the pool.
    You should use "Bounded" queue for limiting threads, but also be careful in using queues like SynchronizedQueue as the queue will execute immediately the threads submitted to it if maximum number of threads have not been running. Otherwise it will reject it and you should use rejection handler. So if your pool has a synchronized queue of size 100, if you submit 101th thread, it will be rejected and is not executed.
    If you want some kind of waiting mechanism, use something like LinkedBlockingQueue. What this will do is even if you want 100 threads, you can specify the queue's size to be 1000, so that you can submit 1000 threads, only 100 will run at a time and the remaining will wait in the queue. They will be executed when each thread already executing will complete. Rejection occurs only when the queue oveflows.

  • Any way to limit the amount of songs..

    Hi,
    I have an iPod mini and a nano and I'd like to use them both on the same system. I know the mini holds more songs than my 2gb nano so I was wondering if there was a way to limit the amount of songs that I can put into iTunes so I can have an equal amount of songs on both iPods, up to the 500 limit of the nano or would I just have to create seperate playlists? Thanks.

    Making a few Smart playlists can help you solve the problem.
    You can limit the number of songs, MB, GB etc. by checking 'limit to'.
    Hope this helps.
    M

  • Inspire T5400. Lost Volume Control. Any way to "hack" the input for the Volume Control?

    Hey. I've lost the volume control for my Inspire T5400. Is it possible in any way to "hack" it to make the volume on the loudest? I dont have to be able to lower the volume.. I'll just do that on my pc.
    Thanks
    SpiXe - And sorry for my english ^^,

    prvs wrote:
    Dear Altenbach,
    The VI that you have posted in (Max8Discard.vi) in Limiting Input String Length
    limits the entry of string control to required length but it doesnt limit the entry of special characters.
    If you have any simple way to do the same it will be very helpful
    Thanks in advance...!!!
    Regards,
    Praveen PRVS
    Just change the check after the Lexical Class function.  If you just want numbers and letters, then use the In Range & Coerce function to check for class numbers 3 through 5.  Play around with the logic some more until you get what you need (I'm thinking that AND should be an OR).
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Is there any way to limit the number of RFC calls from xMII to SAP R/3

    Hi All!
    I wanted to know whether the number of simultaneous RFC connections made from xMII to SAP R/3 system can be controlled in any way. Suppose we have a scenario wherein some million Sales Orders or Production Orders are to be updated in SAP R/3 from xMII in a short span of time. For all these updations to take place, multiple RFC calls will be established from xMII to SAP at the same time. This will increase the load on the SAP R/3 system and affect performance of the SAP R/3 system. Is there any check on xMII side to limit the number of RFC calls that can be made to SAP R/3 system?
    Regards
    Anupam

    Anupam,
    If you are using 11.5 just keep in mind that the JCO connection points to a single application server (based upon the SAP Server alias connection settings), but the traffic itself to make a BAPI request is effectively the same as any client user traffic.  There will obviously be limitations on performance and throughput, with network and server constraints added to the number and size of the R/3 requests, but there is no magic formula to plug-in because of all of these variables.
    If you are using 12.0 (or plan to migrate when it goes GA) then taking advantage of the JRA (java resource adapter) and the associated application server pooling that it offers on the NetWeaver side of things will greatly help you in the throughput capacity.
    If you have put some of your xMII application into either test or productive use and are running into issues then I would highly recommend entering the specifics into the customer / partner support portal so that they can help you through any associated problems.
    Regards,
    Jeremy Good

  • Is there any way to get the appStore link for my application

    Hi everyone , i am developing an app which has a feature of sharing its appstore link with the friends through mail,so that they can see my appplication in appstore and buy it directly on click of a button. For that i need to use the app store link of my application for sending it . is there any way to get that and using it dynamically in my app immediately after releasing it.

    Your best bet would be to create a web page of your own for the app. Design that page so that it uses 'META REFRESH' to redirect the visitor straight to the App Store link.
    That way you can hard-wire your own web page address into your app.
    This has the advantage that it can work well even before you've noticed that your app has arrived on the App Store. Create a real web page, describing the app and telling people to search for it in the App Store by name - then replace it with the auto-redirect page when you've discovered your application's App Store address.

  • Is there any way to limit the number of times that a PDF can be opened?

    I run a small publishing company and we want to provide exam copies of our books to professors.  At present our exam copies have the words EXAM COPY as a water mark on every page and we've also made the files so that they can't be printed or easily copied.  However, we'd like to also restrict these PDFs so that they can only be opened 5 times.  I've read about FileOpen but that approach seems a bit more complex than needed.  Is there any other way to restrict the number of times that a PDF file can be opened once it is downloaded?  Thanks in advance for any suggestions.

    DRM soltions like FileOpen are your best bet for PDFs. Others include Adobe's LiveCycle Rights Managment, LockLizard, Armjisoft PDF Security OwnerGuard, etc.
    They all work and are priced differently, but there's really nothing for what you want to do that is both simpler and secure.

  • Is there any way to limit the memory firefox can use?

    once firefox reaches about 150Mb of memory it starts locking up and even if I manage to close it through taskmanager it still does not release the memory it was using.Is there any way to set a limit on how much memory firefox can use and a way of making sure it releases it again when shut.I run a dual core 1.8Gb cpu 2 Gb of ram and Win xp Pro service pack 3

    See:
    * http://kb.mozillazine.org/browser.sessionstore.max_windows_undo
    * http://kb.mozillazine.org/browser.sessionstore.max_tabs_undo

  • HT201285 Any way to limit the contacts search by just one field (just first name or last name or note, etc.)?

    It is nice that the search includes all the fields mentioned, but what about when the results are 600 and I tried a few ways to filter it down unsuccessfully?
    It would be nice to limit the search to just certain fields too.

        Windchimes74, oh wow! That is a lot of usage in a short amount of time. We do have a great application called Family Base. You can restrict the amount of time/amount of usage that a particular device can be used. By doing this you can put a limit when Mom is online. Once the jetpack reaches that limit it will not allowed to be downloading anything else. This package is $5 a month for the whole account. It is an awesome feature that I myself use for many lines on my account.
    RobinD_VZW
    Follow us on twitter @VZWSupport

  • About limit the input characters in string with xcontrol

    Hi there,
      I follow one example online to deveope a xcontrol for string input but limiting the input characters only to uppercase A to Z. I have the main code shown as follow
    In the Key down event, I discard all input character with ascii code beyond [65, 90]. This seems to works but if I keep pressing down a forbidden key (e.g. %), it will show that key in the control. So how can I ban the input by long press on one key? Thanks.
    Solved!
    Go to Solution.

    Hi dragondriver,
    and while you're editing your VI you should use an InRangeAndCoerce function to replace two comparisons and a boolean function!
    You might even think about using "LexicalClass", but that requires additional comparisons too...
    #8000
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Is there a way to force the cursor into a string control when a vi is called

    In a .vi I'm wrighting I need to input a new serail number at the beginning of each run. Is there a way to force the cursor into the string control box every time the start screen returns? eliminating the need for the operator to move the mouse around and click.
    I would like to THANK all that have replied to my questions in the past. It has been a big help!
    Thanks
    TeBlues

    ah, problem solved.  what a community.
    Message Edited by Space_Flight on 11-20-2006 10:08 AM
    Attachments:
    keyfocus.jpg ‏83 KB

  • Is there any way to change the default folder for new finder windows...

    ...Or even set a different folder as the "home folder"?
    I am recovering from an incredibly messy archive and install which refused to allow me to save my old user accounts, instead moving them all into "Previous Systems". In my haste to get the machine working again I just dragged and dropped my old home folder into the /users/ directory and changed the "short name" of the new account to match it. IT worked, but now I have an incredibly irritating problem. That is now indeed my home folder, as appears in the sidebar of all finder windows, albeit under my new short name instead of my old one. All my documents in iWeb, Garageband, etc are working now and default to the new folder.
    However, Finder has not recognized this, and every time I open a new Finder window or anything like that it defaults to the home folder created by the reinstall, which is now locked to this account (so all the folders have a red no entry sign on them). I would very much like to tell Finder to ignore this now defunct folder and default to my actual home folder instead - is there a way to do this without actually moving or changing any folders? Like a preference setting somewhere? I know there's the "Advanced Options" pane in Leopard but I've been completely unable to find anything like it in Tiger

    Finder > Preferences > new Finder Window opens
    [Recover from renaming your Home folder|http://www.thexlab.com/faqs/renamehomerecovery.html]
    [My home folder and desktop are different than before|http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh1952.html]
    [Return to Default Desktop, Apparent Loss of Home Directory|http://support.apple.com/kb/TS1876]
    [ChangeShortName tool|http://www.danfrakes.com/ChangeShortName.html]
    Message was edited by: Limnos

  • We had our MAC book Pro stolen and we registered it with Apple. Is there any way to recover the serial number for police reports if the receipt does not have the serial number on it? Thx

    We had our Mac Book Pro stolen and have not been able to recover the serial number from our Best Buy receipt. We did register it with Apple during the set-up and downloaded music on it thru ITunes.  Any chance we can recover the serial number from somewhere?  Any details would be helpful.  Thank you!

    You can try going here, using the same AppleID you used on the machine:
    https://supportprofile.apple.com/
    You should see a list of all the devices registered to you

Maybe you are looking for

  • How to create a custom printing plate file

    Does anyone know how to do the following? It is for a We r memory keepers custom file. Create a new document in a custom size 6" x 8"The document should be a bitmapped PDF fileResolution should be at least 1200 dpiDesign custom artwork in the 6" x 8"

  • Itunes 11.0.2 won't sync iphone(iOS 6.1.2) or ipod(iOS 5.1.1)

    Since I upgraded to iTunes 11.0.2 I am not able to sync my music with my iPhone 4. At first I thought it was a bug in iOS 6.1.2, but today i tried to sync my iPod Touch (3º gen) with iOS 5.1.1 and it has the same problem. iTunes syncs my apps, but wh

  • Java 1.4.2 vs. J2SE 5.0

    I have an application (Maple 10) that requires Java 1.4.x. I keep my iBook G4 up-to-date and only very recently upgraded it by adding 1Gb ram. Maple 10 was running fine before I instaleed the 1Gb ram, but now it will not start-up. Maple tech support

  • Self registered guests on WLAN

    I'm attempting to get several slightly different types of public access web configured on a Cisco WLC 4404. the first type is a pre-registration service, whereby the user needs to go to reception or some other designated staff, who configures a user

  • Report List

    Hi All, Can anybody provide me a list of all Standard SAP reports available. Thanks, Reena