pvplot 0.6.9__tar.gz → 1.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pvplot-0.6.9 → pvplot-1.0.0}/PKG-INFO +1 -1
- pvplot-1.0.0/config/pvplot_PeakSimulator.py +48 -0
- pvplot-1.0.0/config.py +48 -0
- pvplot-1.0.0/config_proposal.py +40 -0
- {pvplot-0.6.9 → pvplot-1.0.0}/pvplot/__main__.py +4 -0
- pvplot-1.0.0/pvplot/helptxt.py +6 -0
- {pvplot-0.6.9 → pvplot-1.0.0}/pvplot/pvplot.py +198 -165
- pvplot-0.6.9/pvplot/pvpopld.py → pvplot-1.0.0/pvplot/pvplot_tmp.py +11 -6
- {pvplot-0.6.9 → pvplot-1.0.0}/pyproject.toml +1 -1
- pvplot-0.6.9/apwork/__main__.py +0 -51
- pvplot-0.6.9/apwork/apstrim/__init__.py +0 -47
- pvplot-0.6.9/apwork/apstrim/__main__.py +0 -69
- pvplot-0.6.9/apwork/apstrim/apstrim.py +0 -425
- pvplot-0.6.9/apwork/apstrim/liteCNS.py +0 -32
- pvplot-0.6.9/apwork/apstrim/pubEPICS.py +0 -214
- pvplot-0.6.9/apwork/apstrim/scan.py +0 -336
- pvplot-0.6.9/apwork/apstrim/view.py +0 -237
- pvplot-0.6.9/apwork/pvplot.py +0 -875
- pvplot-0.6.9/fallback/__main__.py +0 -854
- pvplot-0.6.9/liteaccess/.__init__.py.swp +0 -0
- pvplot-0.6.9/liteaccess/__init__.py +0 -3
- pvplot-0.6.9/liteaccess/liteCNS.py +0 -32
- pvplot-0.6.9/liteaccess/liteaccess.py +0 -693
- pvplot-0.6.9/ln/liteserver/__init__.py +0 -0
- pvplot-0.6.9/ln/liteserver/device/__init__.py +0 -0
- pvplot-0.6.9/ln/liteserver/device/helpers.py +0 -60
- pvplot-0.6.9/ln/liteserver/device/i2c.py +0 -933
- pvplot-0.6.9/ln/liteserver/device/i2c_312.py +0 -718
- pvplot-0.6.9/ln/liteserver/device/i2c_320.py +0 -725
- pvplot-0.6.9/ln/liteserver/device/i2c_322.py +0 -755
- pvplot-0.6.9/ln/liteserver/device/i2c_TLV493D.py +0 -620
- pvplot-0.6.9/ln/liteserver/device/liteCNSserver.py +0 -51
- pvplot-0.6.9/ln/liteserver/device/liteGQ.py +0 -199
- pvplot-0.6.9/ln/liteserver/device/liteLabjack.py +0 -194
- pvplot-0.6.9/ln/liteserver/device/liteMCUFEC.py +0 -581
- pvplot-0.6.9/ln/liteserver/device/litePeakSimulator.py +0 -195
- pvplot-0.6.9/ln/liteserver/device/liteScaler.py +0 -224
- pvplot-0.6.9/ln/liteserver/device/liteUSBCam.py +0 -132
- pvplot-0.6.9/ln/liteserver/device/liteUvcCam.py +0 -134
- pvplot-0.6.9/ln/liteserver/device/liteVGM.py +0 -318
- pvplot-0.6.9/ln/liteserver/device/liteWLM.py +0 -77
- pvplot-0.6.9/ln/liteserver/device/senstation.py +0 -434
- pvplot-0.6.9/ln/liteserver/device/test/test_dht11.py +0 -58
- pvplot-0.6.9/ln/liteserver/liteserver.py +0 -984
- pvplot-0.6.9/ln/liteserver/liteserver_unlist.py +0 -1005
- pvplot-0.6.9/pvplot/apstrimAccess.py +0 -65
- pvplot-0.6.9/pvplot/pvp.py +0 -917
- pvplot-0.6.9/pvplot/pvp1.py +0 -935
- pvplot-0.6.9/tmp.py +0 -93
- {pvplot-0.6.9 → pvplot-1.0.0}/LICENSE +0 -0
- {pvplot-0.6.9 → pvplot-1.0.0}/README.md +0 -0
- {pvplot-0.6.9 → pvplot-1.0.0}/cad_epics/__init__.py +0 -0
- {pvplot-0.6.9 → pvplot-1.0.0}/cad_epics/epics.py +0 -0
- {pvplot-0.6.9 → pvplot-1.0.0}/pvplot/__init__.py +0 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
""" Pvplot configuration for litePeakSimulator, serving port 9710 at localhost.
|
|
2
|
+
The command line to start litePeakSimulator:
|
|
3
|
+
python3 -m liteserver.device.litePeakSimulator -ilo -p9710
|
|
4
|
+
"""
|
|
5
|
+
configFormat='pvplot'
|
|
6
|
+
TITLE="PeakSimulator"
|
|
7
|
+
|
|
8
|
+
""" The following variables are not handled yet:
|
|
9
|
+
YES = 1
|
|
10
|
+
POLLPERIOD = 0
|
|
11
|
+
MINPOLLPERIOD = 0
|
|
12
|
+
POLLBEFOREASYNC = 1
|
|
13
|
+
AVERAGETYPE = none
|
|
14
|
+
LOGFORMAT = logger
|
|
15
|
+
LOGPERIODSEC = 0
|
|
16
|
+
LOGMETHOD = 'continuous'
|
|
17
|
+
LOGDESCRIPTION = ""
|
|
18
|
+
LOGCORRELATION = 'NOTREQUIRED'
|
|
19
|
+
FILLDATA = YES
|
|
20
|
+
LOGTREEPATH = '/operations/app_store/RunData/currentFill/'
|
|
21
|
+
PREFERREDLOGDISPLAY = Snapshot
|
|
22
|
+
XLABEL = "Time (us)"
|
|
23
|
+
YLABEL = "V"
|
|
24
|
+
DATASTAMPTYPE = 'WCTPERIOD'
|
|
25
|
+
WCTCORRPERIOD_MSEC = 1000
|
|
26
|
+
WCTCORRWINDOW_MSEC = 1000
|
|
27
|
+
SYNCHRONIZED = 0
|
|
28
|
+
YMINAUTOSCALE = 2
|
|
29
|
+
YMAXAUTOSCALE = 2
|
|
30
|
+
YLOGAXIS = 0
|
|
31
|
+
Y2LABEL = ""
|
|
32
|
+
Y2MINAUTOSCALE = 2
|
|
33
|
+
Y2MAXAUTOSCALE = 2
|
|
34
|
+
Y2LOGAXIS = 0
|
|
35
|
+
ERRORBARS = 0
|
|
36
|
+
FONTTYPE = 'Medium'
|
|
37
|
+
KEEPPREVIOUS = 0
|
|
38
|
+
"""
|
|
39
|
+
dev='L:localhost;9710:dev1:'
|
|
40
|
+
|
|
41
|
+
DOCKS = [
|
|
42
|
+
{'YMax':f'device({dev}yMax)',
|
|
43
|
+
'YMin':f'device({dev}yMin)',
|
|
44
|
+
'Y[10]':f'device({dev}y[500])',
|
|
45
|
+
},
|
|
46
|
+
{'YvsX':(f'device({dev}x)',f'device({dev}y)'),
|
|
47
|
+
}
|
|
48
|
+
]
|
pvplot-1.0.0/config.py
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
""" Pvplot configuration for litePeakSimulator, serving port 9710 at localhost.
|
|
2
|
+
The command line to start litePeakSimulator:
|
|
3
|
+
python3 -m liteserver.device.litePeakSimulator -ilo -p9710
|
|
4
|
+
"""
|
|
5
|
+
configFormat='pvplot'
|
|
6
|
+
TITLE="PeakSimulator"
|
|
7
|
+
|
|
8
|
+
""" The following variables are not handled yet:
|
|
9
|
+
YES = 1
|
|
10
|
+
POLLPERIOD = 0
|
|
11
|
+
MINPOLLPERIOD = 0
|
|
12
|
+
POLLBEFOREASYNC = 1
|
|
13
|
+
AVERAGETYPE = none
|
|
14
|
+
LOGFORMAT = logger
|
|
15
|
+
LOGPERIODSEC = 0
|
|
16
|
+
LOGMETHOD = 'continuous'
|
|
17
|
+
LOGDESCRIPTION = ""
|
|
18
|
+
LOGCORRELATION = 'NOTREQUIRED'
|
|
19
|
+
FILLDATA = YES
|
|
20
|
+
LOGTREEPATH = '/operations/app_store/RunData/currentFill/'
|
|
21
|
+
PREFERREDLOGDISPLAY = Snapshot
|
|
22
|
+
XLABEL = "Time (us)"
|
|
23
|
+
YLABEL = "V"
|
|
24
|
+
DATASTAMPTYPE = 'WCTPERIOD'
|
|
25
|
+
WCTCORRPERIOD_MSEC = 1000
|
|
26
|
+
WCTCORRWINDOW_MSEC = 1000
|
|
27
|
+
SYNCHRONIZED = 0
|
|
28
|
+
YMINAUTOSCALE = 2
|
|
29
|
+
YMAXAUTOSCALE = 2
|
|
30
|
+
YLOGAXIS = 0
|
|
31
|
+
Y2LABEL = ""
|
|
32
|
+
Y2MINAUTOSCALE = 2
|
|
33
|
+
Y2MAXAUTOSCALE = 2
|
|
34
|
+
Y2LOGAXIS = 0
|
|
35
|
+
ERRORBARS = 0
|
|
36
|
+
FONTTYPE = 'Medium'
|
|
37
|
+
KEEPPREVIOUS = 0
|
|
38
|
+
"""
|
|
39
|
+
dev='L:localhost;9710:dev1:'
|
|
40
|
+
|
|
41
|
+
DOCKS = [
|
|
42
|
+
{'YMax':f'device({dev}yMax)',
|
|
43
|
+
'YMin':f'device({dev}yMin)',
|
|
44
|
+
'Y[10]':f'device({dev}y[500])',
|
|
45
|
+
},
|
|
46
|
+
{'YvsX':(f'device({dev}x)',f'device({dev}y)'),
|
|
47
|
+
}
|
|
48
|
+
]
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
configFormat='pvplot'
|
|
2
|
+
TITLE="Blue Injection Scope"
|
|
3
|
+
POLLPERIOD 0
|
|
4
|
+
MINPOLLPERIOD 0
|
|
5
|
+
POLLBEFOREASYNC 1
|
|
6
|
+
AVERAGETYPE none
|
|
7
|
+
LOGFORMAT logger
|
|
8
|
+
LOGPERIODSEC 0
|
|
9
|
+
LOGMETHOD continuous
|
|
10
|
+
LOGDESCRIPTION ""
|
|
11
|
+
LOGCORRELATION NOTREQUIRED
|
|
12
|
+
FILLDATA YES
|
|
13
|
+
LOGTREEPATH /operations/app_store/RunData/currentFill/
|
|
14
|
+
PREFERREDLOGDISPLAY Snapshot
|
|
15
|
+
XLABEL "Time (us)"
|
|
16
|
+
YLABEL "kV (at 1 V/div)"
|
|
17
|
+
DATASTAMPTYPE WCTPERIOD
|
|
18
|
+
WCTCORRPERIOD_MSEC 1000
|
|
19
|
+
WCTCORRWINDOW_MSEC 1000
|
|
20
|
+
SYNCHRONIZED 0
|
|
21
|
+
YMINAUTOSCALE 2
|
|
22
|
+
YMAXAUTOSCALE 2
|
|
23
|
+
YLOGAXIS 0
|
|
24
|
+
Y2LABEL ""
|
|
25
|
+
Y2MINAUTOSCALE 2
|
|
26
|
+
Y2MAXAUTOSCALE 2
|
|
27
|
+
Y2LOGAXIS 0
|
|
28
|
+
ERRORBARS 0
|
|
29
|
+
FONTTYPE Medium
|
|
30
|
+
KEEPPREVIOUS 0
|
|
31
|
+
SNAPREFRESHMODE 2
|
|
32
|
+
SNAPSUBCYCLES 1 2 3 4 5 6 7 8 9 10
|
|
33
|
+
|
|
34
|
+
dev='tek5Scope.inject7W_blu:'
|
|
35
|
+
|
|
36
|
+
#STATIC Time= 1.e6*device(tek5Scope.inject7W_blu:tAxis[*])
|
|
37
|
+
DOCKS =
|
|
38
|
+
[
|
|
39
|
+
{f'Module{i}':f'device({dev}c{i}WaveforM:value[*])*a+b' for i in [1,2,3,4]}
|
|
40
|
+
]
|
|
@@ -17,6 +17,10 @@ def main():
|
|
|
17
17
|
"Prefix, which will be added to all data objects, e.g: 'L:localhost:dev1:'")
|
|
18
18
|
#TODO:parser.add_argument('-H', '--histogram', help=\
|
|
19
19
|
# 'Plot the space-separated parameters as histograms')
|
|
20
|
+
parser.add_argument('-f', '--file', help=
|
|
21
|
+
'Configuration file')
|
|
22
|
+
parser.add_argument('-l', '--limit', type=int, default=1048576,
|
|
23
|
+
help='Upper limit for number of points to store')
|
|
20
24
|
parser.add_argument('-s', '--sleepTime', type=float, default=0.1,
|
|
21
25
|
help='sleep time between data delivery [s]')
|
|
22
26
|
parser.add_argument('-v', '--verbose', action='count', default=0, help=\
|