oley

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 39 total)
  • Author
    Posts
  • in reply to: CurData in dasboard view #17070
    oley
    Participant

    Hi,

    I tried this at the beginning, but it also does not work and additionally shows this directory structure in the tree view:
    ..
    ..
    ..
    custom
    MyPage

    Can this custom page be located in the project directory structure, or must be in SCADA program files directory structure?

    Now I’ve got this simple html in the views/Weather directory in my project, but dashboard show only blank field.

    in reply to: Calculated input/output channels #17061
    oley
    Participant

    Hi,

    I figured it out myself before I read the answer. Thanks!

    in reply to: CurData in dasboard view #17054
    oley
    Participant

    First of all I will show a weather widget in a dashboard. Something like that:

    <div id="tp-widget-default" data-city="12031" data-version="2.0.0">
    	<div id="tp-widget-bottom-default">
    		<a id="tp-widget-flink-default" href="https://www.twojapogoda.pl/prognoza-godzinowa-polska/warminsko-mazurskie-wegorzewo/" target="_blank" rel="nofollow" title="Węgorzewo - prognoza godzinowa">Godzina po godzinie</a>
    		<a id="tp-widget-flink-second" href="https://www.twojapogoda.pl/prognoza-16dni-polska/warminsko-mazurskie-wegorzewo/" target="_blank" rel="nofollow" title="Węgorzewo - prognoza na 16 dni">Na 16 dni</a>
    		<a id="tp-widget-mlink-default" href="https://www.twojapogoda.pl" target="_blank" rel="nofollow" title="TwojaPogoda.pl - Pogoda w Polsce i na świecie - pogoda na 16 dni"></a>
    	</div>
    	<script type="text/javascript">
    		(function (t, p, w, d, g) {
    			if (t.getElementById(w)) return;
    			d = t.getElementsByTagName(p)[0], g = t.createElement(p);
    			g.id = w; g.src = "https://widget.twojapogoda.pl/default/main.js";g.charset="UTF-8";
    			d.parentNode.appendChild(g);
    		}(document, "script", "tp-widget-script-default"));
    	</script>
    </div>

    I put a simplest html in project views directory and set it up:

    <Widget type=”CustomUrl” url=”./MyPage.html” />

    but it also don’t work.

    in reply to: CurData in dasboard view #17052
    oley
    Participant

    Views

    https://ibb.co/200ccgrq

    I tried different paths, but can’t get this work.

    • This reply was modified 2 days ago by oley.
    in reply to: Calculated input/output channels #17045
    oley
    Participant

    Hi,

    thank you, it works.
    Another question: how to setup channel, which will be an Off-On and use it with toggle and led on a scheme view?

    in reply to: Roles for map view #17040
    oley
    Participant

    Hi,

    thank you, I will come in January with this topic.

    in reply to: CurData in dasboard view #17039
    oley
    Participant

    Hi,

    thank you.
    I put those files as described into c:\Program Files\SCADA\ScadaWeb\custom\
    mypage.css
    MyPage.html
    mypage.js

    In web browser I see in the tree view left:
    ..
    ..
    custom
    Test

    And the view says Unable to redirect because URL is empty

    in reply to: Roles for map view #17020
    oley
    Participant

    Hi,
    Finally, there will be about 20-30 objects in the system.
    The administrator can see/control all of them and select them from the map.
    These objects are assigned to users/owners who should only see their own objects — this works after defining roles.

    I would like the user/owner, after logging in, to:
    – see the map
    – see only their own objects on it

    Every user owns 1-4 objects.

    in reply to: CurData in dasboard view #17019
    oley
    Participant

    Hi,

    how to set it up with custom page?

    in reply to: CurData in dasboard view #17011
    oley
    Participant

    Hi,

    one more question: is it possible for the table view to show only the current value?

    in reply to: Map location icon #17004
    oley
    Participant

    Hi,

    I have some other questions according the state.
    In the documentation I read:

    Icons of the Classic type icons are based on an image file. The file name has a suffix corresponding to the object status: undefined, normal, error, and unbound (the status is not bound to a channel).

    Than later:

    StatusCnlNum – the number of the input channel that shows the object status. Equals 0 if the channel is not specified. Valid channel data: channel status equal to 0 means that the object status is not defined, channel value equal to 0 means the object is normal, channel value equal to 1 means the object is in an error state;

    So I have to define a channel to visualize the status?
    When the unbound icon is displayed?

    in reply to: Roles for map view #17001
    oley
    Participant

    Hi,

    I have several objects, let’s say PV1, PV2, PV3, PV4, which are shown on the map. The administrator can see all objects, of course.
    I assign objects PV1 and PV2 to user U1, and PV3 and PV4 to user U2.
    After logging in, users can only see views of their own objects, but they cannot see the map, because it is not assigned to any object, but is a collective view of all objects.
    Ideally, user U1 would see the map with their objects PV1 and PV2, etc.

    in reply to: Map location icon #16987
    oley
    Participant

    Hi,

    of course. Now it works fine. Thanks.

    in reply to: Automatic Control Module triggers #16975
    oley
    Participant

    Hi,

    I made a correction: I created a calculated channel based on the status of the database channel. Triggers based on the values of this calculated channel fires correctly.

    in reply to: Map location icon #16963
    oley
    Participant

    Hi,

    thank you, it works like a charm, but…
    Every upload of the configuration rewrite my PlgMap.xml file.
    What to do to prevent this?

Viewing 15 posts - 1 through 15 (of 39 total)