Aquisition and Retrieval Performance of the Tektronix TDS 2014 as a Data Logger

Similar documents
ST600 TRANSMITTER OPERATING INSTRUCTIONS

SonoLab Echo-I User Manual

i1800 Series Scanners

EE 314 Spring 2003 Microprocessor Systems

More Meaningful PSpice Simulations via LabVIEW*

UCE-DSO210 DIGITAL OSCILLOSCOPE USER MANUAL. FATIH GENÇ UCORE ELECTRONICS REV1

UCE-DSO212 DIGITAL OSCILLOSCOPE USER MANUAL. UCORE ELECTRONICS

Using Signaling Rate and Transfer Rate

AT-XTR-7020A-4. Multi-Channel Micro Embedded Transceiver Module. Features. Typical Applications

SECTION 8 Communications Characteristics (Reference)

EE ELECTRICAL ENGINEERING AND INSTRUMENTATION

User manual. Inclinometer with Analog-RS232-Interface IK360

DEPARTMENT OF INFORMATION ENGINEERING. Test No. 1. Introduction to Scope Measurements. 1. Correction. Term Correction. Term...

2 Oscilloscope Familiarization

Features. Description. General Specifications. VS Series Inclinometer : Dual Axis, RS232 and Analogue Output

Advances in Antenna Measurement Instrumentation and Systems

Servo Switch/Controller Users Manual

DI-1100 USB Data Acquisition (DAQ) System Communication Protocol

Test No. 1. Introduction to Scope Measurements. Report History. University of Applied Sciences Hamburg. Last chance!! EEL2 No 1

Tektronix digital oscilloscope, BK Precision Function Generator, coaxial cables, breadboard, the crystal earpiece from your AM radio kit.

VRS20. Contents. Communications. Stay involved. RS232 Communications. 2/14/2014 VRS20 - Valeport

Test No. 2. Advanced Scope Measurements. History. University of Applied Sciences Hamburg. Last chance!! EEL2 No 2

Laboratory Equipment Instruction Manual 2011

B. Equipment. Advanced Lab

LC-10 Chipless TagReader v 2.0 August 2006

Lecture Fundamentals of Data and signals

CANopen Programmer s Manual Part Number Version 1.0 October All rights reserved

CIC ENGINEERING 345 CENTER STREET EAST PEORIA, IL PH FAX µmpis Control Software

2320 cousteau court

Manual IF2008A IF2008E

Local Asynchronous Communication. By S.Senthilmurugan Asst.Professor/ICE SRM University. Chennai.

P a g e 1 ST985. TDR Cable Analyzer Instruction Manual. Analog Arts Inc.

BSc (Hons) Computer Science with Network Security, BEng (Hons) Electronic Engineering. Cohorts: BCNS/17A/FT & BEE/16B/FT

USE OF BASIC ELECTRONIC MEASURING INSTRUMENTS Part II, & ANALYSIS OF MEASUREMENT ERROR 1

WTPCT-M. eeder. Pulse Counter/Timer Module. Technologies FEATURES SPECIFICATIONS DESCRIPTION. Weeder Technologies

C191HM POWERMETER AND HARMONIC MANAGER COMMUNICATIONS REFERENCE GUIDE

Home Automation, Inc. Omnistat2. RC-1000 and RC-2000 Communicating Thermostat. Serial Protocol Description

Servo 8 Torque Board Doc V 1.2

LabVIEW Day 2: Other loops, Other graphs

Creating Arbitrary Waveforms in the U2300A Series and U2500A Series Data Acquisition Devices

Cost efficient design Operates in full sunlight Low power consumption Wide field of view Small footprint Simple serial connectivity Long Range

IVI STEP TYPES. Contents

Lab 0: Orientation. 1 Introduction: Oscilloscope. Refer to Appendix E for photos of the apparatus

The oscilloscope and RC filters

i800 Series Scanners Image Processing Guide User s Guide A-61510

The quality of the transmission signal The characteristics of the transmission medium. Some type of transmission medium is required for transmission:

RECOMMENDATION ITU-R BT.1302 *

Channels that are not occupied by temperature sensors, can take over alternative functions:

COMP467. Local Asynchronous Communication. Goals. Data is usually sent over a single channel one bit at a time.

Mate Serial Communications Guide This guide is only relevant to Mate Code Revs. of 4.00 and greater

Parameter Value Unit Notes

745 Transformer Protection System Communications Guide

Digital Fundamentals 8/25/2016. Summary. Summary. Floyd. Chapter 1. Analog Quantities

Know your energy. Modbus Register Map EB etactica Power Bar

What the LSA1000 Does and How

EVDP610 IXDP610 Digital PWM Controller IC Evaluation Board

Instruction Sheet UPS SERIES. Serial Control Protocol. I Rev E

Data acquisition and instrumentation. Data acquisition

SMARTALPHA RF TRANSCEIVER

Cornerstone Electronics Technology and Robotics Week 21 Electricity & Electronics Section 10.5, Oscilloscope

Module 3: Physical Layer

LV-Link 3.0 Software Interface for LabVIEW

Digital Logic ircuits Circuits Fundamentals I Fundamentals I

332:223 Principles of Electrical Engineering I Laboratory Experiment #2 Title: Function Generators and Oscilloscopes Suggested Equipment:

medlab Two Channel Invasive Blood Pressure OEM board EG 02000

PC-OSCILLOSCOPE PCS500. Analog and digital circuit sections. Description of the operation

BPSK_DEMOD. Binary-PSK Demodulator Rev Key Design Features. Block Diagram. Applications. General Description. Generic Parameters

ENGN Analogue Electronics Digital PC Oscilloscope

Product Information Using the SENT Communications Output Protocol with A1341 and A1343 Devices

Exercise 3-2. Digital Modulation EXERCISE OBJECTIVE DISCUSSION OUTLINE DISCUSSION. PSK digital modulation

USING RS-232 to RS-485 CONVERTERS (With RS-232, RS-422 and RS-485 devices)

Agilent 33522A Function Arbitrary Waveform Generator. Tektronix TDS 3012B Oscilloscope

ROM/UDF CPU I/O I/O I/O RAM

ProLink Radio. 900 MHz SDI-12 Data Radio Scienterra Limited. Version A-0x0C-1-AC 20 October 2009

Information representation

METEOROLOGICAL INSTRUMENTS

TCSS 372 Laboratory Project 2 RS 232 Serial I/O Interface

Cost efficient design Operates in full sunlight Low power consumption Wide field of view Small footprint Simple serial connectivity Long Range

Page 1/10 Digilent Analog Discovery (DAD) Tutorial 6-Aug-15. Figure 2: DAD pin configuration

RIGOL Data Sheet. DS1000E, DS1000D Series Digital Oscilloscopes DS1102E, DS1052E, DS1102D, DS1052D. Product Overview. Easy to Use Design.

Stensat Transmitter Module

Modbus communication module for TCX2: AEX-MOD

RECOMMENDATION ITU-R BT *

CALIFORNIA SOFTWARE LABS

ENGR 210 Lab 12: Sampling and Aliasing

Exercise 8. The Four-Quadrant Chopper EXERCISE OBJECTIVE DISCUSSION OUTLINE DISCUSSION. The Four-Quadrant Chopper

2) APRV detects and records low frequency events (voltage drop, over-voltages, wave distortion) with a sampling frequency of 6400 Hz.

X3M. Multi-Axis Absolute MEMS Inclinometer Page 1 of 13. Description. Software. Mechanical Drawing. Features

Electrical signal types

EULAMBIA ADVANCED TECHNOLOGIES LTD. User Manual EAT-EOM-CTL-2. Alexandros Fragkos

Getting Started. MSO/DPO Series Oscilloscopes. Basic Concepts

M Hewitson, K Koetter, H Ward. May 20, 2003

Signal Characteristics

Copley ASCII Interface Programmer s Guide

ENGR 1110: Introduction to Engineering Lab 7 Pulse Width Modulation (PWM)

DTMF Signal Detection Using Z8 Encore! XP F64xx Series MCUs

LABORATORY 4. Palomar College ENGR210 Spring 2017 ASSIGNED: 3/21/17

DS1102E, DS1052E, DS1102D, DS1052D

The "FISH" Quad Hand Sensor

Product Specification for model TT Transducer Tester Rev. B

Transcription:

Aquisition and Retrieval Performance of the Tektronix TDS 14 as a Data Logger Adam Black Centre for Advanced Internet Architectures. Technical Report 7717A Swinburne University of Technology Melbourne, Australia adamblack@swin.edu.au Abstract- The Tektronix TDS 14 is a four channel DSO (digital storage oscilloscope) with an RS3 port for remote administration. This document has been written to inform the reader how the oscilloscope can be operated as an automated voltage logger using a PC. We conducted some tests which confirmed that multiple channels of the oscilloscope could be synchronously captured if the trigger conditions in the DSO were configured appropriately. We also tested the serial transfer time of voltage samples, encoded in plain text and binary format. We discovered plain text encoding resulted in considerably longer transfer times compared with binary encoding and is therefore the least preferred method. I. INTRODUCTION The Tektronix TDS 14 [1] is a four input DSO with an 8-bit analogue to digital converter. The device has a colour LCD display, front panel control buttons for manual operation and a 9-pin RS3 serial port for remote administration via a PC or terminal. This report describes how the oscilloscope can be used as a voltage logger by conversing over the RS3 interface. This document is structured as follows. Section II defines the key technical terms relating to the oscilloscope which have been mentioned throughout this paper. Section III explains how the DSO can be remotely operated through the RS3 interface and introduces some important instructions used to gather information from the oscilloscope. Section IV discusses how voltage data from multiple channels of the DSO can be simultaneously captured and then transferred to a PC which is then experimentally tested in Section V. Section VI evaluates the time required to transfer voltage samples from the oscilloscope to a PC and Section VII concludes the report, followed by the Acknowledgments and References. II. TERMINOLOGY This section introduces some important terminology relating to the oscilloscope. The list of terms and definitions are as follows: ADC (analogue to digital converter) Converts an analogue voltage level into a discrete digital representation. The granularity of an ADC can be determined from the number of bits it uses. For example, an 8-bit ADC can digitally represent an analogue signal using 8 =56 unique voltage levels. The more bits an ADC uses the less uncertainty exists in the digital representation. Division The oscilloscope's display has a grid superimposed on the waveform display area. The vertical lines of the grid are used to represent a quantity of time and the horizontal lines are used to represent voltage levels. Vertical scale Measured in Volts per division, the vertical scale determines the voltage represented by a single division along the y-axis Vertical offset Used to shift the input voltage of a particular channel by a DC signal. This is useful to view large voltages which would fall out of range of the screen. Timebase Measured in seconds per division, the timebase determines the quantity of time represented by a single division along the horizontal axis. Sampling interval The interval of time between consecutive sample points. Vertical resolution The smallest distinguishable voltage increment along the vertical axis. Trigger An event which causes the oscilloscope to begin capturing the input waveform(s) of the enabled channels. Triggers have sometimes been referred to as updates, because they cause the waveforms to be updated on the screen. Triggers can be caused by rising edges or falling edges, they can also be forced by the user. Sample point An instantaneous measurement of an input voltage at a particular point in time. In practice a sample cannot be captured over an infinitely small period of time and is not truly instantaneous by definition. Record A collection of sample points separated in time by the sampling interval. The number of sample points contained within a record is known as the record length. III. REMOTE ADMINISTRATION INTRODUCTION The TDS 14 can be manually operated through the RS3 port with software such as HyperTerminal [] or cu [3]. Alternatively custom software can be written to automate the acquisition of voltage data. CAIA Technical Report 7717A July 7 page 1 of 6

Instructions issued to the oscilloscope should be transmitted using ASCII character encoding and must conform to the syntax specified in the TDS/1/ Series Oscilloscope Programmer Manual [4]. There are two types of instructions, commands and queries. Command are used to change settings in the oscilloscope or perform specific actions while queries are used to retrieve information from the oscilloscope. Queries can be differentiated from commands because all queries end with a question mark. A. Acquiring data Successful two-way communication between the oscilloscope and PC cannot be established unless the two communicating devices are configured with the same BAUD rate. The BAUD rate is specified in bits per second and determines the speed of the serial connection. The oscilloscope's curve? [4] query is used to transfer waveform data to another RS3 device. The query returns a record of voltage samples for a selected channel. Each sample point is represented as a number originating from the oscilloscope's ADC and must be shifted and scaled accordingly to represent a meaningful voltage quantity. Each sample point is separated in time by the sampling interval, this can be determined from the following formula: Sampling interval = Sec/div 5 The TDS 14 has a record length of 5 meaning 5 sample points are stored in memory for each channel. The user can elect that a subset of the full record is returned upon a curve? query. For example, if the user specifies a data start value of one and data stop value of, the first sample points of the record would be transferred. When collecting voltage data from the oscilloscope it is important to consider the vertical resolution of the samples. In the case of the TDS 14, each vertical division contains 5 possible voltage levels therefore the vertical resolution of the DSO can be determined from the following formula: Volts /div Vertical resolution= 5 The oscilloscope can send curve data using a width of 1 or bytes. When the data width is set to two the most significant byte in each sample point is specified by the 8 bit ADC value and the least significant byte contains all zeros. The encoding method used when sending curve data can be specified using either ASCII or binary representations. When the ASCII encoding mode is selected each digit in the curve response is encoded using the ASCII character set. The binary encoding implementations represent each data point in binary integer form. There are four binary encoding modes available: RIBINARY, RPBINARY, SRIBINARY and SRPBINARY [4]. RIBINARY and SRIBINARY represent each data point as a two's complement [] signed integer. The RIBINARY mode sends the most significant byte first and the SRIBINARY mode sends the least significant byte first, assuming the data width is bytes. RPBINARY and SRPBINARY represent each data point as an unsigned integer. RPBINARY transfers the most significant byte first while SRIBINARY transfers the least significant byte first, assuming the data width is bytes. Table 1 displays the range of possible values received from a curve? query using different encoding methods and data widths. Note the values: -18 and -3768 are reserved to indicate an invalid data point when using signed encoding and a zero is used to indicate an invalid data point when using unsigned encoding. Data Encoding Mode Range (width = 1) Range (width = ) ASCII -18 to 17-3768 to 3767 RIBINARY/SRIBINARY -18 to 17-3768 to 3767 RPBINARY/SRPBINARY to 55 to 65536 Table 1: Range of data point values B. Manual Triggering When multiple channels need to be captured simultaneously the oscilloscope must be prevented from triggering automatically. The curve? query can only return data belonging to one channel at a time which means unwanted triggers can occur between the acquisition of two channels and cause the records to be out of sync. A possible solution is to prevent the oscilloscope from triggering updates unless explicitly directed. This means the user can trigger the oscilloscope, collect curve data from the channels of interest and then initialise a new trigger when a new set of sample is required. To use manual triggering set the trigger mode to normal and use the oscilloscope's external input as the trigger source. Then adjust the triggering level it's maximum setting which is V and short-circuit the external input channel to ground. Once completed successfully the oscilloscope should never trigger updates automatically and a manual trigger can be forced by issuing the command, trigger force. IV.ACQUIRING OSCILLOSCOPE WAVEFORM DATA This section describes the principles for acquiring waveform data which has been synchronously captured from two or more channels of the oscilloscope. A. Equipment A PC with a serial port. CAIA Technical Report 7717A July 7 page of 6

