Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:mervis-scada:50-api [2019/03/13 15:12]
m.chlupac [setDataPointValue]
en:mervis-scada:50-api [2019/03/13 15:25]
m.chlupac [setDataPointValue]
Line 163: Line 163:
 Sets data point value using a button (primary the INIT button). Only numerical values are supported. Parameter buttonName is not mandatory. Value 'INIT' is used if buttonName is not defined. Sets data point value using a button (primary the INIT button). Only numerical values are supported. Parameter buttonName is not mandatory. Value 'INIT' is used if buttonName is not defined.
  
 +{{ :en:mervis-scada:init.png?direct&800 |}}
  
 **Example:** **Example:**
Line 168: Line 169:
 dpGuid = 'ccaacb77-295b-48a8-a712-3fb272aa9b6f';  dpGuid = 'ccaacb77-295b-48a8-a712-3fb272aa9b6f'; 
 projectId = '6b65447e-8622-4a0d-b3b9-42f1d905fdaa';  projectId = '6b65447e-8622-4a0d-b3b9-42f1d905fdaa'; 
-buttonName = 'INIT' //see action ("button") name in Mervis SCADA GUI+buttonName = 'INIT' %see action ("button") name in Mervis SCADA GUI
 newValue = 1; newValue = 1;
  
  • © Energocentrum Plus, s.r.o. 2017 - 2024