Add PSSS panel
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
description = 'correlation'
|
||||
ext.plugin = 'Correlation'
|
||||
ext.mainClass = hasProperty('mainClass') ? mainClass : 'ch.psi.pshell.workbench.App'
|
||||
ext.title = 'Correlation'
|
||||
ext.desc = 'Correlation' //The plugin class
|
||||
ext.desc = 'Correlation'
|
||||
ext.readonly = true
|
||||
ext.deploy_type= 'pkg'
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
#!/bin/sh
|
||||
APP_ARGS_NAME=\$(echo "APP_${app_name}" | tr '[:lower:]' '[:upper:]')_ARGS
|
||||
APP_ARGS_NAME=\${APP_ARGS_NAME//-/_}
|
||||
|
||||
exec pshell-workbench -b -l -g -nbcf \${!APP_ARGS_NAME} \
|
||||
# Run the workbench configured with the package paths, loading the plugin.
|
||||
exec pshell-workbench -b -l -g -nbcf \$${app_args_var} \
|
||||
-plgp ${pkg_folder}/plugins \
|
||||
-scpt ${pkg_folder}/script \
|
||||
-devp ${pkg_folder}/devices \
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#!/bin/sh
|
||||
APP_ARGS_NAME=\$(echo "APP_${app_name}" | tr '[:lower:]' '[:upper:]')_ARGS
|
||||
APP_ARGS_NAME=\${APP_ARGS_NAME//-/_}
|
||||
|
||||
# Run the package with all passed arguments
|
||||
exec pshell-workbench -b -d -l -k -g -q -statusbar -size=1000x700 -console_log=SEVERE -m ${pkg_folder} \${!APP_ARGS_NAME} "\$@"
|
||||
# Run the package with application specific arguments, and all command-line passed arguments
|
||||
exec pshell-workbench -b -d -l -k -g -q -nbcf -statusbar -size=1000x700 -console_log=SEVERE -m ${pkg_folder} \$${app_args_var} "\$@"
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
dispatcher=ch.psi.pshell.bs.Dispatcher|https://dispatcher-api.psi.ch/sf|||
|
||||
cam_server=ch.psi.pshell.bs.PipelineServer|sf-daqsync-01:8889|||
|
||||
#dispatcher=ch.psi.pshell.bs.Dispatcher|https://dispatcher-api.psi.ch/sf|||
|
||||
|
||||
|
||||
3
correlation/src/main/pkg/script/local.py
Normal file
3
correlation/src/main/pkg/script/local.py
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
add_device(PipelineSource("cam_server"), True)
|
||||
add_device(Dispatcher("dispatcher"), True)
|
||||
Reference in New Issue
Block a user