@@ -25,8 +25,20 readUnitConfObj = controllerObj.addReadUnit(datatype='SimulatorReader', | |||
|
25 | 25 | delay=0, |
|
26 | 26 | online=0, |
|
27 | 27 | walk=0, |
|
28 |
|
|
|
29 | ||
|
28 | profilesPerBlock=625, | |
|
29 | dataBlocksPerFile=100)#,#nTotalReadFiles=2) | |
|
30 | ''' | |
|
31 | readUnitConfObj = controllerObj.addReadUnit(datatype='VoltageReader', | |
|
32 | path=path, | |
|
33 | startDate="2020/01/01", #"2020/01/01",#today, | |
|
34 | endDate= "2020/12/01", #"2020/12/30",#today, | |
|
35 | startTime='00:00:00', | |
|
36 | endTime='23:59:59', | |
|
37 | delay=0, | |
|
38 | #set=0, | |
|
39 | online=0, | |
|
40 | walk=1) | |
|
41 | ''' | |
|
30 | 42 | opObj11 = readUnitConfObj.addOperation(name='printInfo') |
|
31 | 43 | |
|
32 | 44 | procUnitConfObjA = controllerObj.addProcUnit(datatype='VoltageProc', inputId=readUnitConfObj.getId()) |
@@ -36,14 +48,26 procUnitConfObjA = controllerObj.addProcUnit(datatype='VoltageProc', inputId=rea | |||
|
36 | 48 | #opObj10 = procUnitConfObjA.addOperation(name='selectChannels') |
|
37 | 49 | #opObj10.addParameter(name='channelList', value=[0]) |
|
38 | 50 | opObj11 = procUnitConfObjA.addOperation(name='PulsePairVoltage', optype='other') |
|
39 |
opObj11.addParameter(name='n', value=' |
|
|
51 | opObj11.addParameter(name='n', value='625', format='int')#10 | |
|
40 | 52 | opObj11.addParameter(name='removeDC', value=1, format='int') |
|
41 | 53 | |
|
42 | 54 | #opObj11 = procUnitConfObjA.addOperation(name='PulsepairPowerPlot', optype='other') |
|
55 | #opObj11 = procUnitConfObjA.addOperation(name='PulsepairSignalPlot', optype='other') | |
|
56 | ||
|
43 | 57 | |
|
44 | opObj11 = procUnitConfObjA.addOperation(name='PulsepairVelocityPlot', optype='other') | |
|
58 | #opObj11 = procUnitConfObjA.addOperation(name='PulsepairVelocityPlot', optype='other') | |
|
45 | 59 | #opObj11.addParameter(name='xmax', value=8) |
|
46 | 60 | |
|
47 | opObj11 = procUnitConfObjA.addOperation(name='PulsepairSpecwidthPlot', optype='other') | |
|
61 | #opObj11 = procUnitConfObjA.addOperation(name='PulsepairSpecwidthPlot', optype='other') | |
|
62 | ||
|
63 | procUnitConfObjB= controllerObj.addProcUnit(datatype='ParametersProc',inputId=procUnitConfObjA.getId()) | |
|
64 | ||
|
65 | ||
|
66 | opObj10 = procUnitConfObjB.addOperation(name='ParameterWriter') | |
|
67 | opObj10.addParameter(name='path',value=figpath) | |
|
68 | #opObj10.addParameter(name='mode',value=0) | |
|
69 | opObj10.addParameter(name='blocksPerFile',value='100',format='int') | |
|
70 | opObj10.addParameter(name='metadataList',value='utctimeInit,timeInterval',format='list') | |
|
71 | opObj10.addParameter(name='dataList',value='dataPP_POW,dataPP_DOP,dataPP_SNR,dataPP_WIDTH')#,format='list' | |
|
48 | 72 | |
|
49 | 73 | controllerObj.start() |
General Comments 0
You need to be logged in to leave comments.
Login now