Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Animation - Can I use an expression (event based) to display an Animation? - New User

I am bench testing my application with a DL05. This has been a great way to learn the Lookout application. Ex: PB, high/low bit conditions representing the same PB's color and text state (PB object with no text description, just color background and with it use a logical expression with text and transparent background). Also, multi state text and background color representation using only logical expressions. This way I do not have to develop bitmap graphics (only have the coloring book MSPaint) for text with variable background color.

 

Animations: I need the animation (condensor fanpic1 - which I have rotating with a green background - 1 row 4 columns ) to appear upon a Y2 high bit and not visible upon a low. Also, on the Y2 low bit (condensor fanpic2 - which is not rotating with a gray background - using multistate low = condensor fanpic2 high = null graphic) visible. I have tried several scenarios in trying to make animation (condensor fanpic1) not visible/transparent. No succes. It (condensor fanpic1) is always present regardless of high/low state.

 

I have tested live communications between PB's, pumps, texts, and variable numeric diplays and inputs to various dicrete and Vmemory addresses. K-Sequence protocol. Working well.

 

Please help,

Brad

0 Kudos
Message 1 of 6
(6,352 Views)

You are tring to hide the Animator object correct? In the animation tab in properties, there is an expression field for visible.

 

 

Mike

Mike Crabtree - Lead Developer
Destek of Nevada, Inc. / Digital Telemetry Systems, Inc.
(866) 964-6948 / (760) 247-9512
0 Kudos
Message 2 of 6
(6,350 Views)

Yes. So obvious and simple, duh! With your help. The visible tab works great for the animation.

 

I should have seen that. Here is probably another obvious one for you concerning the same concept. I want the non rotating (condensor_fanpic2) to be visible when Y2 is low.

 

I first tried with a Display Multistate if: PLC_RS232.Y2=0 and (graphic space) = condensor_fanpic2; Else if:PLC_RS232.Y2=0 and (graphic space) = null. It remains not visible, regardless.

 

A Logical Expression however works: PLC_RS232.Y2 ON = null and OFF = condensor_fanpic2 visiblility and non-visibilty works great. Opposite state with my animation visibility and non-visibility.

 

Why won't a Display Multistate described above work with just 2 discrete states assigned?

 

Brad

0 Kudos
Message 3 of 6
(6,347 Views)

For a 2-state display dont use the multistate, more memory intensive.  Create an Expression, for the On and Off Display use Custom.

 

In the multistate is there a graphic selected for "Else"?

 

Mike

Mike Crabtree - Lead Developer
Destek of Nevada, Inc. / Digital Telemetry Systems, Inc.
(866) 964-6948 / (760) 247-9512
0 Kudos
Message 4 of 6
(6,345 Views)

Another duh! That makes complete sense, once I tried a memory address and put whatever graphic per PLC_RS232.V100=0-4 at each bit. Can't use it as a 2 state with a discrete.

 

I forced each bit at V100, one at a time, and each graphic displayed correctly.

 

Thanks again,

Brad

0 Kudos
Message 5 of 6
(6,341 Views)

No problem, good luck on the project.

Mike

Mike Crabtree - Lead Developer
Destek of Nevada, Inc. / Digital Telemetry Systems, Inc.
(866) 964-6948 / (760) 247-9512
0 Kudos
Message 6 of 6
(6,338 Views)