element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Test & Tools
  • Technologies
  • More
Test & Tools
Forum Suggestions for software to generate arbitrary (arb) waveforms?
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Test & Tools to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 15 replies
  • Subscribers 355 subscribers
  • Views 6773 views
  • Users 0 members are here
  • waveform
  • arbitrary_function_generator
Related

Suggestions for software to generate arbitrary (arb) waveforms?

baldengineer
baldengineer over 3 years ago

To avoid the XY Problem, here's what I'm trying to do: I want to generate a repetitive waveform with an occasional glitch. I intend to use it as a demonstration of how oscilloscope acquisition modes, interpolation, and triggers work. So the exact characteristics are yet to be determined. A minimum example would be 10 cycles (with some pre-determined period) with 1 cycle having a glitch (not sure how "big" yet.) A maximum example would be 20 cycles with the glitch where the glitch varies in the waveform. (All depending on available sample memory.)

Off-hand, I'm not aware of any good tools that help automate generating an arbitrary waveform such as that. Ideally, I'd like a CSV export. I'd like the time/voltage as CSV to make it more compatible with various instruments. (Also seems like it'd be useful in simulations?)

Any suggestions? Or what do other people use?

  • Sign in to reply
  • Cancel

Top Replies

  • Gough Lui
    Gough Lui over 3 years ago +6
    I normally just write something quick in Python or use MATLAB. Judicious use of the csv, math and random libraries may well make it a quick job. Another option is that some AWG vendors have their own…
  • shabaz
    shabaz over 3 years ago +6
    Hi James, I find Excel useless at it too : ) It can't handle large datasets. If you want a graphical tool, then a free download of Tektronix ArbExpress will do it : ) You can tell it to generate a…
  • scottiebabe
    scottiebabe over 3 years ago +5
    Lots of good suggestions already. Here is yet another Spice Then you can export the data as a tab delimited file (at least in LTSpice) could always find and replace tab to comma if needed.
Parents
  • shabaz
    shabaz over 3 years ago

    Hi James,

    I find Excel useless at it too : ) It can't handle large datasets.

    If you want a graphical tool, then a free download of Tektronix ArbExpress will do it : )
    You can tell it to generate a sine or square wave or whatever of the desired number of samples, rate, amplitude, etc, and then edit with a pen toolbar icon on-screen, e.g. insert a glitch, even a single sample width.

    (Example screenshot, the green boxes show the things to click on):

    image


    It saves in .CSV format (the first few lines contain Tek info but that can be deleted in any text editor).
    Although it could be edited in Excel, I find Excel will hang for a long time if the CSV file is very large.

    However, like Gough, I'd probably pick Matlab, since it is designed for such tasks, i.e. matrix or sequence array manipulations.

    There is free GNU Octave, which is very similar. Or Python as mentioned, since that too is designed for (or at least is perfect for) dataset work.

    • Cancel
    • Vote Up +6 Vote Down
    • Sign in to reply
    • Cancel
  • baldengineer
    baldengineer over 3 years ago in reply to shabaz

    Perfect Shabaz. I should have thought to check Tek's tool. I assumed it would just do their binary format.

    Turns out, the R&S RTM3000 can import the CSV file directly from the tool (he he.) And it looks like for this case, it'll do what I want with minimal fuss.

    Thank you!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • baldengineer
    baldengineer over 3 years ago in reply to shabaz

    Perfect Shabaz. I should have thought to check Tek's tool. I assumed it would just do their binary format.

    Turns out, the R&S RTM3000 can import the CSV file directly from the tool (he he.) And it looks like for this case, it'll do what I want with minimal fuss.

    Thank you!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube