How to scan for Delimiter?

Hi there,
My Vi is reading data from a bar code scanner. I would like to stop my while loop by reading the terminal string "/s" from the bar code that been scanned.
May I know to "scan" for the terminal string?
Thanks & Regards,
Norman

Hi Chris,
Thank you for your value reply.
When I add your solution to my vi it don't work well. Because I'm using Global variable to pass the data. Can help me to take a look of my vi and let me know where I can improve with?
To stop the while, I have try Match pattern, however it don't really work because it can't read the "/s" termial char.
I also tried Scan String For Token, it works however I not very sure whether it is the correct method to use or it is not?
Thank you in advance for the reply,
Best Regards,
Norman
Attachments:
Model_Read_Global.vi ‏10 KB
BarCode&Weight.vi ‏134 KB
BarCodeCtrl.ctl ‏7 KB

Similar Messages

  • How to scan for media

    how to scan for media

    how do i scan for media. I have media on my mac but everytime i try to open it using itunes it wont let me add it to the library. ive tried everything through itunes even converting it to mp3 and nothing happens. help please

  • How to scan for integers

    Hi, I'm trying to make a program that scans for multiples of tree. When the program is executed, you have to give the lower and upper limit and the program tells you how much multiples of tree are in the limit. I thought of making a loop where in the number is devided by tree, it can result as an integer or not, but how can i use the scanner to scan for integers??
    Greetings Jordy

    Hi, I'm trying to make a program that scans for
    multiples of tree. When the program is executed, you
    have to give the lower and upper limit and the
    program tells you how much multiples of tree are in
    the limit. I thought of making a loop where in the
    number is devided by tree, it can result as an
    integer or not, but how can i use the scanner to scan
    for integers??
    Greetings Jordy1. Are you talking about a tree or the number three?
    2. Why would you use Scanner to determine if a number is divisible by three? (Am I missing something).
    3. Loop through the range and use mod to determine if there is a remainder.

  • How to scan for Values (matching)

    Hi all,
    how is it possible to scan for value matchings with oracle nosql?
    e.g.:
    I have the following structure:
    Person / Smith / ZipCode
    Person / Elison / ZipCode
    and I want to retrieve all items in the database where the value of "ZipCode" equals a specific number or range.
    How is this possible (with java)?
    Thanks for your help,
    Mario

    Hi Mario,
    What I couldn't tell from your original post was whether the ZipCode is part of the key or the value. If it's part of the key, then what you can't do is wildcard any piece of the key before the Zip Code. For instance, you can't do a wildcard like this:
    /Person/*/90210/
    Nor can you do a range query like this:
    /Person/*/11111 -> /Person/*/22222
    In any case, whether the zip code is part of the key or the value, you will still have to retrieve the records and check the zip code in your own code.
    Charles

  • How to scan for the viruses while uploading a file

    Hi!!,
    I have an appliaction written in java wherein I take as an input .xls file.
    I want to have same facility for uploading other fils also, but I need to check
    for the viruses before I keep it on my server.
    Please suggest me how can I do this??

    How do you update the other fields of the database table?
    I assume your database table has some fields like Changed by , Changed On, Change time etc., in its definition.
    If you are making a direct table update, pass the SY-UNAME, SY-DATUM/SY-DATLO, SY-UZEIT/SY-TIMLO to the respective fields in your table along with the data modified. 
    Rgds
    Vijay

  • How do i hook up my wireless printer to my mac? it has no cd that came with it, i have no drive either, but i can't find any apps or figure out how to scan for it

    need help again, thank you much.

    That information should be included in the printer's documentation.
    The following Apple Support document may also be helpful: OS X Mavericks: Set up a printer

  • How to scan for files locked by Ransomware

    I am trying to clean up the file shares on our servers and reorganize them. About a year before I started, the company got hit with a ransomware virus and the previous people before me didn't seem to do a good job at recovering the files in the file shares. There are a lot of old files that are still encrypted and folders that have the decrypt instructions link. It's too late to recover those files so it is better to delete them since no one is using them anymore. Is there a way to check which files are still encrypted without clicking on each one to see if they work or not? 
    This topic first appeared in the Spiceworks Community

    Try EasyFind.

  • Help! How to check for virus on IBook G4

    Okay, I have been getting the multicolored swirly ciricle thing when I try to do anything online or though word on my Mac, it is significantly slower and has done this before. The tech support guy showed me how to scan for viruses and restore it after they were found. Can anyone help? Thanks.

    Welcome to the iBook Discussions!
    Since there have not been any viruses released in the wild that will infect a computer running Mac OS X, it's not a virus that is causing the trouble. If all you want to do is search for a virus, you can use ClamXav. But, we can be fairly certain this won't really clear-up your trouble. Is there any other troubleshooting you've tried? Have you used the Disk Utility (in your /Applications/Utilities/ folder) to "repair disk permissions"? Have you started up from your Mac OS X install disk and used the Disk Utility there to "repair disk"?
    -Doug

  • 50L2200U toshiba tv scanning for channels

    I followed the directions to scan for channels, and when I pressed the installation button, instead of bringing me to a screen that says "terrestrial" - it takes me to a screen that has a customer service number to call.  My toshiba is no longer under warranty, so they won't help me without me paying.  Does anyone know how to scan for channels- is it normal to have a screen with a phone number come up? What can I do? Thanks  It is a fairly new tv- 2012-2013.

    Hi cd-smiley,
    It does sound like you have had a bit of a nightmare with your Vision service. I would like to take a look at this for you. Please could you drop me an email with your BT account details and a link to this thread?
    My email address can be found by clicking on my profile.
    Thanks
    Paddy,
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • My iPhone won't allow me to scan for any network and won't even pick up on any wifi networks near by. How do I fix this?

    My iPhone 4s won't allow me to scan for any networks and won't even pull up wifi networks near by. How do I fix this?

    Settings > General > Network > Reset Network Settings.
    If that does not resolve the issue...
    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Has any of this been tried?

  • How to scan a hard copy to pdf that I can convert to word for editing?

    I've got a HP deskjet 3050A and my operating system is Windows 7, how to scan a hard copy to pdf that I can convert to word for editing?
    This question was solved.
    View Solution.

    Hi,
    The software provided for your device does not include OCR functionality
    You may use any 3rd part OCR solution to scan as editable text.
    If you have Microsoft Office suite there is a good chance the office suite provide this kind of capabilities:
    Office 2007 or 2010:
    http://www.howtogeek.com/howto/14595/ocr-anything-with-onenote-2007-and-2010/
    Office 2003:
    http://agsci.psu.edu/it/how-to/perform-ocr-with-microsoft-office-2003-document-imaging
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • How to skip line for delimited file type?

    Hi, i wanna ask how to skip (example: the first two line) for delimited file type?
    Thanks...
    Here is my script
    Function NY_Skip06Center [strField, strRecord]
    ' FDM DataPump Import Script:
    'Created by: FDM_Admin
    'Date created: 2/28/2006
    Dim strEntity
    'Check first two characters of entity
    For strEntity = 1 to 6
    'Skip line
    Res.PblnSKip = True
    Next strEntity
    End if
    End Function
    But it returns this error when imported
    Error: An error occurred importing the file.
    Detail: Object variable or With block variable not set
    Anyone knows what's wrong
    Edited by: user649207 on Mar 19, 2010 2:15 AM
    Edited by: user649207 on Mar 19, 2010 3:04 AM

    strAcc = DW.Utilities.fParseString (strField, 1, 1, chr(9))
    I didn't look closely enough last time. The above is illogical. The parsestring function parses a string based on a delimiter.
    The function has these arguments:
    String to Parse
    How many fields are in the string
    The parsed field to return
    Field delimiter
    In the above, strField is returning the field specified in your import format. You are also saying that there is a total of 1 field. If that were the case, you wouldn't need to parse anything.
    I am guessing that your call needs to look something more like this:
    strAcc = DW.Utilities.fParseString (*strRecord*, *8*, 1, chr(9))
    Make sense?
    If not, maybe you can include a few sample lines from your data file and that will make it easier to help you.
    Is your import format fixed or delimited?

  • HT5621 How can I scan for viruses on my Mac?

    How can I scan for viruses on my Mac desktop?

    You may find this User Tip on Viruses, Trojan Detection and Removal, as well as general Internet Security and Privacy, useful: The User Tip seeks to offer guidance on the main security threats and how to avoid them.
    https://discussions.apple.com/docs/DOC-2435
    More useful information can also be found here:
    www.thesafemac.com/mmg

  • Can anyone tell me how to scan documents to the icloud, so they will be on the ipad.  My husband is planning on using the ipad for work.

    Can anyone tell me how to scan documents to the icloud, so they will be on the ipad?  My husband is planning on using his ipad for business.  I haven't been able to even find anywhere that I could read about scanning documents.

    If you scanned the documents - what format did you save them in - pdf? If so, Pages will not open pdf files. you can save a file and export it as a pdf from Pages - but not the other way around.
    If you need simply view the documents - you can send them to the iPad via email or DropBox and them open and save them in iBooks. or Adobe Reader. both apps are free. Adobe Reader can use file sharing in iTunes to transfer the files.
    If you need to annotate the files - you will need an app like Goodreader - which can use file sharing from iTunes in order to transfer the files as well. GoodReader may work with iCloud now, but you will have to check that out in the App Store.
    You can read this to see how to use file sharing. It really is pretty easy to use. You do need to do this with your computer.
    http://support.apple.com/kb/ht4094

  • How do we scan for viruses of uploaded excel file in Web Dynpro for JAVA

    Hi All,
    Please let me know "How do we scan for viruses of uploaded excel file in Web Dynpro for JAVA"
    Regards,
    Ganga.

    Hi ,
    pl go through this note "Integrating a virus scan into SAP applications 817623 "
    SAP Virus Scan Interface
    http://help.sap.com/saphelp_nw2004s/helpdata/en/30/42c13a38b44d5e8d1b140794e8e850/frameset.htm
    Sample Application
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6e1c4221-0901-0010-63ba-b1f9459d6e74
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f2681486-0a01-0010-8497-c778eac80da5
    Regards
    Ayyappparaj

Maybe you are looking for