Presentation is loading. Please wait.

Presentation is loading. Please wait.

Bar Code Scanning Senior Capstone Experience By: Rachel R. Rouse.

Similar presentations


Presentation on theme: "Bar Code Scanning Senior Capstone Experience By: Rachel R. Rouse."— Presentation transcript:

1 Bar Code Scanning Senior Capstone Experience By: Rachel R. Rouse

2 Project Definition Project Description Purchase and install a bar code reader and design real- time experiments for it. Requirements: 1.Purchase a barcode scanner that will ID passing trains and calculate speed & velocity on CCR 2.Write the scanner driver and provide a good API. 3.Rewrite the user manual. 4.Design and implement the application described in #1. 5.Design and implement other experimentations involving some real-time issues.

3 Goals & Strategies Goals: Write applications for CCR, hexidecimal communication between host and scanner, and audience participation application Strategies: Trial-and-Error Experimentation & modify as a result Faculty, peer, vendors and manufacturer resources Research

4 Three Applications CCR Train Application Identifies trains, calculates speed, friendly user interface Hexidecimal Communication Application Establishes communication between host and scanner; allows commands to be sent to scanner MTV Trivia Application Simple application that will allow the audience to scan bar codes

5 Edit Selected Train Form Delete Train Form Add Train Form History form — displays the information about the specified pass CCR Train Application Train Form Edit Train Form History Form Main form — displayed latest scanned information Edit form — edited the train whose ID came from Edit Train Form Delete form — removed a train from the application Add form — initialized train information

6 Calculating Speed HO Gauge 1/17 of life size D1 thru D4 Specific distances between bar codes on an engine Calculations: If D1: (18 / x) MPH If D2: (14.4 / x) MPH If D3: (12 / x) MPH If D4: (10.285714 / x) MPH *where x is the time difference between Time1 and Time2 as seconds FirstPass Time1 Time2 Speed VariablesConstants D1= 3.6414” D2= 2.88” D3= 2.4276” D4= 2.0808”

7 User-defined VB Classes TrainClass ID ID Name Name InitDir InitDir InitPos InitPos Direction Direction Position Position Speed Speed Code Distance Code DistanceScannerClass Code Code Time Time

8 Hexidecimal Application One form that allowed the following: Pre-defined menu options that sent commands to the scanner (i.e. Triggering Options) User could enter parameter and parameter value and the application created the string to be sent to the scanner UNDO ALL and UNDO LAST buttons to correct mistakes when appending Turn Laser On and Turn Laser Off commands

9 Once the answer form is closed, a new question is displayed. Depending on the bar code scanned, a different answer is displayed. MTV Trivia Application A series of ten trivia questions appear on the form. New question displayed after the answer form is closed. A bar code that directly corresponds to the question is scanned and the answer to the question is displayed on the Answer Form Question Form Answer Form

10 Future Extensions Creating bar codes without the use of software Writing a DLL specifically for opening and closing ports Purchasing a second scanner to do comparative experiments Developing a new symbology and having the scanner recognize it

11 Thank You! Rachel R. Rouse


Download ppt "Bar Code Scanning Senior Capstone Experience By: Rachel R. Rouse."

Similar presentations


Ads by Google