EasyManuals Logo

LeCroy SDA User Manual

LeCroy SDA
397 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #191 background imageLoading...
Page #191 background image
SDA Operator’s Manual
SDA-OM-E Rev H 191
Operational Notes
Once FastWavePort is selected, the right-hand dialog shows the current settings. The first of
these is critical, and indicates the base name of the memory window and the two events, which
are global within the Windows O/S. This should be left at its default value and only changed if
multiple FastWavePort functions are used in parallel. Note that this name must match the base
name used in the client application.
The full names of these global objects are:
Memory Mapped File "FastWavePort1File"
Data Available Event "FastWavePort1MutexDataAvailable"
Processing Complete Event "FastWavePort1MutexProcessingComplete"
The "Timeout" field specifies the amount of time that the DSO will wait for the custom processing
function to complete. This prevents the DSO from waiting indefinitely for a potentially
unforthcoming custom processing function. Be careful to set this value to something reasonable,
which means a time that is longer by a reasonable margin than the custom processing is ever
expected to take.
Data Length Limitations
The size of the memory window is fixed at 80 Mbytes, which equates to 40 MSamples.
Performance
This is by far the fastest way to process data using a user-defined algorithm on an X-Stream
DSO.
Choice of Programming Language
The system was designed for use with the C/C++ programming language. However, it is
theoretically possible for the processing to be implemented in any language that supports
Windows named events (Mutex) and can open a named memory-mapped file. No guarantee can
be given, however, as to the behaviour of the system using anything but C/C++.
Example Application
This simple C++ application may be used as a starting point for a custom processing function. It
demonstrates the following:
• How to create handles to the global objects (the memory window and the two events)
• How to read data from the memory window when the DSO flags that it's available
• How to scale the data into units of volts using data in the header that's stored at the
beginning of the memory window.
• How to perform a simple processing function (in this case the absolute value)
• How to define the physical units of the output of the processing function (in this case 'Amps')
• How to flag to the DSO application that processing is complete

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the LeCroy SDA and is the answer not in the manual?

LeCroy SDA Specifications

General IconGeneral
BrandLeCroy
ModelSDA
CategoryMeasuring Instruments
LanguageEnglish