|
|
|
Uploading Data
|
|
|
|
Using the Data Dump feature, DataBoy can transfer captured data to a PC (via serial port) for permanent storage, printing, analysis, etc. The procedure is as follows:
- On the the Setup Page set the Dump rate parameter. The is the baud rate used for Data Dump.
Note: for Data Dump, Data bits, Parity, and Stop bits are always set to 8, N, 1.
- Connect DataBoy to the target system, capture data in Live Data Scope, and then activate Freeze mode by pressing the 'A' key.
- Disconnect the RS-232 cable from the target system and connect to a serial comm port on a PC. Use a DB9 to DB25 adaptor if the comm port has a DB25 connector.
- Put the DataBoy RXD switch in the ON position. All other switches should be OFF.
- On the PC, run a terminal emulation program such as Hyper Terminal or PROCOMM, and set the comm port parameters to Dump rate, 8 bits, no parity, 1 stop bit. Dump rate is selected on the Setup Page. This discussion assumes the user is using Hyper Terminal.
- Activate data capture in Hyper Terminal by selecting "Capture Text" from the Transfer menu and specify a file name for saving the data.
- On DataBoy, press the SELECT key while in Freeze mode. This brings up the Freeze Options menu, shown below.

Figure 1. Freeze Options menu
- Select one of the data dump options:
- Screen dump will transmit only the data shown on the screen (prior to pressing SELECT key). Data will be sent in the current display mode (ASCII or Hex). See Figures 11 and 12.
- Buffer dump will transmit all data saved in DataBoy's capture buffer. Data will be sent in the current display mode (ASCII or Hex). See Figures 11 and 12.
- Detail screen dump will transmit data displayed on the screen in a detailed format that includes error indicators and timestamp for each character. See Figure 13.
- Detail buffer dump is a detailed dump of all data in the capture buffer.
- DataBoy will begin transmitting data to the PC and will display “Data Dump in progress..” on the screen.
- At the end of transmission, DataBoy will display “Data Dump complete”. At this point the RS-232 cable can be re-connected to the target system to capture additional data, which can be uploaded to the PC as described above.
- When all uploads are complete, Hyper Terminal can be taken out of the capture mode. At this point all uploaded data will have been saved in the user-specified file.
DataBoy will transmit data as text, formatted according to the selected data dump option. Hyper Terminal will receive and display the data on the PC screen. The screen shots below illustrate what the uploaded data will look like.
|
|
|
|
 |
|
|
 |
|
|
Figure 2. A screen of data in Freeze mode, displayed in ASCII format. |
|
Figure 3. ASCII Screen Dump of data in Figure 2. |
|
 |
|
|
|
Figure 4. Hexadecimal Screen Dump of data in Figure 2.
|
|
|
|
 |
|
|
Figure 4. Detailed screen dump of data in Figure 2.
|
|
|
|
Figure 4 shows a Detailed screen dump. Each line of text is a record containing information related to one captured character. Each record contains the following fields:
- The first field (N=) contains the record number. This is the relative position of the character within the data buffer.
- The second field indicates which channel the character came from (RXD or TXD).
- The third field contains the ASCII representation of the character.
- The fourth field contains the hexadecimal code for the character. If data is captured in multi-drop mode and the address indicator bit set to ‘1’, the hexadecimal code will be preceded by an angle bracket (>).
- The fifth field (E=) lists four possible error codes (Break, Framing, Parity, Overrun), as described in the section on Error Indicators. Error codes will appear in the BFPO order. A dash indicates that a particular error code is not present. In the example of figure 13, the second character (N=00002) has a framing error (F).
- The last field (T=) gives the time-stamp (if time-stamps are enabled). Time-stamps are given in milliseconds relative to the first character in the buffer (N=00001).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|