It is currently Wed Apr 23, 2014 9:51 pm




Post new topic Reply to topic  [ 7 posts ] 
 Dynamic object 
Author Message
Cadet
Cadet

Joined: Mon Nov 14, 2011 7:15 pm
Posts: 8
Post Dynamic object
Dear everyone,
Please help me to create a dynamic object (please see a picture in the attached file).
When pressing a button (boolean: 1 ON, 0 - OFF), all black to be the pink colour one and the all white bar to be the red colour one. Or if you have any suggest to another beautiful dynamic style for the engine running. Please advise it to me.
Thank you,
Best regards,


Attachments:
Engine.JPG
Engine.JPG [ 139.5 KiB | Viewed 1589 times ]
Sat Dec 10, 2011 3:20 am
Profile
Moderator
Moderator

Joined: Wed Apr 18, 2007 11:00 am
Posts: 645
Location: Sacramento Ca.
Post Re: Dynamic object
There are a lot of ways to do this, but the best is to just make the object with multiple rectangles and bind the fill color. I've included a palette with the mock-up. It is grouped rectangles and uses 3 dynamic properties on the group for the 2 colors and the current state.


Attachments:
File comment: Custom animated rectangle thing.
Custom components.vpal [3.51 KiB]
Downloaded 134 times

_________________
Robert McKenzie
Inductive Automation
Technical Support
Mon Dec 12, 2011 11:49 am
Profile WWW
Cadet
Cadet

Joined: Mon Nov 14, 2011 7:15 pm
Posts: 8
Post Re: Dynamic object
Dear,
How to insert it into Ignition window?
Thank you


Mon Dec 12, 2011 4:14 pm
Profile
Moderator
Moderator

Joined: Sun Apr 02, 2006 2:46 pm
Posts: 1982
Location: Sacramento, CA
Post Re: Dynamic object
You right click on any tab in the component palette of the designer and select Import Palette...

_________________
Travis Cox
Inductive Automation
Technical Support Rep.


Mon Dec 12, 2011 4:16 pm
Profile WWW
Cadet
Cadet

Joined: Mon Nov 14, 2011 7:15 pm
Posts: 8
Post Re: Dynamic object
Thank you very much :D


Mon Dec 12, 2011 4:29 pm
Profile
Cadet
Cadet

Joined: Mon Nov 14, 2011 7:15 pm
Posts: 8
Post Re: Dynamic object
Dear Travis Cox,
How to do it blinking continously?


Mon Dec 12, 2011 4:32 pm
Profile
Moderator
Moderator

Joined: Sun Apr 02, 2006 2:46 pm
Posts: 1982
Location: Sacramento, CA
Post Re: Dynamic object
What are trying to get blinking exactly?

Typically you use the Style Customizer from the right click menu on the component to setup blinking. You can also bind the color property to a tag and setup a number to color translation where one or more of the states can blink.

_________________
Travis Cox
Inductive Automation
Technical Support Rep.


Mon Dec 12, 2011 4:37 pm
Profile WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: