background image

 

 

 

C

2

 

Appendix C

 

Determining Time 
Parameters 

Once 

top

 and 

base

 are estimated, calculation of the 

rise

 and 

fall 

times is easily done (

Fig.1

). The 90 % and 10 % threshold levels 

are  automatically  determined  by  the  LSA1000,  using  the 
amplitude (

ampl

) parameter. 

Threshold  levels  for 

rise

  or 

fall

  time  can  also  be  selected  using 

absolute  or  relative  settings  (

r@level,  fall@level

).  If  absolute 

settings are chosen, the 

rise

 or 

fall

 time is measured as the time 

interval  separating  the  two  crossing  points  on  a  rising  or  falling 
edge. But when relative settings are chosen, the vertical interval 
spanned  between  the 

base

  and 

top

  lines  is  subdivided  into  a 

percentile  scale  (base = 0 %,  top = 100 %)  to  determine  the 
vertical position of the crossing points.  

The  time  interval  separating  the  points  on  the  rising  or  falling 
edges  is  then  estimated  to  yield  the  rise  or  fall  time.  These 
results  are  averaged  over  the  number  of  transition  edges  that 
occur within the observation window.  

Rising Edge Duration 

(

)

=

Mr

i

i

i

Tr

Tr

Mr

1

10

90

1

 

Falling Edge Duration 

(

)

=

Mf

i

i

i

Tf

Tf

Mf

1

90

10

1

 

Where 

Mr

  is  the  number  of  leading  edges  found, 

Mf

  the  number  of 

trailing  edges  found, 

x

i

Tr

the  time when  rising  edge 

crosses  the x % 

level, and

x

i

Tf

 the time when falling edge 

crosses the x % level.

 

Time parameter measurements such as 

width

period

 and 

delay

 

are  carried  out  with  respect  to  the  mesial  reference  level  (

Fig.  

C

–2

),  located  halfway  (50 %)  between  the  top  and  base 

reference lines.   

Time-parameter  estimation  depends  on  the  number  of  cycles 
included  within  the  observation  window.  If  the  number  of  cycles 
is not an integer, parameter measurements such as 

rms

 or 

mean

 

will be biased.   

Determining Rise and 
Fall Times 

Summary of Contents for LSA1000

Page 1: ...buy your excess underutilized and idle equipment along with credit for buybacks and trade ins Custom engineering so your equipment works exactly as you specify Critical and expedited services Leasing Rentals Demos In stock Ready to ship TAR certified secure asset solutions Expert team I Trust guarantee I 100 satisfaction All trademarks brand names and brands appearing herein are the property of th...

Page 2: ...Operator s Manual LeCroy LSA1000 Signalyst Revision B October 1998 ...

Page 3: ...versions Specifications subject to change LeCroy ProBus and SMART Trigger are registered trademarks of LeCroy Corporation MathCad is a registered trademark of MATHSOFT Inc Centronics is a registered trademark of Data Computer Corp Epson is a registered trademark of Epson America Inc PowerPC is a registered trademark of IBM Microelectronics MATLAB is a registered trademark of The MathWorks Inc Desk...

Page 4: ... 2 10 The LSA1000 Front and Back 2 12 Chapter 3 Installation and Safety Installation for Safe and Efficient Operation 3 1 Chapter 4 Connecting PC or Network Connecting the LSA1000 to its Host 4 1 Chapter 5 LSA1000 Software Tools Introducing the LSA1000 Software 5 1 Installing and Launching Software 5 3 Operating the LSA1000 Using Remote LSA 5 6 Performance Verification with Remote LSA 5 11 Using A...

Page 5: ...iv Contents Appendix A Specifications Appendix B NET_CON Source Code Appendix C Parameter Measurement Appendix D Program Examples Appendix E Suggestion Forms Index ...

Page 6: ...iii Contents ...

Page 7: ...ts behind the LSA1000 to show how these concepts have been integrated to deliver superior performance Chapter 3 gives operating environment and safety information Chapter 4 covers the connection requirements for LSA1000 and host PC using the Ethernet Chapter 5 offers a step by step process to get you started using the LSA1000 and its software tools Appendix A gives the product s detailed technical...

Page 8: ...iately be apparent the basic concepts to which they adhere remain valid for the LSA1000 and the functions are supported by remote control commands Moreover in order to maintain compatibility the LSA1000 s remote commands have been made a subset of the commands for the LeCroy digital oscilloscopes Terminology borrowed from the oscilloscope should thus be understood to refer to the LSA1000 conceptua...

Page 9: ...v Foreword ...

Page 10: ...ranty of any kind covering detailed performance Products not made by LeCroy are covered solely by the warranty of the original equipment manufacturer Under the LeCroy warranty LeCroy will repair or at its option replace any product returned within the warranty period to a LeCroy authorized service center However this will be done only if the product is determined after examination by LeCroy to be ...

Page 11: ...e timing or offset and infrequently minor logic changes However be assured the LSA1000 itself is in full order and incorporates the most up to date circuitry LeCroy frequently updates firmware and software during servicing to improve LSA1000 performance free of charge during warranty You will be kept informed of such changes through new or revised manuals and other publications Nevertheless you sh...

Page 12: ...ontacting the Customer Service Department Return shipments should be made prepaid We cannot accept COD Cash On Delivery or Collect Return shipments We recommend air freighting It is important that the RAN be clearly shown on the outside of the shipping package for prompt redirection to the appropriate LeCroy department WhatComeswithLSA1000 The following items are shipped together with the standard...

Page 13: ...d memory See Appendix A of the Operator s Manual for the LSA1000 s technical specifications Software Assistance Before contacting us with software related questions try the following Review Chapter 5 and Appendix D of the Operator s Manual which contains several program examples that can be used as a starting point when writing application specific software using the LSA1000 See the Remote Control...

Page 14: ...1 1 Read This First 1 ...

Page 15: ...achieved by combining channels up to a maximum of 2 GS s on one channel The waveform acquisition memory capacity is 100 000 data points per channel in the standard configuration 500 000 with Option M1 1 million points with Option M2 2 million points with Option M4 and 4 million points with option M8 Acquisition memory can also be doubled by combining channels to as much as 8 million data points Th...

Page 16: ...DSO Digital Storage Oscilloscope in a design optimized for system integration with Capture of one off single shot events stored in memory On board analysis of signals and precise measurement results Fast data transfer via Ethernet remote control of all major functions See this chapter s Capture Measure Analyze and Transfer sections for more ...

Page 17: ...ADC performance for multi channel acquisitions large record lengths and excellent time resolution Acquisition Memory System stores resulting digital data from ADCs Standard 100K points per channel simplify transient capture by producing long waveform records that capture even when trigger timing or signal speed is uncertain Combining two channels doubles the acquisition memory length There are fou...

Page 18: ...r single shot waveform capture and measurement The danger with low sample rates is that important information may be lost between samples A sample rate of at least twice the highest frequency component of the signal is required to avoid aliasing A sample rate of at least five times is advisable for accurate waveform capture Memory Length Acquisition memory length determines the number of input sig...

Page 19: ...inition of time 0 Since each channel has its own ADC the voltage on each of the input channels is sampled and measured at the same instant This allows extremely reliable time measurements between channels Trigger delay can be selected anywhere within a range that allows the waveform to be sampled from well before the trigger event up to the moment it occurs 100 pretrigger or at a time starting at ...

Page 20: ...evel signal This configuration must be specified at time of purchase Coupling refers to the type of signal coupling at the input of the trigger circuit LSA1000 supports DC coupling on all sources where all the signal s frequency components are allowed to pass through to the trigger circuit This coupling mode is used for high frequency bursts Slope selects the direction of the trigger voltage trans...

Page 21: ...r when the signal leaves the window region With Ch1 or Ch2 as trigger 4 divisions The trigger threshold on a channel is always normalized to the screen and is therefore affected by offset and Vrange For default configuration of 1V FSR 125mV div and 0V offset the achievable trigger levels are 0 5V Trigger Level Triggers Time Lower Region Upper Region WINDOW REGION ...

Page 22: ...ingle trigger to occur then captures the signal and stops acquiring DELAY Used to adjust the pre or post trigger delay Pre trigger adjustment is available from zero to 100 of the full time scale in steps of 1 The pre trigger delay is illustrated by the vertical arrow symbol at the bottom of the grid Post trigger adjustment is available from 0 to 10 000 divisions in increments of 0 1 of a division ...

Page 23: ...s measure the same waveform parameters such as risetime falltime pulse width overshoot undershoot peak voltage peak to peak voltage maximum minimum standard deviation rms value frequency and period The LSA1000 s standard parameters are listed and described in Appendix C of this manual Waveform Math Waveform mathematics can yield final answers instead of raw data For example inputs from voltage and...

Page 24: ...nique set of sine wave components The data is usually plotted as amplitude vs frequency exposing information not easily visible in the time domain amplitude vs time Ideally it can be used for such analyses as measuring frequency components of communication signals and monitoring drift in an oscillator The frequency resolution of an FFT is directly proportional to the number of time domain points t...

Page 25: ...is used for Ethernet communication See the Remote Control Manual LeCroy s Versatile Instrument Control Protocol VICP allows much of the behavior of GPIB to be emulated using Ethernet Users can exercise the full functionality of LSA1000 from the host PC using the following easy to use software tools These tools also simplify users programming development for own specific applications An ActiveX con...

Page 26: ...sition system in binary format On receipt of a trigger the output goes to the HIGH state until the acquisition is complete at which time it will go LOW Front Panel High Speed Signal Digitizer Analyzer 2GS s 750MHz 100Base T Fast Ethernet LSA1000 Series FOR FIRE PROTECTION AT ALL LINE VOLTAGES REPLACE ONLY WITH A T5 0A 250V FUSE FUSE MAINTAIN GROUND LINE TO AVOID ELECTRICAL SHOCK NO OPERATOR SERVIC...

Page 27: ...from the host computer Main Power Switch power on off switching USB port Currently disabled Provision for future enhancement Note All six BNC connections may be located on the LSA1000 rear rather than front panel depending on the instrument s mechanical configuration Rear Panel ...

Page 28: ......

Page 29: ...2 1 2 About the LSA1000 ...

Page 30: ...ied to the following EN61010 1 category Protection Class I Installation Overvoltage Category II Pollution Degree 2 Safety Symbols Where the following symbols or indications appear on the instrument s front or rear panels or elsewhere in this manual they alert the user to an aspect of safety Symbol Meaning CAUTION Refer to accompanying documents for Safety related information See elsewhere in this ...

Page 31: ...onditions are understood and met see also CAUTION WARNING Any use of this instrument in a manner not specified by the manufacturer may impair the instrument s safety protection The LSA1000 has not been designed to make direct measurements on the human body Users who connect a LeCroy instrument directly to a person do so at their own risk Power Requirements The LSA1000 operates from a 115 V 90 132 ...

Page 32: ...nt carrying conductors may exceed 250 V rms with respect to ground potential The LSA1000 is provided with a three wire electrical cord containing a three terminal polarized plug for mains voltage and safety ground connection The plug s ground terminal is connected directly to the frame of the unit For adequate protection against electrical hazard this plug must be inserted into a mating outlet con...

Page 33: ...Safety auxiliary On Off switch located on the front panel After the instrument is switched on auto calibration is performed CAUTION Do not exceed the maximum specified signal input voltage levels see Appendix A for details ...

Page 34: ...3 1 3 Installation and Safety ...

Page 35: ... Ethernet Connection The LSA1000 operates over a standard 10 100BaseT Ethernet connection The instrument can be plugged into a network or operated from a direct connection to a host computer A different type of cable is required for each of these connections For a direct connection of LSA1000 to PC a cross over cable is required whereas the network connection is made using a straight cable The LSA...

Page 36: ...static addressing But this means that the PC cannot be set up to obtain its IP address from a DHCP server To set the host PC s static address with Windows 95 1 Select Start Settings Control Panel 2 Double click on the Network icon in the Control Panel A nework dialog box similar to this one appears Note The following examples assume that the host PC operates from Windows 95 The connection procedur...

Page 37: ...log box similar to the one below appears Select 4 If this has already been selected then the computer s static address is set and nothing more needs to be done Cancel out of the TCP IP and network dialog boxes and close the control panel ...

Page 38: ... 1 Connect the LSA1000 to the PC using a cross over cable for direct connection 2 Power the LSA1000 unit on The green LED power indicator on the front panel will light up Verifying Connection The physical connection and the PC s TCP IP configuration can be verified using the ping command available on both Windows 95 and Windows NT with TCP IP network protocol installed In order to check the networ...

Page 39: ...a message to the instrument and waited for a response But if a timeout occurs as is shown in box on the next page the IP address used for the destination the LSA1000 is incorrect or not within the subnet mask of the PC s IP address ...

Page 40: ...and the LSA1000 to behave strangely However a network connection ought to be as simple as plugging the LSA1000 into the network Proper connection can be verified by following the instructions on verification in the previous section For those users concerned mainly with system throughput network connection is not recommended as the network traffic will slow down the LSA1000 data transfer rate ...

Page 41: ...t s name serial number and software revision level CONET Returns the current IP address configuration including the mask and gateway Default is IP 172 25 1 2 Mask 255 255 0 0 Gateway 172 25 0 1 CONET IP 172 25 1 5 MASK 255 255 0 0 GATEWAY 172 25 0 1 Sets the IP address This example changes the unit s IP address to 172 25 1 5 Once the IP address is changed the unit will no longer respond to the ori...

Page 42: ...4 8 Connecting to PC or Network Example of responses for IDN and CONET queries ...

Page 43: ...4 1 4 Connecting to PC or Network ...

Page 44: ...e LSA1000 See pages 5 6 and 5 11 ActiveDSO Based on Microsoft s ActiveX control technology ActiveDSO gives leverage to widely available Microsoft software tools and makes programming within the Microsoft environment easier ActiveDSO simplifies the computer s interface with the LSA1000 and programming within Visual C Visual Basic or any other ActiveX compatible applications For example Microsoft Ex...

Page 45: ... Developer Studio 5 0 The TCP IP protocol is accessed using this socket which is platform independent For non Windows systems such as the UNIX based workstation the NET_CON sockets software can be used as the baseline implementation of the LSA1000 network protocol The NET_CON source code is provided in Appendix B of this manual See also page 5 22 ...

Page 46: ... Follow the on screen instructions to complete the installation 4 Ensure that the Ethernet connection between the PC and LSA1000 is established see Chapter 4 5 Start Remote LSA 6 After starting the program you will be asked for the IP address of the LSA1000 as shown in the following dialog box Select TCPIP under Type and enter the IP address of the your LSA1000 unit 7 Click Remote LSA will be laun...

Page 47: ...mote LSA Panel The Timebase Trigger control panel is displayed here see following sections Remote LSA Menu The standard menus are described here File New Connection creates a new connection File Exit returns to the operating system ...

Page 48: ...m traces the grid and the screen Chosen colors replace the default colors Option Comm Spy opens a window that shows the ASCII transfer that takes place between the LSA1000 and the host computer An example of the Comm Spy window is shown in the figure below Data from the Comm Spy can be cut and pasted into other applications to make script files Comm Spy Window ...

Page 49: ... tab Timebase Trigger This control panel is accessed by clicking on halts acquisitions starts an acquisition that continuously updates the screen taking into account possible trigger occurrence or after a short time interval if no trigger has been detected normal continuously updates the screen as long as a valid trigger is present single arms the LSA1000 and acquires one trigger selects the signa...

Page 50: ...tons that change the display status of the corresponding channel toggle buttons provide a mechanism for changing the active channel without modifying the display status sets the vertical position of the active channel It is calibrated in volts 0 5 V And the offset scroll bar to its right offers offset control using mouse automatically adjusts the offset to display the active channel ...

Page 51: ...ns allow the active memory trace to be expanded horizontally spin buttons allow the active memory trace to be expanded vertically scroll bar allows the active memory trace to be positioned horizontally on the screen While the scroll bar allows the active memory trace to be positioned vertically on the screen invokes a menu for loading of selected math functions restores all traces to the normal ZO...

Page 52: ... division display grid on or off enables or disables a pair of cursors on each active trace The time and amplitude difference between the cursors on the active trace is displayed at the bottom of the screen enables or disables Persistence Display Mode enables or disables dual display ...

Page 53: ...ontrol panel is accessed by clicking on is the window for remote command input to the LSA1000 Refer to the Remote Control Manual executes all the commands listed in the window displays the text messages returned by the LSA1000 erases the reply window ...

Page 54: ...th the LSA1000 see Chapter 4 2 Connect the LSA1000 s REF OUT to CH 1 3 Start Remote LSA 4 In the Timbase Trigger panel click on to set the trigger to automatic 5 Select channel from the Channel panel 6 The program should display a 10MHz square waveform of approximately 400mV amplitude as shown on the next page This process using Remote LSA is a simple means of verifiing that the LSA1000 is working...

Page 55: ...5 12 LSA1000 Software Tools Remote LSA display of LSA1000 s External Reference Out Waveform ...

Page 56: ...eateObject Once the object is created it can be initialized by invoking the connection method ActiveDSO enables control of the LSA1000 from a variety of PC desktop applications And the complexities of programming using Ethernet are fully encapsulated in this control For example with less than 10 lines of VBA code in an Excel macro the spreadsheet can recover pre scaled waveform data from the LSA10...

Page 57: ...werPoint with just a few mouse clicks 1 Ensure that the ActiveDSO files from the CD ROM are installed on the PC 2 Check that the PC and LSA1000 are properly connection via the Ethernet 3 Open PowerPoint with a new blank presentation 4 Select Insert and then Object as shown here Note this example assumes that PowerPoint 97 is being used Earlier versions may or may not behave in the same manner ...

Page 58: ...5 15 5 From the pop up window select LeCroy ActiveDSO object as shown here 6 Right click on the object and select Make Connection ...

Page 59: ...5 16 LSA1000 Software Tools 7 Select Network TCP IP connection as shown here for scope read LSA1000 8 Enter the LSA1000 s IP address and click OK ...

Page 60: ... shown here LSA1000 s captured waveform imported into PowerPoint Once the ActiveDSO object has been properly set within the application macro script can be created utilizing an object method such as SendString to send DISP ON C1 TRA ON TRMD AUTO see the Remote Control Manual Then RefreshImage method can be used to update the screen ...

Page 61: ...tion IP 172 25 1 2 Connect to the unit Call o WriteString DISP ON 1 Enable the internal display routine Call o WriteString TRMD AUTO 1 Set the trigger mode to AUTO End Sub _______________________________________________ ______ To enter the VBA editor in members of the Microsoft Office suite 1 Select Tools Macro Visual Basic Editor menu item 2 When the VBA window appears select the Insert Module me...

Page 62: ...xplorer 2 Click on Scope Scope Finder 3 In the Scope Selector window click OK as below 4 When the ADD DEVICE window opens select Network If you don t see Network button press ALT N simultaneously 5 A Network Device window will appear as here ...

Page 63: ...5 20 LSA1000 Software Tools ...

Page 64: ...ternal scope like screen representation of the acquired waveform can be viewed with Display button Use the Refresh button to refresh the screen dump image IP address change ScopeExplorer can be used to change the IP address of the LSA1000 See Chapter 4 for details ScopeExplorer is supported for all LeCroy instruments and additional information can found on the LeCroy web site www lecroy com ...

Page 65: ... based workstation the NET_CON sample program provides the baseline implementation of a stable TCP IP communication between the LSA1000 and the computer system This API Applications Programming Interface sits above the TCP IP protocol stack in all UNIX systems and is also available in Windows 95 and Windows NT It is for the most part platform independent and should allow the same source code to co...

Page 66: ...5 1 5 LSA1000 Software Tools ...

Page 67: ...R adjustable over 10 1 range Offset Range FSR DC Accuracy typically 1 Vertical Resolution 8 bits up to 11 bits with Enhanced Resolution ERES of Option WP01 Bandwidth Limiter 25 MHz 200 MHz Input Coupling DC Input Impedance 50 2 Max Input 2 5 V rms and 5 V peak Acquisition status output ECL level output Indicates acquisition is complete Acquisition Modes Single shot For transient and repetitive sig...

Page 68: ...options available Memory 1GS s 1MS s 100K 0 1 ms 100 ms 500K 0 5 ms 500 ms 1M 1 ms 1 s 2M 2 ms 2 s 4M 4 ms 4 s Clock Accuracy 10 ppm Interpolator resolution 2ns or sample size whichever is larger External reference 10MHz square wave input and output The instrument can be synchronized to an external reference Multiple units can also be synchronized ...

Page 69: ...ording 0 100 of record size adjustable in 1 increments Post trigger Delay 0 1 000 times record size adjustable in 1 increments Internal Trigger Range FSR setting EXT Trigger ECL trigger standard Optional TTL trigger in lieu of ECL EXT Trigger Max Input ECL 0 0V to 4 0V TTL 7 5V to 11 5V EXT Trigger Range ECL or TTL signal swing Trigger Timing Trigger Date and Time available ...

Page 70: ...e turned off any of above modes usable without destroying data with WP01 Option FFT Spectral Analysis with five windowing functions and FFT averaging with optional WP02 Spectrum Analysis Package Histogramming and Trending With optional WP03 Parameter Analysis Package in depth diagnostics on waveform parameters Internal Memory Waveform Memory Up to four 16 bit Memories Processing Memory Up to four ...

Page 71: ...erature 5 to 40 C 41 to 104 F rated accuracy 0 to 45 C 32 to 113 F operating Power 90 132VAC or 180 250VAC 45 66Hz 200W max Altitude Up to 4600 m 15090 ft operating 40 C max Shock and Vibration Conforms to selected sections of MIL PRF 28800F Class 3 Dimensions HWD 3 5 x 19 0 x 17 5 inches Weight 10 5 kg 23 lb net 15 kg 33 lb shipping Warranty Three years Conformity CE Conformity EMC Conforms to EN...

Page 72: ......

Page 73: ...A 1 A Appendix A Specifications ...

Page 74: ... time h include net_con h static int hSocket static int sTimeout 3 static int sWinsockInitFlag FALSE static char sCurrentAddress 256 static int sConnectedFlag FALSE define CMD_BUF_LEN 8192 static char sCommandBuffer CMD_BUF_LEN int TCP_Connect char ip_address SOCKADDR_IN serverAddr int sockAddrSize sizeof SOCKADDR result WORD wVersionRequested WSADATA wsaData const int resp 1 char tmpStr 512 fd_se...

