Scada-LTS icon indicating copy to clipboard operation
Scada-LTS copied to clipboard

Scripting : limit risk of errors when using writeDataPoint function

Open nduvernois opened this issue 1 year ago • 0 comments

In the scripting tab, when the writeDataPoint is used, it is needed to use the ExportID of the related datapoint, which is definitely different from the pxxxxx identifier that appears on a selected context point. It is then needed to open another tab to the datapoint details in order to find the ExportID, and there is still the risk of mistyping the ExportID in the script. -> Suggestion 1 : for each selected datapoint, display the pxxxxx identifier, but also the ExportID. -> Suggestion 2 : add a "writeable context point selector", with the same model as current "(readable) context point selector", and afterwards check that only writeable points are written (the script already checks that only readable points are read)

Additional context I'm using ScadaLTS 2.6.18

nduvernois avatar Nov 07 '23 13:11 nduvernois