Switch to desktop version  

Ewon TechForum
Providing technical solutions to technical requests



ViewOn Symbol - Display TagName
Daniel_Craw
Junior Member
#1
Hi All,

I am currently creating a pump symbol in a viewOn application and I am having trouble figuring out how to display the tag of the motor.


  Pump Symbol.png (Size: 6,11 KB / Downloads: 34)

The motor has an enumerated symbol tag 'Motor_Stt' that I use to change the colour of the pump depending if it is running or not.

I have created a text element in the symbol called 'TagName' and would like this text to be replaced with the actual tagname of the motor. I realise that I cannot create a 'string' variable in viewon but what I would like to do is somehow take the tag that is assigned to 'Motor_stt' and trim the actual tagname and append it to the tagname text.

For example assign 'MOTOR01_Run' to 'Motor_Stt' on a view. 
Take 'MOTOR01_Run' Trim last four characters from the tagname and append 'MOTOR01' to Tagname. Or even display 'MOTOR01_Run' as a start point.
Reply

ziozetti
Senior Member
#2
I can't answer directly to your question but I can suggest a workaround: you can edit text element attributes (Animation, Visibility, State) showing it only when MOTOR01_Run is 1.
Reply




Possibly Related Threads…
  Viewon Upload to PC Started by Ryan
7 Replies - 10.135 Views
10-11-2021, 07:17 PM
Last Post: Steve Jackson
22-03-2021, 09:55 AM
Last Post: simon
18-01-2019, 06:57 PM
Last Post: simon
  viewON - GIF, anim. Started by Filipsons
2 Replies - 5.610 Views
16-01-2019, 02:04 PM
Last Post: Filipsons
16-03-2018, 04:32 PM
Last Post: ziozetti
09-01-2018, 01:47 PM
Last Post: simon
01-11-2017, 05:35 AM
Last Post: Daniel_Craw
  Using IP-Camara and Viewon Started by IHC
3 Replies - 7.172 Views
10-02-2017, 05:37 AM
Last Post: saud.s@ts-c.com.sa
26-12-2016, 11:05 AM
Last Post: simon



Users browsing this thread:
1 Guest(s)



Theme © Ewon 2019 - Forum software by © MyBB - Cookie policy