Tektronix TDS 14 oscilloscope with necessary coaxial cables. 9-pin Female-Female RS3 serial cable. B. Method Figure 1 represents the sequence of events when reading two oscilloscope channels. This concept can be extended to read any number of channels. The basic principle is; once a trigger has taken place the waveform data will be retained in memory until the next trigger is issued. Between triggers the waveform data can be collected one channel at a time. The following is a more detailed explanation of the flowchart in Figure 1. The oscilloscope is sent the trigger force command, which updates the oscilloscope with new voltage data. The process then has to wait until the trigger update is complete. The trigger:state? query can be used to poll the oscilloscope regarding the status of the most recent trigger. A status of Ready means the trigger has been completed. The next step (select source: ) informs the oscilloscope which channel to retrieve when the curve? query is issued. The curve? query retrieves the sample points belonging to channel one. The curve/acquisition process is then repeated for channel two. After the required channels have been read a new trigger can be issued (using the trigger force command) and the process can be repeated from the start. START Force Trigger (trigger:force) DSO trigger complete? (trigger:state) True False Read data from serial stream Request CH samples (curve?) V. SYNCHRONOUS CHANNEL CAPTURING In this section we will test whether voltage data from multiple channels of the oscilloscope can be synchronously captured and then transferred to a PC as described in Section IV. A. Equipment and configuration A PC running FreeBSD 6. with a serial port. The following software was chosen to communicate with the oscilloscope over the serial link: python.3. pyserial.. Tektronix TDS 14 oscilloscope with necessary coaxial cables. DSE (Dick Smith Electronics) Q 1459 digital multimeter (used for generating a pulse train). 9-pin Female-Female RS3 serial cable. B. Method The 5Hz square wave output of the DSE multimeter was connected to channel one and two of the DSO which were both configured with a vertical scale of 1 V/div and no vertical offset. The data start and stop values were set to 1 and respectively and manual triggering was configured as explained in Section III.B. The oscilloscope was triggered and the records for channel one and two were retrieved by issuing the curve? query. This was repeated with a 5 second interval between consecutive triggers for a total of iterations. C. Results Voltage.8 - - - Waveform Trace of and CH Figure : 1 st record CH Select source: (data:source ) Select source: CH (data:source CH) Request samples (curve?) Read data from serial stream Figure 1: Sequence for reading multiple channels of the TDS 14. Commands are queries are shown in brackets. CAIA Technical Report 7717A July 7 page 3 of 6

Voltage Voltage Voltage.8 - - -.8 - - -.8 - - - Waveform Trace of and CH Figure 3: 5 th Record Waveform Trace of and CH Figure 4: 1 th Record Waveform Trace of and CH Figure 5: 15 th Record CH CH CH Figures through 5 show several waveform traces of channel one and two captured at different points in time. In theory we would expect the rising and falling edges to occur at the same time which would indicate the channels were being simultaneously recorded. It is quite clear from the graphs that both channels were acquired in phase. There is however some voltage variability between the both channels at identical times. This is most likely due to factors such as induced random noise in the system and manufacturing imperfections in the oscilloscope which cause the characteristics of one channel to differ very slightly from another. D. Conclusion From the results we can see the oscilloscope is capable of capturing multiple channels simultaneously. This can be done by manually triggering the oscilloscope and then receiving the curve data for the required channels. Once complete a new trigger can be initialised and the process can restart from the beginning. VI.SERIAL TRANSFER PERFORMANCE The TDS 14 DSO allows the user to acquire a record's length of sample points by issuing the curve? query. If continuous voltage logging is required the user must repeatedly trigger and capture curve data until the required number of records have been collected. The interval of time between subsequent triggers (and hence waveform captures) is limited by the trigger time and serial transfer time. In this section we will examine the time required to transfer a varying number of curve sample points using ASCII and binary encoding. These encoding modes have been introduced in Section III.A. A. Equipment and configuration A PC running FreeBSD 6. with a serial port. The following software was chosen to communicate with the oscilloscope over the serial link: python.3. pyserial.. Tektronix TDS 14 oscilloscope with necessary coaxial cables. Instek GPC-185D Power Supply. 9-pin Female-Female RS3 serial cable. B. Method The RS3 interface of the oscilloscope was configured with a BAUD rate of 19, bps 1, the flow control was set to hardware and no parity bits were used. Next we disabled automatic triggering as explained in Section III.B and set the vertical scale to V/div with no vertical offset. We ran two types of experiments to assess the oscilloscope's RS3 transfer performance. The first experiment was to measure the time required to send various quantities of sample points over the RS3 link. This was achieved by connecting a fixed 5V signal from the power supply to channel one of the oscilloscope and then manually forcing a trigger once. We then measured the time required to send the curve? query and fetch records of various lengths. The record 1 The BAUD rate includes the start and stop bit used to maintain synchronisation between the PC and oscilloscope, hence for a BAUD rate of 19 bps the actual transfer rate would be 19 / (8+) = 19 bytes/sec. CAIA Technical Report 7717A July 7 page 4 of 6

length was varied by holding the data:start position constant and altering the data:stop position from 5 to 5 in increments of 5. For each data:stop settings we measured the curve? transfer time over ten individual trials and averaged the result. The experiment was conducted for three encoding modes; ASCII, RIBINARY and RPBINARY. The second experiment was to determine the curve response time of the oscilloscope, measured from the time the curve query was issued, up until the time the first sample was received on the serial input buffer of the PC. For this experiment we used a mixture of RPBINARY and ASCII encoding modes. We also ran two tests for each encoding mode using a different number of digits per sample point. For the first test an input voltage of.5 VDC was fed into channel one of the oscilloscope to produce sample points containing one digit as demonstrated below: ADC level =.5 V 5levels /div 3 V /div In the second scenario a fixed 5 VDC signal was connected to channel one, producing an ideal ADC level of 6.5. After rounding the input voltage to an integer value we would expect to see two digits per sample point. For the various input voltages and encoding modes used, we measured the curve response time for different data stop positions ranging from 5 to 5 in increments of 5. The data start position was held constant at one and ten trials were repeated and averaged. C. Results Transfer Time (Seconds) 5. 4.5 4. 3.5 3..5. 1.5 1..5 Waveform Transfer Time t =.19N +.171. 5 1 15 5 Number Sam ples (N) ASCII ASCII EST RPBINARY RPBINARY EST t =.16N t =.5N +.86 t =.5N +.3 Figure 6: Waveform transfer time for different quantities of data points and encoding methods Figure 6 compares the theoretical and experimental transfer times for the ASCII and RPBINARY transfer modes. When the oscilloscope is configured to send curve? query results using ASCII encoding it transmits 1 byte per digit. Below is an example of some ASCII encoded curve data.,-1,13,56,-119,-4\n From the sample data above it should be noticed the number of bytes transmitted per data point can range from 1 to 4 bytes, only taking the digits into account. In the experiment a 5 VDC signal was used which caused each sample points to contain two digits. Therefore for each data point transferred the oscilloscope would need to send two numeric digits and a comma or newline. The following formula can be used to estimate the transfer time (t) for a particular number of data points (N) assuming ASCII encoding. t ASCII EST = 3 N 1 19 When the curve data is transferred in binary mode the oscilloscope sends some header information followed by the curve data and finally a newline. The header consists of a # to indicate the beginning of the curve transfer, the successive character is an single numeric digit in ASCII format indicating how many bytes make up the subsequent ASCII number, which informs the user how many sample points will be transferred by the oscilloscope. Below is the example of what the header should look like when the record length is set to 1, 1, 1 and 1. #11 #1 #31 #41 The following formula can be used to estimate the transfer time (t) for a particular number of data points (N) assuming binary encoding. len header 1 N 1 t BIN EST = 19 From the results we found that the RIBINARY and RPBINARY encoding modes performed very similarly so we have chosen not to display the RIBINARY results in Figures 6 and 7. Figure 6 shows that the experimental transfer time for RPBINARY encoded data is closely related to the estimated time since the gradient of the two graphs is the same to four decimal places. The Y-intercept is the only significant difference between the two curves which indicates an overhead is imposed when issuing a curve? query. In Figure 6 we can see the gradient and y-intercept differ quite significantly between the experimental and theoretical ASCII plots. This suggests the RS3 link is not being fully utilised during transfer. Since this does not seem to occur when using RPBINARY encoding, it is reasonable to assume the oscilloscope is more CAIA Technical Report 7717A July 7 page 5 of 6

efficient at generating binary encoded data than it is at producing ASCII encoded data. Response Time (Seconds).35.3.5..15.1.5 Curve Query Response Time. 5 1 15 5 Number Samples (N) ASCII - 1 Digits/sample (.5V) ASCII - Digits/sample (5V) RPBIN - 1 Digits/sample (.5V) RPBIN - Digits/sample (5v) Figure 7: The time required for the oscilloscope to respond to a curve? query From Figure 7 it seems the oscilloscope buffers the curve query results before sending them to the host. The trend of the curves suggest that the oscilloscope's buffer must be full before any data points are transmitted, except when there are insufficient sample points to fill the buffer. In this case the oscilloscope begins transferring curve data once the last sample point in the record is buffered. The oscilloscope appears to have a 1 KB buffer for outgoing serial data since the curve query response times plateau when the samples consume more than 1 KB of memory. For example, consider the ASCII encoded data containing one digit per sample. Each sample point requires bytes to buffer because of the commas separating each value, hence 5 samples would consume approximately 1KB of memory. This is also evident for the digits/sample ASCII data which require 3 bytes per data point, and the RPBINARY data which require 1 byte per sample point regardless of the number of digits contained within each sample point. Extrapolating the curves in Figure 7 to N = reveals that all curves intersect the y-axis at approximately.6 seconds. This suggests that responses to curve? queries will begin no sooner than 6 milliseconds after the query is issued. D. Conclusion The oscilloscope offers various encoding modes when sending records. The binary modes encode each sample point as a binary integer while the ASCII mode sends each digit using ASCII characters. From Figure 6 we can say the ASCII mode is the least efficient encoding method requiring approximately 5 seconds to transfer a full record of samples, compared to 1.5 seconds for RPBINARY encoding. This means the ASCII mode should be avoided if the quickest possible record transfer times are desired. VII. CONCLUSION The Tektronix TDS 14 is a digital storage oscilloscope which has an 8 bit analogue to digital converter and four input channels. The oscilloscope features an RS3 serial port which allows for remote administration. A useful command for acquiring voltage data from the oscilloscope is the curve? query which returns a record of samples for a selected input channel. The data returned from a curve? query is an integer originating from the oscilloscope's ADC and can be converted to an actual voltage by shifting and scaling the value. In Section IV the report explains theoretically how multiple channels of the oscilloscope can be captured simultaneously by disabling automatic triggering. In Section V we have conducted an experiment to test whether two channels of the oscilloscope can be captured simultaneously by connecting a square wave signal into channel one and two of the DSO. We then transferred voltage samples to the PC and plotted a waveform trace of both channels to test whether the they were captured in phase. From the experimental results we confirmed that multiple channels could be captured simultaneously and transferred to a PC by triggering the oscilloscope manually. In Section VI we have tested the serial transfer speed of the oscilloscope when sending voltage samples to a PC over the RS3 port. We set the oscilloscope's BAUD rate to the maximum speed of 19 bps and measured the time taken to retrieve a varying numbers of sample points using ASCII and binary data encoding modes. From the results we found the ASCII mode to be the least efficient requiring approximately 5 seconds to retrieve a record of 5 sample points, while the RPBINARY mode took approximately 1.5 seconds. The RIBINARY and RPBINARY modes performed very similarly. ACKNOWLEDGMENTS I'd like to thank Thuy Nguyen and Grenville Armitage for their advice and assistance in the development of this report. REFERENCES [1] "Digital Storage Oscilloscopes TDS1 Series TDS Series", http://www.tek.com/site/ps/,,3g-15314- INTRO_EN,.html ( accessed 1 th July 7) [] "What is HyperTerminal?", http://www.techfaq.com/hyperterminal.shtml ( accessed 1 th July 7) [3] "Unix man pages: cu", http://www.csee.usf.edu/cgi-bin/mancgi?cu+1 ( accessed 1 th July 7) [4] Tektronix Inc, "TDS/1/ Series Oscilloscope Programmer Manual", http://www.physics.utah.edu/~kieda/tk_prog.pdf (accessed 1 th July 7) [5] Wikipedia contributors, "Two's Complement" Wikipedia, The Free Encyclopedia, http://en.wikipedia.org/w/index.php?title=two%7s_comple ment&oldid=144854173 (accessed 17 th July 7) CAIA Technical Report 7717A July 7 page 6 of 6