Commit 84c91086 authored by Holger Brand's avatar Holger Brand
Browse files

Add error handling

- change naming convention.
- Ignore error device is offline error
- Handle invalid accelerator
parent 3099d1f8
......@@ -30,12 +30,13 @@ CSPP_BaseActor:CSPP_BaseActor.AllowMultipleInstances=False
CSPP_BaseActor:CSPP_BaseActor.Settings="Ignore" # Settings: "Ignore", "Auto", "User"
CSPP_BaseActor:CSPP_BaseActor.DefaultGUI=""
CSPP_BaseActor:CSPP_BaseActor.LaunchDefaultGUI=False
CSPP_BaseActor:CSPP_BaseActor.ErrorDialog=True
CSPP_BaseActor:CSPP_BaseActor.ErrorDialog=False
CSPP_BaseActor:CSPP_BaseActor.PollingInterval_s=1.
CSPP_BaseActor:CSPP_BaseActor.PublishMsgsInPQ=False
CSPP_BaseActor:CSPP_BaseActor.PVProxy="AccRestSVInterfaceProxy"
CSPP_BaseActor:CSPP_BaseActor.LaunchPVProxy=True
CSPP_AccRestSVInterface:CSPP_AccRestSVInterface.Connection = "AccRestConnection"
CSPP_AccRestSVInterface:CSPP_AccRestSVInterface.IgnoreVirtAccErr = True # Invalid virtual accrelerator will stop the actor!
#CSPP_AccRestSVInterface:CSPP_AccRestSVInterface.PV_Bool = "XXXDEV01/Bool/Bool"
#CSPP_AccRestSVInterface:CSPP_AccRestSVInterface.PV_Dbl = "XXXDEV01/Dbl/Dbl"
#CSPP_AccRestSVInterface:CSPP_AccRestSVInterface.PV_I32 = "XXXDEV01/I32/I32"
......@@ -81,7 +82,7 @@ PollingIterations="ni.var.psp://localhost/CSPP_AccRest_SV/AccRestSVInterface_Pol
PollingMode="ni.var.psp://localhost/CSPP_AccRest_SV/AccRestSVInterface_PollingMode?.1"
PollingTime="ni.var.psp://localhost/CSPP_AccRest_SV/AccRestSVInterface_PollingTime?.1"
Initialized="ni.var.psp://localhost/CSPP_AccRest_SV/AccRestSVInterface_Initialized?.1"
#XXXDEV01/Bool/Bool="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_Bool"
#XXXDEV01/Bool/Bool="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.Bool"
[AccRestSVInterfaceProxy]
LVClassPath="CSPP_PVProxy.lvlib:CSPP_PVProxy.lvclass"
CSPP_BaseActor:CSPP_BaseActor.DefaultGUI=""
......@@ -96,37 +97,37 @@ WorkerActor="ni.var.psp://localhost/CSPP_AccRest_SV/AccRestSVInterfaceProxy_Work
Polling_Interval_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/AccRestSVInterface_Set-PollingInterval?.1"
Polling_Iterations_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/AccRestSVInterface_Set-PollingIterations?.1"
Polling_Start_Stop_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/AccRestSVInterface_Set-PollingStartStop?.1"
#Write_Bool_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_Bool"
#Write_Char_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_Char"
#Write_Dbl_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_Dbl"
#Write_I32_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_I32"
#Write_I16_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_I16"
#Write_I8_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_I8"
#Write_U32_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_U32"
#Write_U16_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_U16"
#Write_U8_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_U8"
#Write_Sgl_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_Sgl"
#Write_String_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_Str"
#Write_Bool_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_Bool1DArray"
#Write_Char_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_Char1DArray"
#Write_Dbl_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_Dbl1DArray"
#Write_I32_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_I321DArray"
#Write_I16_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_I161DArray"
#Write_I8_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_I81DArray"
#Write_U32_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_U321DArray"
#Write_U16_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_U161DArray"
#Write_U8_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_U81DArray"
#Write_Sgl_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_Sgl1DArray"
#Write_Str_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_Str1DArray"
#Write_Bool_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_Bool2DArray"
#Write_Char_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_Char2DArray"
#Write_Dbl_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_Dbl2DArray"
#Write_I32_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_I322DArray"
#Write_I16_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_I162DArray"
#Write_I8_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_I82DArray"
#Write_U32_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_U322DArray"
#Write_U16_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_U162DArray"
#Write_U8_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_U82DArray"
#Write_Sgl_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_Sgl2DArray"
#Write_Str_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01_Str2DArray"
#Write_Bool_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.Bool"
#Write_Char_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.Char"
#Write_Dbl_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.Dbl"
#Write_I32_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.I32"
#Write_I16_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.I16"
#Write_I8_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.I8"
#Write_U32_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.U32"
#Write_U16_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.U16"
#Write_U8_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.U8"
#Write_Sgl_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.Sgl"
#Write_String_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.Str"
#Write_Bool_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.Bool1DArray"
#Write_Char_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.Char1DArray"
#Write_Dbl_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.Dbl1DArray"
#Write_I32_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.I321DArray"
#Write_I16_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.I161DArray"
#Write_I8_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.I81DArray"
#Write_U32_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.U321DArray"
#Write_U16_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.U161DArray"
#Write_U8_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.U81DArray"
#Write_Sgl_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.Sgl1DArray"
#Write_Str_1DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.Str1DArray"
#Write_Bool_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.Bool2DArray"
#Write_Char_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.Char2DArray"
#Write_Dbl_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.Dbl2DArray"
#Write_I32_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.I322DArray"
#Write_I16_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.I162DArray"
#Write_I8_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.I82DArray"
#Write_U32_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.U322DArray"
#Write_U16_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.U162DArray"
#Write_U8_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.U82DArray"
#Write_Sgl_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.Sgl2DArray"
#Write_Str_2DArray_Msg="ni.var.psp://localhost/CSPP_AccRest_SV/XXXDEV01.Str2DArray"
Markdown is supported
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