Page 75: ...Flag TRUE build server socket address serverAddr sin_family AF_INET serverAddr sin_port htons SERVER_PORT if serverAddr sin_addr s_addr inet_addr ip_address 1 MessageBox 0 Bad server address ERROR MB_OK return 1 create client s socket if hSocket socket AF_INET SOCK_STREAM 0 INVALID_SOCKET MessageBox 0 Unable to create client s socket ERROR MB_OK return 1 if setsockopt hSocket IPPROTO_TCP TCP_NODEL...

Page 76: ...locking mode ioctlsocket hSocket FIONBIO argp connect to server scope if result 1 sprintf tmpStr Unable to make connection to IP s ip_address MessageBox 0 tmpStr TIMEOUT MB_OK return 1 sConnectedFlag TRUE return 0 int TCP_Disconnect void if sConnectedFlag TRUE return 1 closesocket hSocket sConnectedFlag FALSE return 0 int TCP_WriteDevice char buf int len BOOL eoi_flag TCP_HEADER header ...

Page 77: ... 0 header iLength htonl len write the header first if send hSocket char header sizeof TCP_HEADER 0 sizeof TCP_HEADER MessageBox 0 Unable to send header info to the server ERROR MB_OK return 1 bytes_more len idxPtr buf bytes_xferd 0 while 1 then write the rest of the block idxPtr buf bytes_xferd if result send hSocket char idxPtr bytes_more 0 0 MessageBox 0 Unable to send data to the server ERROR M...

Page 78: ... int TCP_ReadDevice char buf int len int recv_count TCP_HEADER header char tmpStr 512 int result accum space_left bytes_more buf_count char idxPtr fd_set rd_set 1 0 TIMEVAL tval if sConnectedFlag TRUE return 1 recv_count 0 if buf NULL return 1 rd_set fd_array 0 hSocket tval tv_sec sTimeout tval tv_usec 0 memset buf 0 len buf_count 0 ...

Page 79: ...ader accum 0 0 TCP_ClearDevice MessageBox 0 Unable to receive header info from the server ERROR MB_OK return 1 accum result if accum sizeof header break header iLength ntohl header iLength if header iLength 1 return 0 only read to len amount if header iLength space_left header iLength space_left sprintf tmpStr Read buffer size d bytes is too small len MessageBox 0 tmpStr ERROR MB_OK read the rest ...

Page 80: ...bytes_more 2048 2048 bytes_more 0 0 TCP_ClearDevice MessageBox 0 Unable to receive data from the server ERROR MB_OK return 1 accum result if accum header iLength break if accum buf_count len break buf_count accum space_left accum if header bEOI_Flag EOI_FLAG break if space_left 0 break recv_count buf_count return 0 int TCP_SetTimeout int seconds sTimeout seconds return 0 int main int argc char arg...

Page 81: ...n 6 TRUE TCP_Disconnect return 0 if TCP_ReadDevice replyBuf 512 read TCP_Disconnect return 0 if TCP_Disconnect return 0 printf Scope s reply s n replyBuf return 0 define SERVER_PORT 1861 define EOI_FLAG 0x01 define SRQ_FLAG 0x08 define CLEAR_FLAG 0x10 define LOCKOUT_FLAG 0x20 define REMOTE_FLAG 0x40 define DATA_FLAG 0x80 define READ_TIME_OUT 10 NET_CON H ...

Page 82: ...B 9 NET_CON Source Code define TCP_MINIMUM_PACKET_SIZE 64 typedef struct unsigned char bEOI_Flag unsigned char reserved 3 int iLength TCP_HEADER ...

Page 83: ......

Page 84: ...B 1 Appendix B NET_CON Source Code B ...

Page 85: ...base reference lines is fundamental for ensuring correct parameter calculations The analysis begins by computing a histogram of the waveform data over the time interval spanned by the left and right time cursors For example the histogram of a waveform transitioning in two states will contain two peaks Fig C 1 The analysis will attempt to identify the two clusters that contain the largest data dens...

Page 86: ...e interval separating the points on the rising or falling edges is then estimated to yield the rise or fall time These results are averaged over the number of transition edges that occur within the observation window Rising Edge Duration Mr i i i Tr Tr Mr 1 10 90 1 Falling Edge Duration Mf i i i Tf Tf Mf 1 90 10 1 Where Mr is the number of leading edges found Mf the number of trailing edges found ...

Page 87: ...rate differential time measurements between two traces for example propagation setup and hold delays Fig C 3 Parameters such as c2d require the transition polarity of the clock and data signals to be specified RIGHT CURSOR LEFT CURSOR TWO FULL PERIODS 2 cycles first last 50 delay PERIOD PERIOD mean median rms sdev computed on interval periods width width width freq period 1 duty width period area ...

