|
|
Home » Community » Newbie corner » Static Ctrl Picture and .iml
Static Ctrl Picture and .iml [message #29739] |
Thu, 11 November 2010 12:41  |
Daniel_Sun
Messages: 5 Registered: November 2010 Location: Hamburg, GER
|
Promising Member |
|
|
Hey,
I'm back with another request.
My aim is to have some kind of pictures or drawings to indicate the status of different bits in a PLC, like LED's. Now the problem is to get those into my TopWindow and change them during runtime (e.g. Bit is 1 -> LED becomes green, Bit is 0 -> LED becomes gray).
If someone could just help me with how to put a selfmade picture or drwaing into my Layout.
Right now I'm at the point where I created an .iml File and added two images. Then I've put a User Class of type "Picture" (labeled picLED1) into my Layout. Now I'd like to assign one of the Images to the "Picture".
Trying something like:
picLED1 = MyImages::grayLED();
would'nt work.
What do I miss?
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sat Apr 26 14:47:37 CEST 2025
Total time taken to generate the page: 0.00689 seconds
|
|
|