Tuesday, October 30, 2012

Cicode -SCADA

/*This function will save the Tag associations on an existing Super Genie, Close the window then assign the tags to a new window. This allows a Super Genie Popup to
call another popup and close the parent popup.*/ 


INT
FUNCTION
AssChainWinFree(STRING sPage, INT x, INT y, INT Mode)

    AssChain(-2, WinNumber(), 0);
    WinFree();
    IF WinNewAt(sPage, x, y, mode) = -1 THEN
        RETURN 269;
    ELSE
        RETURN 0;
    END
END

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.