Call POPups More Than One

Прочие SCADA: iFix, InTouch, Citect, ...
Post Reply
srinathair
Posts: 1
Joined: Mon May 09, 2016 9:11 am

Call POPups More Than One

Post by srinathair » Mon May 09, 2016 9:18 am

Hi,

Iam Using Intouch V11 with Archestra Embedded. I that Created three Symbols (Gas Detector, Flame Detector & Manual Call Point) and wrote script for each detector to call POP ups. I can Open A gas Detector and Flame detector in the Run time. Whereas I cannot Open two Gas Detectors at a time. Attached the Gas Detector script. Kindly review and help me to Open more than one gas detector Pop up in a graphic window.



'Set Indirect Tag

'PV
InTouch:POP_GD_PV.Name=Text1.Text;

'RAW
InTouch:POP_GD_RAW.Name=Text1.Text+"_RAW";




'HH
InTouch:POP_GD_HH.Name=StringReplace( Text1.Text, "QIA", "QIAHH", 0, 1, 0 );

'H
InTouch:POP_GD_H.Name=StringReplace( Text1.Text, "QIA", "QIAH", 0, 1, 0 );

'BAD
InTouch:POP_GD_BAD.Name=StringReplace( Text1.Text, "QIA", "QYA", 0, 1, 0 )+"_BAD";

'BY
InTouch:POP_GD_BY.Name=StringReplace( Text1.Text, "QIA", "QYA", 0, 1, 0 )+"_BY";

'MOD
InTouch:POP_GD_MOD.Name=StringReplace( Text1.Text, "QIA", "QYA", 0, 1, 0 )+"_MOS";



InTouch:SYS_View_Bit05=1; 'Existing / New (0 : Hidden / 1: Show)



'Call Graphic
Dim graphicInfo as aaGraphic.GraphicInfo;
graphicInfo.Identity = "GAS_DETECTOR";
graphicInfo.GraphicName = "Symbol_POP_PV"; 'File Name

graphicInfo.HasTitleBar=true;
graphicInfo.HasCloseButton=true;

'CustomProperty set
Dim cpValues [1] as aaGraphic.CustomPropertyValuePair;
cpValues[1] = new aaGraphic.CustomPropertyValuePair("Tagname_Show",Text1.Text, true);
graphicInfo.CustomProperties = cpValues;

graphicInfo.WindowLocation = 7;


'Start Popup
ShowGraphic( graphicInfo );

Post Reply