Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    Join Date
    Oct 2008
    Posts
    51

    Grin bare code --question--

    I have a question, is it possible to plug in USB scanners to read codes bare, and that reading is displayed in Input.GetText or other

    thanx advance for reply

  2. #2
    Join Date
    Nov 2005
    Posts
    98
    Yes, your barcode scanner will put the text in any focused object (ie, ams, notepad...) You just have to focus your input before you scan the product. The ENTER command will be also send after scanned (if you want to put on key event)

  3. #3
    Join Date
    Oct 2008
    Posts
    51
    Quote Originally Posted by Eliminator View Post
    Yes, your barcode scanner will put the text in any focused object (ie, ams, notepad...) You just have to focus your input before you scan the product. The ENTER command will be also send after scanned (if you want to put on key event)
    Quick response thank you, but what are the command to recognize the scanner which is located in usb

  4. #4
    Join Date
    Aug 2004
    Location
    Somewhere in Texas, USA
    Posts
    417
    There is no command.

    Look at the scanner as a keyboard.

    You scan, it inputs.

    Another words, if you were to open Notepad in Windows and then scanned a barcode with a scanner you would see it typed into Notepad automatically.

    Hope this helps.

  5. #5
    Join Date
    Oct 2008
    Posts
    51
    Quote Originally Posted by mwreyf1 View Post
    There is no command.

    Look at the scanner as a keyboard.

    You scan, it inputs.

    Another words, if you were to open Notepad in Windows and then scanned a barcode with a scanner you would see it typed into Notepad automatically.

    Hope this helps.
    thanx, is very well

    if I understood
    Page.SetFocus("Input1");
    sCode = Input.GetText("Input1");
    I scan the code bare and will be displayed in "Input1"

  6. #6
    Join Date
    Oct 2002
    Location
    RealFake, RF
    Posts
    403
    We're talking about an infared barcode scanner right? A hand-held unit?

    I will be very interested to hear if this works. Can anyone think of other input devices that could so easily input data into an AMS object?
    "White-colla-AMS-gangsta."

  7. #7
    Join Date
    May 2006
    Posts
    5,380
    Can anyone think of other input devices that could so easily input data into an AMS object?
    im in need of a time keeping machine (card swipe kind of thing) that can send some info back to an app, name or account number (ID), time and date

    anyone know of a bit of USB kit that can do that, any ideas?

    i was thinking something rigged to a serial port, but im lacking a machine shop to make the hardware and my last attempt with an old PDQ machine and a used phone card dident go very well!!!
    Open your eyes to Narcissism, Don't let her destroy your life!!

  8. #8
    Join Date
    Oct 2002
    Location
    RealFake, RF
    Posts
    403
    Hahaha,

    It's funny you should mention that. I just went on to ebay and purchased a $1.00 usb mini keyboard and some phototransistors. Although I don't have anything particular in mind, I was thinking about experimenting with a basic punch card reader. I was considering the purchase of a bar code scanner for $10.00 (gotta love ebay), but I thought that this would be more fun (since I could arrange the photo sensors and resistors into any sort of machine I want). You might want to take a look at this... http://www.parallax.com/Store/Sensor...8/Default.aspx

    I built a QC system using AMS4 years ago which tested MP3 players for necessary drivers, giving the QC'ers a green or red screen for pass or fail. Pretty simple. Simultaneously, I was working in assembly code, making the machines that would package the devices. I can see a beautiful marriage here, but I just don't know how to access those ports anymore (nor is it my job to anymore). Well... short story long, I am actually considering soldering myself a puch card reader. It's totally useless for me, but I thought it would be some old-school fun. =)

    If I can just get data sent out of the computer (ideally using the com port and wrapping Worm's dll here: http://www.indigorose.com/forums/sho...ghlight=output into an AMS function), then we'd be talking industrial robotics. A VERY cool field. I mean making a logo bounce around the screen is fun, but making robotic packaging arms respond to various conditions is like a rollercoaster for programmers. hahaha
    Last edited by Protocol; 10-30-2008 at 09:12 PM.
    "White-colla-AMS-gangsta."

  9. #9
    Join Date
    May 2006
    Posts
    5,380
    You might want to take a look at this... http://www.parallax.com/Store/Sensor...8/Default.aspx
    i thinking a robotic arm by the fridge and a tracked cup holder buggie, just press Ctrl+B and a cold one arrives at my feet!, or a home defence system, strap a webcam and a couple of steel BB guns to it and let rip at the neighbours!

    seriously, thats some kit and its not as expensive as i imagined it to be, for £300/£400 i could build a bot, dont know what it would do, but it would be lots of fun

    as for serial ports, a few weeks back i got a new Acer pc which along with my laptop has no serial ports or floppy drive, so im thinking USB is the way to go
    Open your eyes to Narcissism, Don't let her destroy your life!!

  10. #10
    Join Date
    Aug 2004
    Location
    Somewhere in Texas, USA
    Posts
    417
    I just tested AMS 7 on a POS keyboard with a card swipe and it worked fine.

    Also tested with a laser barcode scanner (USB and RS232)and both worked fine.

  11. #11
    Join Date
    May 2001
    Location
    51.531249 | -0.610962
    Posts
    1,244
    Indeed! I use a barcode scanner at work plugged into a ps2 keyboard port and it all works fine.
    A barcode is just text displayed as bars. Like wingdings is just text displayed as ... wingdings!!
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

  12. #12
    Join Date
    May 2001
    Location
    51.531249 | -0.610962
    Posts
    1,244
    Quote Originally Posted by RizlaUK View Post
    ... my last attempt with an old PDQ machine and a used phone card dident go very well!!!
    This may have been due to compatibility. The scanner (PDQ or infrared) must be compatible with the source.
    One of the most common and generic barcodes is 'Code39' but not all barcode scanners can read this, as they are designed specifically for other types of code.
    So the PDQ may have worked ... just not with a phone card.
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

Similar Threads

  1. Article: Using Authenticode Code Signing Certificates
    By Ted Sullivan in forum Setup Factory 8.0 Examples
    Replies: 4
    Last Post: 10-31-2007, 09:03 AM
  2. Progress Bars screen, On Start code is skipped
    By AxemanMK in forum Setup Factory 7.0
    Replies: 7
    Last Post: 09-21-2006, 02:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts