# Module Index

- `fn_gen` - A library for usage with SCPI compliant function generators (for now the DG2000 series from rigol)
  - `common` - Common functions that are used all over the package
  - `dg2052` - The main funciton generator module
  - `enums` - Some enums that are used within this package
    - `comm_method` - Communication Method Enumeration
    - `sweep_signal_type` - Enumeration representing the different signal types used in a sweep
    - `sweep_spacing` - The spacings used for the sweep
    - `sweep_trigger_slope` - The different slopes used when the `sweep_trigger_source` is set to `SweepTriggerSource.EXTERNAL`
    - `sweep_trigger_source` - The different sources available to trigger a sweep
  - `errors` - A combination of errors used within the package
    - `undefined_communication_method_error` - An error type used when the communication method is not in the `CommMethod` enum
    - `undefined_value_error` - An error used when the value used is not defined
    - `value_out_of_bounds_error` - An error used when the value used is out of bounds for the function