D
–
3
Program Examples
Program Code
IM_MakeConnection(“IP:172.25.1.2”);
// Initialize the unit
IM_WriteDevice(“CHDR OFF”);
IM_WriteDevice(“TDIV 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”);
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 Settings
Sample Rate = 2GS/s
Time per Div. = 5us
Memory Size = 100K
Program Code
Summary of Contents for LSA1000
Page 2: ...Operator s Manual LeCroy LSA1000 Signalyst Revision B October 1998 ...
Page 6: ...iii Contents ...
Page 9: ...v Foreword ...
Page 14: ...1 1 Read This First 1 ...
Page 28: ......
Page 29: ...2 1 2 About the LSA1000 ...
Page 34: ...3 1 3 Installation and Safety ...
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 55: ...5 12 LSA1000 Software Tools Remote LSA display of LSA1000 s External Reference Out Waveform ...
Page 63: ...5 20 LSA1000 Software Tools ...
Page 66: ...5 1 5 LSA1000 Software Tools ...
Page 72: ......
Page 73: ...A 1 A Appendix A Specifications ...
Page 83: ......
Page 84: ...B 1 Appendix B NET_CON Source Code B ...
Page 96: ......
Page 97: ...C 1 C Appendix C Parameter Measurement ...
Page 104: ...D 1 D Appendix D Program Examples ...
Page 107: ...E 1 E Appendix E Suggestion Forms ...
Page 108: ...Index ...
Page 109: ......
Page 114: ...Index ...