Commit 1838442e authored by Holger Brand's avatar Holger Brand
Browse files

PV table based scaling works.

parent 55a2dab4
...@@ -28,14 +28,18 @@ ni.var.psp://localhost/process/PVName_2=2 ...@@ -28,14 +28,18 @@ ni.var.psp://localhost/process/PVName_2=2
[PVScaler] [PVScaler]
#LVClassPath="CSPP_PVScaler.lvlib:CSPP_PVScaler.lvclass" #LVClassPath="CSPP_PVScaler.lvlib:CSPP_PVScaler.lvclass"
LVClassPath="CSPP_PVScaler.lvlib:CSPP_PVScaler_Formular.lvclass" #LVClassPath="CSPP_PVScaler.lvlib:CSPP_PVScaler_Formular.lvclass"
#LVClassPath="CSPP_PVScaler.lvlib:CSPP_PVScaler_Polynomial.lvclass" #LVClassPath="CSPP_PVScaler.lvlib:CSPP_PVScaler_Polynomial.lvclass"
LVClassPath="CSPP_PVScaler.lvlib:CSPP_PVScaler_Table.lvclass"
CSPP_BaseActor:CSPP_BaseActor.ErrorDialog=False CSPP_BaseActor:CSPP_BaseActor.ErrorDialog=False
CSPP_BaseActor:CSPP_BaseActor.PVProxy="PVScalerProxy" CSPP_BaseActor:CSPP_BaseActor.PVProxy="PVScalerProxy"
CSPP_BaseActor:CSPP_BaseActor.LaunchPVProxy=True CSPP_BaseActor:CSPP_BaseActor.LaunchPVProxy=True
CSPP_PVScaler:CSPP_PVScaler.TypeDescriptor="Dbl" CSPP_PVScaler:CSPP_PVScaler.TypeDescriptor="Dbl"
CSPP_PVScaler:CSPP_PVScaler_Formular.Formular="x" #Formular example: x*sin(x) CSPP_PVScaler:CSPP_PVScaler_Formular.Formular="x" #Formular example: x*sin(x)
CSPP_PVScaler:CSPP_PVScaler_Polynomial.Coefficients="0.0,1.0" #Polynom coefficients ai in ascending order. CSPP_PVScaler:CSPP_PVScaler_Polynomial.Coefficients="0.0,1.0" #Polynom coefficients ai in ascending order.
#CSPP_PVScaler:CSPP_PVScaler_Table.Table="Method=[0:nearest,1:linear,2:spline,3:cubic Hermite,4:Langrange],X montonian=[False,True], [xi,yi]"
CSPP_PVScaler:CSPP_PVScaler_Table.Table="1,True,0.0,0.0,10.0,100.0,20.0,200.0,30.0,300.0,40.0,400.0,50.0,500.0,60.0,600.0,70.0,700.0,80.0,800.0,90.0,900.0,100.0,1000.0"
CSPP_PVScaler:CSPP_PVScaler_Table.File="C:\\Users\\Holger\\Documents\\LVP\\CSPP\\CSPP-Template\\Packages\\CSPP_PVConverter\\CSPP_PVScaler_Table\\PVScalingTable.json"
[PVScaler.URLs] [PVScaler.URLs]
#PollingCounter="ni.var.psp://localhost/CSPP_Core_SV/PVScaler_PollingCounter" #PollingCounter="ni.var.psp://localhost/CSPP_Core_SV/PVScaler_PollingCounter"
#PollingDeltaT="ni.var.psp://localhost/CSPP_Core_SV/PVScaler_PollingDeltaT" #PollingDeltaT="ni.var.psp://localhost/CSPP_Core_SV/PVScaler_PollingDeltaT"
...@@ -51,6 +55,14 @@ Formular_000="x" ...@@ -51,6 +55,14 @@ Formular_000="x"
#Make sure that item follow lexical ordering. Polynom_009, _010,...,_099,_100, etc. #Make sure that item follow lexical ordering. Polynom_009, _010,...,_099,_100, etc.
#corresponding to comma separated list in Scale_PV_Msg in PVScalerProxy.URLs #corresponding to comma separated list in Scale_PV_Msg in PVScalerProxy.URLs
Polynom_000="0.0,10.0" Polynom_000="0.0,10.0"
[PVScaler.Files]
#Make sure that item follow lexical ordering. Table_009, _010,...,_099,_100, etc.
#corresponding to comma separated list in Scale_PV_Msg in PVScalerProxy.URLs
File_000="C:\\Users\\Holger\\Documents\\LVP\\CSPP\\CSPP-Template\\Packages\\CSPP_PVConverter\\CSPP_PVScaler_Table\\PVScalingTable.json"
[PVScaler.Tables]
#Make sure that item follow lexical ordering. Table_009, _010,...,_099,_100, etc.
#corresponding to comma separated list in Scale_PV_Msg in PVScalerProxy.URLs
Table_000="1,True,0.0,0.0,10.0,100.0,20.0,200.0,30.0,300.0,40.0,400.0,50.0,500.0,60.0,600.0,70.0,700.0,80.0,800.0,90.0,900.0,100.0,1000.0"
[PVScaler.ScaledURLs] [PVScaler.ScaledURLs]
#Make sure that item follow lexical ordering. ScaledPV_009, _010,...,_099,_100, etc. #Make sure that item follow lexical ordering. ScaledPV_009, _010,...,_099,_100, etc.
#corresponding to comma separated list in Scale_PV_Msg in PVScalerProxy.URLs #corresponding to comma separated list in Scale_PV_Msg in PVScalerProxy.URLs
......
...@@ -53,4 +53,5 @@ Planckstr. 1, 64291 Darmstadt, Germany</Property> ...@@ -53,4 +53,5 @@ Planckstr. 1, 64291 Darmstadt, Germany</Property>
<Item Name="CSPP_PVScaler.lvclass" Type="LVClass" URL="../CSPP_PVScaler/CSPP_PVScaler.lvclass"/> <Item Name="CSPP_PVScaler.lvclass" Type="LVClass" URL="../CSPP_PVScaler/CSPP_PVScaler.lvclass"/>
<Item Name="CSPP_PVScaler_Formular.lvclass" Type="LVClass" URL="../CSPP_PVScaler_Formular/CSPP_PVScaler_Formular.lvclass"/> <Item Name="CSPP_PVScaler_Formular.lvclass" Type="LVClass" URL="../CSPP_PVScaler_Formular/CSPP_PVScaler_Formular.lvclass"/>
<Item Name="CSPP_PVScaler_Polynomial.lvclass" Type="LVClass" URL="../CSPP_PVScaler_Polynomial/CSPP_PVScaler_Polynomial.lvclass"/> <Item Name="CSPP_PVScaler_Polynomial.lvclass" Type="LVClass" URL="../CSPP_PVScaler_Polynomial/CSPP_PVScaler_Polynomial.lvclass"/>
<Item Name="CSPP_PVScaler_Table.lvclass" Type="LVClass" URL="../CSPP_PVScaler_Table/CSPP_PVScaler_Table.lvclass"/>
</Library> </Library>
This diff is collapsed.
{
"Method":1,
"X is monotonic":true,
"X":[0,100],
"Y":[0,100]
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment