Skip to content

Expanded command line options and more

Compare
Choose a tag to compare
@asvela asvela released this 31 Oct 20:20
  • Expanded command line programmes to take many more options:

    • Connection settings: visa_address, timeout
    • Acquiring settings: channels, acq_type
    • Transfer and storage settings: wav_format, num_points, filename, file_delimiter
  • Added Oscilloscope.generate_file_header() to generate file header with structure::

        <id>
        <mode>,<averages>
        <timestamp>
        time,<chs>
    

    Now used by save_trace()

  • (No compatibility measures introduced): Camel case in function names is no more

    • getTrace -> get_trace
    • saveTrace -> save_trace
    • plotTrace -> plot_trace
    • and others
  • (No compatibility measures introduced): Oscilloscope.build_sourcesstring() -> Oscilloscope.determine_channels() and changed return sequence

  • (No compatibility measures introduced): module installed_commandline_funcs -> installed_cli_programmes

  • (No compatibility measures introduced): functions ending with _command_line() -> _cli()

  • Fixed issue when setting number of points to transfer

  • Fixed issue (hopefully) with sometimes getting wrong traces exported. Have now set communication to signed ints, and setting least significant bit first

  • Fixed issue where ASCii wave format would set zero time to the beginning of the trace

  • Wrote comprehensive documentation on read the docs