Measuring skew between multiple waveforms often requires the storage of many waveforms for recall and measurement. However, most digital scopes only have two or four waveform memories for trace storage. This small number of memory locations limits the number of traces recalled into the scope simultaneously. For applications where measurements must be made on more than 4 traces, (such as skew measurements in memory chips, or propagation delay in fanout buffers), a more powerful solution must be used.
The following example uses the customization capability in the WaveMaster to create 8 virtual memory traces that can be displayed simultaneously. The embedded Excel Math Function ( part of the XMAP option ) in the WaveMaster is used to send waveform data to Excel columns, and then recall the data back to the WaveMaster. Since recalled traces will be treated as normal math traces, it will greatly enhance the processing and analysis time.
Idea
- Use excel function within the WaveMaster to capture the waveform information and put them into an excel worksheet.
- Capture and store the channel data directly into the excel worksheet using visual basic script.
- The maximum column length and maximum number of column is limited by Excel. Remember each column is each trace data.
- By using above captured waveform information, corresponding to each column, we can send back the trace data into the scope using math function F1 through F8.
Demo
- Recall or setup scope as Figure 1 and Figure 2.
- In “Cells” configuration, the header and source information is placed on right side section of the worksheet. V1 is source trace and M2 is the header information. (Figure 2)
- By using ActiveDSO script, the channel data is pulled into worksheet column A3, and next one to B3, C3 and so on......
- Math channel F1, Excel Function, will import the trace data from column A3 and then will display on the screen. F2 will import the trace data from B3, and so on……(Figure 2 “output” and Figure 3).
- All the column data is now imported to scope and displayed! Of course you can display each trace in a separate grid. (Figure 4)
Example script for excel sheet
Example to make the “ Make Scope Beep” button in excel
- View → Toolbars → check mark “Control Toolbox”
- Highlight the “Design Mode” and “Command Button” in control toolbox.
- Click at the cell location where you want to put the command button, then right click at the button.
- Select the “properties” to change the (Name) to be “Make Scope Beep” from “Command Button1”, then return.
- Close the “properties” window.
- Right click at the command button, then select the “view code” – You can also rename the button at “CommandButton Object”
- Insert the above example script code, [Make Scope Beep], into the code sheet.