microspec Logo

Contents:

  • Getting Started
  • How To Read This Documentation
  • Writing Applications
  • Dev-kit API
  • Dev-kit API Guide
  • How to handle timeouts
  • Under The Hood (How microspeclib works)
  • Contributing to MicroSpec
  • microspeclib
    • microspeclib package
    • bin package
      • Submodules
        • bin/microspec_cmdline.py
        • bin/microspec_emulator.py
        • bin/microspec_expert_example.py
        • bin/microspec_simple_example.py
    • cfg package
    • tests package
  • bin package
    • Submodules
      • bin/microspec_cmdline.py
      • bin/microspec_emulator.py
      • bin/microspec_expert_example.py
      • bin/microspec_simple_example.py
  • cfg package
  • tests package
microspec
  • »
  • microspeclib »
  • bin package
  • View page source

bin package¶

Submodules¶

  • bin/microspec_cmdline.py
    • Example Usage
      • Get help
      • Blink the debug LEDs
        • Turn Bridge LED red
        • Turn Sensor LED0 and LED1 red
      • Measurements
        • Capture one frame once
        • Capture a frame 50 times with 2 seconds inbetween
        • Capture a frame and print results in csv
      • Specify timeout for commands that take a long time
        • Send a command that takes longer than the default timeout
        • Set a timeout so the command has time to execute
      • Configure spectrometer pixels
        • pixel binning ON, pixel gain 1x, all rows on (full pixel height)
      • Specify USB port
        • Connect to a specific port on Linux/Mac
        • Connect to a specific COM port on Windows
      • Connect to emulator instead of hardware
  • bin/microspec_emulator.py
    • Example Usage
      • Longwinded example
      • Short example
  • bin/microspec_expert_example.py
  • bin/microspec_simple_example.py
Next Previous

© Copyright 2020, Chromation Inc

Built with Sphinx using a theme provided by Read the Docs.