Thanks Alex and Tom. That would help. I will try it out. Just one more question real quick.. Can i pop up a message box when the operator clicks on a button. For eg. Are you sure ? etc.. Thanks for all your help and a quick response.. Regards, - Rakesh On Thu, May 17, 2012 at 2:00 AM, Badura, Tom <tbadura@xxxxxxxxxx> wrote: > Rakesh, > > We do exactly as you and Alex describe - use one generic overlay for > multiple devices. We set the P1,P2,P3,etc variables as required in a DM > Command Pick Action and then open the overlay with the ov command. One > word of caution - if you open multiple overlays using the same Px variables > the values will be changed with each new overlay opened. That is, if you > set P1 = C1:B1.P1 for Overlay 1 and then set P1 = C2:B2:P2 when opening > Overlay 2 the value will be changed for Overlay 1. This can be a definite > problem if you use the values for any control action. We work around this > by including a close -all command prior to the ov command so only one > overlay will be open at a time. Perhaps Alex or some of the other gurus > could comment or have additional suggestions on this practice. > > Below is an example of the DM Command script for the overlay pick on the > main graphic. > > = P1 EVP01:YY20_CBOL > = P2 EVP01:YY20 > = P3 EVP01:SC20_FAULT > = P4 EVP01:SC20 > close -all > ov \usr\plenco\overlays\GDEV_VFDovl -l UR > > Note: Reference the contents of the variable in a dynamic or action in > the overlay use $Px. > To reference the text of the variable in a text contents dynamic just us > Px (no $). > > Tom Badura > Plastics Engineering Company > tbadura@xxxxxxxxxx > > > -----Original Message----- > > Re: one indication object which has to change color on two conditions ( > i.e Global variable x=1 or y=1 ) > > FoxView can't do logic or arithmetic on connected variables. To get it to > work with one variable, you need to put both conditions into one. The most > common mechanism is to add an MCIN block, set its IOMOPT to 0, and connect > the two discrete inputs to one of its input parameters. FV would be > attached to it. > > > Re: I want to pass some text string from main screen to faceplate screen > i.e I have many similar objects in main screen > > Yes. The P1, P2, P3 variables (and the PICK1 and PICK2 variables) can be > used for this. To get the text into the variable, configure it to do this: > > = PICK1 @ > > Or > > = P1 @ > > This is take the text and store it into P1. Tie your FP/overlay to P1 and > you should get what you want. > > The difference is PICK1x get reset to "garbage" text when you change > displays and Px does not. > > Get a copy of B0193DF to see the full set of variables and commands. > > Regards, > > Alex Johnson > > -----Original Message----- > Subject: [foxboro] FOXDRAW HELP PLEASE.... > > Hi there, > I am new to Foxdraw and I have the below two requirement which I am unable > to execute/implement. > Need your help here. > 1) I have created one indication object which has to change color on two > conditions ( i.e Global variable x=1 or y=1 ). I know I can create two > objects, overlap them and then give visibility. But what If I want to > achieve this in one object only. > 2) I want to pass some text string from main screen to faceplate screen > i.e I have many similar objects in main screen. > When I click on any object, same faceplate would open. When I click on > first object, the faceplate heading text has to be a1, When i click on the > second object, the same faceplate would open with heading text as b1 and so > on. Is there anyway i can pass this string a1, b1 etc through some variable > and use this variable as animation in the faceplate. > > Please help in the above two matter. Appreciate an early response on the > subject. > > Regards, > - Rakesh > > > > _______________________________________________________________________ > This mailing list is neither sponsored nor endorsed by Invensys Process > Systems (formerly The Foxboro Company). Use the info you obtain here at > your own risks. Read http://www.thecassandraproject.org/disclaimer.html > > foxboro mailing list: //www.freelists.org/list/foxboro > to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join > to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave > > _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave