Previous Next         Current Page: NeXtMidas Training / Macros - Part 1 (Basics) / Lab 7 / Solution
Start Here   
Background   
Common Midas Concepts   
Getting Started   
Working with Files   
Option Trees   
Macros - Part 1 (Basics)   
   + Macro Basics   
   + Lab 1   
   + Lab 2   
   + Loops and Control Structures   
   + Lab 3   
   + Lab 4*   
   + Procedures and Subroutines   
   + Lab 5   
   + Lab 6*   
   + Pipes in a Macro   
   - Lab 7   
      - Instructions   
      - Solution   
   + Lab 8   
   + Messages in a Macro   
   + Lab 9   
   + Lab 10   
Macros - Part 2 (Graphics)   
Primitives   
Installing NeXtMidas   
Applets & WebStart   
Mapping (NeXtEarth)   
Remote Midas InterFace (RMIF)   
Using NetBeans   
X-Midas Interoperability   
Remoting an X-Midas App.   


  • Lab 7 (Solution):
    • The macro should look like this:
      startmacro
        pipe on
          panel
          waveform _wave form=sf elem=100k
          fft/dbf _wave _waveb
          plot _waveb
        pipe off
      endmacro
    • When you run the macro you should see a plot similar to this: