Forum Replies Created
-
AuthorPosts
-
dannytan
ParticipantHi Mikhail,
It works now with this Cnl <= 1 ? 1 : -1
So my channel input is 101 (with data value of 0) , when i put this formula, it became 1 and pin map turns REDQuestion now is how to make the pin map turns green if data value is bigger than 0?
I wrote a formula in my dictionaries
ID 11 :
if (Cnl<1)
{ return 1; }
else
{return 0;}Another question is how to put this formula ID into my formula table in the input channels?
Thanks
dannytan
ParticipantHi Mikhail,
Sorry i am having difficulty in this map.
So my input channels is 125 with signal 25 (from modbus with value of 0)I make another input 101 with channel type real ; object enterprise; device state ; signal (blank) ; formula used (check) ; Formula Val (125) <=1 ? 1 : -1 ; Stat (125)
Then in .map file i put “<StatusCnlNum> 101 </StatusCnlNum>”
The pin won’t turn red.
I want the map pin to turn red if 125 with signal 25 (modbus is 0) , green (otherwise).
Thanks a lot.
dannytan
ParticipantHi Mikhail,
Yeah i understand, problem is that what is the input so that the pin is red? or grey or blue?
Thanks
dannytan
ParticipantHi Mikhail,
Sorry again, i have found the solution by simply copy paste the website link into the interface and it works.
Now , my question will be
“problem is that if my decimal input = 0 ; My map pin turns green and if it is positive ; my pin turns greyHow to turn the map pin to green if >0 and turns red if 0”
Thanks
dannytan
ParticipantHi Mikhail,
I know the problem now, it is on <StatusCnlNum>, problem is that if my decimal input = 0 ; My map pin turns green and if it is positive ; my pin turns grey
How to turn the map pin to green if >0 and turns red if 0
Secondly,
For the link details as for now <link viewID = “2”/>
How to change this link into my power BI link? let say “https://powerbi.com”Thanks
dannytan
ParticipantHi Mikhail,
Thanks for your promp reply. I checked .map file. But it doesnt specify on how to associate my chanel input into the pin on the map.
I would like my 101 input to be associate with the map pin and show let say green on 0 and red on 1 . How am i supposed to do it?
https://wetransfer.com/downloads/b6a93d6b165f9e061f15618f6bbb84b320221125092743/94674ccc32b4f7537b413c7a48d12e3520221125092803/98331ddannytan
ParticipantHi again,
The first question settled ; i have changed input into enum text, everything is fine now. Can you help me with the color state of the pin on the map plugin ?
Thanks
dannytan
ParticipantI make a new unit called State (ID 38) Normal;Fire1;Fire2
No matter what decimal i got from the input (0,1 or 2); the state stucked on Normal state.Thanks
-
AuthorPosts