《lecroy 93XXC-OM-E23 电路图.pdf》由会员分享,可在线阅读,更多相关《lecroy 93XXC-OM-E23 电路图.pdf(15页珍藏版)》请在收音机爱好者资料库上搜索。
1、(? $SSHQGL?(?$62;4) TimeSinceFirstTrig= INDIRECT(ADDRESS(DesiredSegment +3;3;4) Plotting the data from all segments using a scatter plot will result in all segments overlaid (similar to the scopes display of sequence traces in persistence mode). 3ORWWLQJ?D?6LQJOH? 6HJPHQW?:DYHIRUP (WUDFWLQJ?6HJPHQWV
2、 IURP?6HTXHQFH :DYHIRUPV (? $SSHQGL?( (? $6&,?:DYHIRUP?(SRUW 8VLQJ?0DWKFDG These examples were created using MathSofts Mathcad for Windows. On this and the next page, the procedure for reading and graphing a file for a single segment is shown, using Mathcad Versions 3.1 and 7, respectively. The exam
3、ple on page E9 is for multiple segments. 6LQJOH?6HJPHQW?9HUVLRQ? This single-segment example illustrates the use of Mathcad Version 3.1: (? $SSHQGL?( 6LQJOH?6HJPHQW?9HUVLRQ?This single-segment example is valid for more recent versions of Mathcad: AREADPRN file() Klast A 0 Asubmatrix A 2,K,0,1,() tA
4、0 vA 1 Klast t ( )k0 K1. vk tk 0.00100.0010.0020.0030.004 1 0 1 (? $6&,?:DYHIRUP?(SRUW 0XOWL?6HJPHQW?(DPSOHThe following Mathcadexample demonstrates how to extract data from a given segment. The data used for this example consisted of two segments of three samples each, allowing the entire imported
5、matrix to be shown. (? $SSHQGL?( 8VLQJ?0$7/$% This example was created using MathWorks MATLAB Version 4.2c.1 for Windows. Reading and graphing a waveform in MATLABmay be achieved with two simple commands, as the following example shows. The first command loads the file into a matrix which is automat
6、ically named after the file. The second command plots this matrix. (? $6&,?:DYHIRUP?(SRUW HWDLOHG?HVFULSWLRQ?RI?WKH?)RUPDWV 6SUHDGVKHHWFormat 1RWH? Fields in bold type are constants that are present in the output file as shown. Fields in italic are variables that are filled in when the file is writt
7、en. , Segments,SegmentSize, Segment,TrigTime, TimeSinceFirstSegment #1,0.0 . #, Time,Ampl,Ampl1 x(0),y(0),y1(0) x(1),y(1),y2(0) . x(numgseg*numpts),y(numseg*numpts), y1(numseg*numpts) Single-Segment Example LECROY9354,935412345 Segments,1,SegmentSize,502 Segment,Trig Time,TimeSinceFirstSegment #1,21
8、 Mar 1990 9:37:08,0.0 Time,Ampl 0.0,1 0.1,2 . (? $SSHQGL?( Multi-Segment Example LECROY9354,935412345 Segments,3,SegmentSize,502 Segment,Trig Time,TimeSinceFirstSegment #1,21 Mar 1990 9:37:08,0.0 #2,21 Mar 1990 9:37:13,5.0 #3,21 Mar 1990 9:37:15,7.0 Time,Ampl 0.0,1 0.1,2 . 0.0,1.1 0.0,2.1 . 0.0,1.05
9、 0.0,2.05 Dual-Array Example LECROY9354,935412345 Segments,1,SegmentSize,502 Segment,Trig Time,TimeSinceFirstSegment #1,21 Mar 1990 9:37:08,0.0 Time,Ampl 0.0,1.1,1.1 0.1,2.1,2.1 . 1RWH? ? The basic structure of the Spreadsheet format is a header containing scope identification information, followed
10、by a block containing trigger times for multi- segment waveforms, followed by the data itself. ? This format is compatible with the ASCII import of the LeCroy LW4xx Arbitrary Function Generator. (? $6&,?:DYHIRUP?(SRUW 0DWKFDG?Format SegmentTimeSinceFirstSegment 10.0 . TimeAmplAmpl1 . Single-Segment
11、Example “LECROY9354,935412345” “23-March-90,12:44:23” 1502 SegmentTimeSinceFirstSegment 10.0 TimeAmpl 0.01 0.12 . (? $SSHQGL?( Multi-Segment Example “LECROY9354,935412345” “23-March-90,12:44:23” 3502 SegmentTimeSinceFirstSegment 10.0 25.0 37.0 TimeAmpl 0.01 0.12 . 0.0 1.1 0.1 2.1 . 0.0 1.05 0.1 2.05
12、 1RWH? ? The format created for MathCad is very similar to the Spreadsheet format, but with some differences due to the way MathCad interprets the header information. ? One of the most important of these is that the absolute trigger time is only given for the first segment, with relative times (in u
13、nits of seconds) being included for each segment. ? Another difference is that the scope identification and trigger time are wrapped in quotes to ensure that MathCad does not attempt to import them. (? $6&,?:DYHIRUP?(SRUW 0$7/$%?)LOHV Format y(0) y(1) . y(numseg*numpts) Single Segment Example 1.0 1.1 1.2 . 4.5 1RWHV ? The MATLAB format is simple, without header information and having amplitude values only. ? Multiple segments will be appended without a separator. ? Only one value from the pair of amplitude values present in a dual-array will be stored.