Created **fn_gen** repository and added python library
This commit is contained in:
6
fn_gen/enums/__init__.py
Normal file
6
fn_gen/enums/__init__.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from .comm_method import CommMethod
|
||||
from .output_channel import OutputChannel
|
||||
from .sweep_spacing import SweepSpacing
|
||||
from .sweep_trigger_slope import SweepTriggerSlope
|
||||
from .sweep_trigger_source import SweepTriggerSource
|
||||
from .sweep_signal_type import SweepSignalType
|
||||
5
fn_gen/enums/comm_method.py
Normal file
5
fn_gen/enums/comm_method.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from enum import Enum
|
||||
|
||||
class CommMethod(Enum):
|
||||
USB = 0
|
||||
LAN = 1
|
||||
5
fn_gen/enums/output_channel.py
Normal file
5
fn_gen/enums/output_channel.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from enum import Enum
|
||||
|
||||
class OutputChannel(Enum):
|
||||
ONE = 1
|
||||
TWO = 2
|
||||
6
fn_gen/enums/sweep_signal_type.py
Normal file
6
fn_gen/enums/sweep_signal_type.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from enum import Enum
|
||||
|
||||
class SweepSignalType(Enum):
|
||||
SINE = 1
|
||||
SQUARE = 2
|
||||
RAMP = 3
|
||||
6
fn_gen/enums/sweep_spacing.py
Normal file
6
fn_gen/enums/sweep_spacing.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from enum import Enum
|
||||
|
||||
class SweepSpacing(Enum):
|
||||
LIN = 1
|
||||
LOG = 2
|
||||
STEP = 3
|
||||
5
fn_gen/enums/sweep_trigger_slope.py
Normal file
5
fn_gen/enums/sweep_trigger_slope.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from enum import Enum
|
||||
|
||||
class SweepTriggerSlope(Enum):
|
||||
POSITIVE = 1
|
||||
NEGATIVE = 2
|
||||
6
fn_gen/enums/sweep_trigger_source.py
Normal file
6
fn_gen/enums/sweep_trigger_source.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from enum import Enum
|
||||
|
||||
class SweepTriggerSource(Enum):
|
||||
INTERNAL = 1
|
||||
EXTERNAL = 2
|
||||
MANUAL = 3
|
||||
Reference in New Issue
Block a user