Page 88: ...val separating the rising edge of the clock trigger from the first negative transition of the data signal Similarly c2d 1 2 measures the time interval between the trigger and the next transition of the data signal RIGHT CURSOR LEFT CURSOR TRIGGER POINT DATA 1 CLK 2 THRESHOLD CLOCK EDGE Positive Transition DATA EDGE Negative Transition HYSTERESIS Band Noisy spikes ignored due to Hysteresis band c2d...

Page 89: ...ngle or saw tooth waves for example returns same value as min cycles Determines number of cycles of a periodic waveform lying between cursors First cycle begins at first transition after the left cursor Transition may be positive or negative going Number of cycles of periodic waveform See Fig C 2 cmean Cyclic mean Computes the average of waveform data Contrary to mean computes average over an inte...

Page 90: ...elay of other Time between trigger and first 50 crossing after left cursor See Fig C 2 dly delay Computes time between 50 level of two sources Time between midpoint transition of two sources t lv t at level Computes transition between selected levels or sources Time between transition levels of two sources or from trigger to transition level of a single source Reference levels and edge transition ...

Page 91: ... however less predictable results f level Fall at level Duration of pulse waveform s falling edges between transition levels Duration of falling edge between transition levels On signals NOT having two major levels triangle or saw tooth waves for example top and base can default to maximum and minimum giving however less predictable results fall Fall time Measures time between two specified values...

Page 92: ...terchangeable for example the right cursor may be moved to the left of the left cursor and first will give the location of the cursor formerly on the left now on right maximum Measures highest point in waveform Unlike top does NOT assume waveform has two levels Highest value in waveform between cursors See Fig C 1 Gives similar result when applied to time domain waveform or histogram of data of sa...

Page 93: ...edge On signals NOT having two major levels triangle or saw tooth waves for example may NOT give predictable results period Period of a cyclic signal measured as time between every other pair of 50 crossings Starting with first transition after left cursor period is measured for each transition pair with values averaged to give final result Mr i i i Tr Tr Mr 1 50 50 1 See Fig C 2 Where Mr is the n...

Page 94: ...le or saw tooth waves for example top and base can default to maximum and minimum giving however less predictable results rise Rise time Measurestimebetweentwo specified valuesonwaveform s risingedge 10 90 Rise times foreachedgeaveragedtogivefinal result Timeatupper threshold Timeat lowerthreshold averagedovereach risingedge See Fig C 1 On signals NOT having two major levels triangle or saw tooth ...

Page 95: ...me at level Time from trigger t 0 to crossing at a specified level Time from trigger to crossing level top Higheroftwomostprobablestates thelower beingbase This is characteristic ofrectangular waveformsandrepresentsthehighermost probablestatedeterminedfrom thestatistical distributionof datapointvalues in thewaveform Value of most probable higher state See Fig C 1 Gives similar result when applied ...

Page 96: ......

Page 97: ...C 1 C Appendix C Parameter Measurement ...

Page 98: ...n many cases the LSA1000 may be used solely as a high speed digitizer for transferring large amount of digitized data to the host PC as fast as possible The following is an example program for transferring 2 MB of digitized data from LSA1000 to PC with emphasis on speed of transfer Requirement Sample Rate 1 5GS s Capture Time 50us Number of Points 75 000 LSA1000 Settings Sample Rate 2GS s Time per...

Page 99: ...ferSize IM_Disconnect Example 2 Using Processing Power on LSA1000 Pulse Parameters While Example 1 shows the LSA1000 as a pure high speed digitizer the on board processing capability of the LSA1000 can also be used In fact the LSA1000 has the same math functions and processing capability as a high end LeCroy digital oscilloscope This Example measures pulse widths of the waveforms that were capture...

Page 100: ..._WriteDevice TRLV 0 IM_WriteDevice TRSL POS IM_WriteDevice TRSE EDGE SR C1 Loop IM_QueryDevice ARM WAIT C1 PAVA WID strBuf sizeof strBuf IM_Disconnect Example 3 Using Processing Power for FFT This commands the LSA1000 to perform FFT Fast Fourier Transfer on the captured waveform and transfer FFT result to the host PC Requirement Sample Rate 1 5GS s Capture Time 50us Number of Points 75 000 LSA1000...

Page 101: ...ce TRSE EDGE SR C1 define the math function IM_WriteDevice TA TRA ON IM_WriteDevice TA DEF EQN PS FFT C1 MAXPTS 2500 WINDOW RECT DCSUP OFF Loop IM_WriteDevice ARM WAIT loop until math processing completes Loop IM_QueryDevice INR strBuf sizeof strBuf If strBuf indicates a flag is set Break IM_QueryDevice TA WF DAT1 Buffer BufferSize IM_Disconnect Example 4 Using Processing Power for Averaging This ...

Page 102: ... 5us IM_WriteDevice MSIZ 100K IM_WriteDevice COMB 2 IM_WriteDevice COMS C1 IM_WriteDevice WFSU NP 75000 FP 0 IM_WriteDevice CFMT OFF BYTE BIN IM_WriteDevice TRLV 0 IM_WriteDevice TRSL POS IM_WriteDevice TRSE EDGE SR C1 define the math function IM_WriteDevice TA TRA ON TB TRA ON IM_WriteDevice TA DEF EQN AVGS C1 SWEEPS 25 IM_WriteDevice TB DEF EQN PS FFT TA MAXPTS 2500 WINDOW RECT DCSUP OFF Loop lo...

Page 103: ...izeof strBuf If strBuf indicates a flag is set Break loop until math processing completes on trace B Loop IM_QueryDevice INR strBuf sizeof strBuf If strBuf indicates a flag is set Break IM_QueryDevice TB WF DAT1 Buffer BufferSize IM_Disconnect ...

Page 104: ...D 1 D Appendix D Program Examples ...

Page 105: ...o us what you like and what you think can be improved LeCroy welcomes your suggestions on product improvement or ideas for new products Name Title Company Address Phone Fax Email Product s used Problem s if any Suggestions Mail to LeCroy Corporation Fax to Embedded Signal Analysis Embedded Signal Analysis 1 914 578 5985 700 Chestnut Ridge Road Chestnut Ridge NY 10977 USA ...

Page 106: ...dress Phone Fax Email How would you like the manuals to be changed Did you find any errors in the manuals If so please record them below including the name of the manual and page number s concerned Mail to LeCroy Corporation Fax to Embedded Signal Analysis Embedded Signal Analysis 1 914 578 5985 700 Chestnut Ridge Road Chestnut Ridge NY 10977 USA ...

Page 107: ...E 1 E Appendix E Suggestion Forms ...

Page 108: ...Index ...

Page 109: ......

Page 110: ...ck Edge C 4 Combining Channels 2 1 Command Panel 5 10 Conformity 3 1 A 5 Connections 4 1 Cursors A 4 Cycles C 5 in parameter measurements C 2 Cyclic Mean C 5 Cyclic Median C 5 Cyclic Parameters C 3 Cyclic Root Mean Square C 5 Cyclic Standard Deviation C 6 D Data C 6 Data density C 1 Data Transfer for speed D 1 DC Accuracy A 1 Delay 5 6 C 6 DELAY 2 8 Differential Time Measurements C 3 Digitizers A ...

Page 111: ... 2 3 Memory Length 2 4 Mesial C 2 Minimum C 9 N NET_CON 5 2 5 21 B 1 Network connection 4 6 Norm 5 6 NORM 2 8 O Offset V 5 7 Offset Range A 1 OLE 5 13 Operating Environment 3 1 A 5 Over C 9 Over C 9 Overload 3 3 Overvoltage 3 1 P Packing and Shipment 1 3 Parameters C 1 C 5 C 6 C 7 C 8 C 9 C 10 C 11 PC configuring it 4 2 connecting to 4 1 4 4 operational requirements 4 1 Peak to Peak C 9 Period C 9...

Page 112: ... 5 6 Source Code NET_CON B 1 Standard Deviation C 11 Standard Parameters C 1 Statistical Domain 2 10 Stop 5 6 System Memory 2 3 T TCP 4 2 4 3 4 4 5 21 TCP IP 2 11 5 3 5 16 5 21 Temperature 3 1 LSA1000 Series A 5 Time at Level C 11 Time Domain 2 10 Time intervals C 2 Time Parameter measurements C 2 TIME DIV 2 8 Time Div 5 6 Timebase Trigger 5 6 5 11 Top C 1 C 2 C 11 Trace On Off 5 7 5 8 Trailing Ed...

Page 113: ...Index W Warnings 3 2 Warranty 1 1 A 5 Waveform Math 2 9 Waveform Processing Averaging D 5 FFT D 3 pulse parameters D 2 Weight A 5 Width C 11 Windows 4 1 4 4 5 3 5 21 WinSock 5 21 Z Zoom Math 5 8 ...

Page 114: ...Index ...

Page 115: ...quipment Have surplus equipment taking up shelf space We ll give it a new home Learn more Visit us at artisantg com for more info on price quotes drivers technical specifications manuals and documentation Artisan Scientific Corporation dba Artisan Technology Group is not an affiliate representative or authorized distributor for any manufacturer listed herein We re here to make your life easier How...

Reviews: