Hi Team.
I want to ask the most simple way to do the following in a component
(1) I would like to set the Slider Control from Control to display when the SimComs is selected(SACDA simulation) the reaosn is that then the real data coming from the HW device can be displayed in the same indicator which is a control during Panel simulation.
(2) I also would like to set the Range of the Indicator as per selected Voltage reference property in panel and SimulateComms (SCADA)
(3) I would think this is possible to use the EV Property which we have in the Component creation Templates however I never did something like this do not even know where to look for the properties ot their names
Thanks a million again for all the help
EV property settings
- p.erasmus
- Posts: 434
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 12:01 pm
- Location: Russia / Россия
- Has thanked: 104 times
- Been thanked: 88 times
-
- Matrix Staff
- Posts: 1774
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 452 times
- Been thanked: 612 times
Re: EV property settings
Hello,
1) If you double click the property you will see the values assigned to each of the setting. Then simply use the Component.SetValue API call to write the value to the property.
2) Again this would be done using a Component.SetValue API call to write the VREF property value. You could have avariable to track when the slider changes and this way you only write to the property when the value has changed.
3) If you click the property or the property folder then at the bottom of the property window the variable is shown which shows you what you need to enter when writing to a property, or configuring visibility/writability.
1) If you double click the property you will see the values assigned to each of the setting. Then simply use the Component.SetValue API call to write the value to the property.
2) Again this would be done using a Component.SetValue API call to write the VREF property value. You could have avariable to track when the slider changes and this way you only write to the property when the value has changed.
3) If you click the property or the property folder then at the bottom of the property window the variable is shown which shows you what you need to enter when writing to a property, or configuring visibility/writability.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel