Skip to content

Commit 5a5982e

Browse files
committed
changing names and setting attributes
1 parent 49b8cd6 commit 5a5982e

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/pymodaq_plugins_teaching/extensions/gen_ext.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,14 @@
88
from pymodaq.control_modules.daq_viewer import DAQ_Viewer, DAQTypesEnum
99

1010
from typing import Optional
11+
from pymodaq.extensions.utils import CustomExt
1112

12-
class GenApp(CustomApp):
13+
EXTENSION_NAME = 'Generator' # the name that will be displayed in the extension list in the
14+
# dashboard
15+
CLASS_NAME = 'GenExt' # this should be the name of your class defined below
16+
17+
18+
class GenExt(CustomExt):
1319
params = [
1420
{'title': 'Frequency', 'name': 'frequency',
1521
'type': 'slide', 'value': 10, 'default': 10,

0 commit comments

Comments
 (0)