D
–
1
D
Appendix D: Program Examples
Using the LSA1000 Software Tools
The application program examples contained in this appendix
demonstrate the practical use by remote control of the
LSA1000 software tools in real-life applications. Refer to the
accompanying Remote Control Manual for the commands.
Note: Memory allocation and error handling are not shown.
Example 1
Digitized Data Transfer from LSA1000 to PC:
In 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 Div. = 5us
Memory Size = 100K
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”);
Содержание LSA1000
Страница 2: ...Operator s Manual LeCroy LSA1000 Signalyst Revision B October 1998 ...
Страница 6: ...iii Contents ...
Страница 9: ...v Foreword ...
Страница 14: ...1 1 Read This First 1 ...
Страница 28: ......
Страница 29: ...2 1 2 About the LSA1000 ...
Страница 34: ...3 1 3 Installation and Safety ...
Страница 42: ...4 8 Connecting to PC or Network Example of responses for IDN and CONET queries ...
Страница 43: ...4 1 4 Connecting to PC or Network ...
Страница 55: ...5 12 LSA1000 Software Tools Remote LSA display of LSA1000 s External Reference Out Waveform ...
Страница 63: ...5 20 LSA1000 Software Tools ...
Страница 66: ...5 1 5 LSA1000 Software Tools ...
Страница 72: ......
Страница 73: ...A 1 A Appendix A Specifications ...
Страница 83: ......
Страница 84: ...B 1 Appendix B NET_CON Source Code B ...
Страница 96: ......
Страница 97: ...C 1 C Appendix C Parameter Measurement ...
Страница 104: ...D 1 D Appendix D Program Examples ...
Страница 107: ...E 1 E Appendix E Suggestion Forms ...
Страница 108: ...Index ...
Страница 109: ......
Страница 114: ...Index ...