Contents AVEVA™ AVEVA Application Server formerly Wonderware Application Server Scripting Guide
LogTrace() .................................................................................................................. 71
LogWarning() .............................................................................................................. 72
SendKeys() ................................................................................................................. 72
SetAttributeVT() .......................................................................................................... 74
SetAttributeVT2()......................................................................................................... 74
SetBad() ..................................................................................................................... 75
SetGood() ................................................................................................................... 75
SetInitializing()............................................................................................................. 76
SetUncertain() ............................................................................................................. 76
SignedAlarmAck()........................................................................................................ 77
SignedWrite() .............................................................................................................. 80
WriteStatus() ............................................................................................................... 84
WWControl() ............................................................................................................... 85
String Functions ................................................................................................................ 85
DText() ....................................................................................................................... 85
StringASCII()............................................................................................................... 86
StringChar() ................................................................................................................ 86
StringCompare().......................................................................................................... 87
StringCompareNoCase().............................................................................................. 87
StringFromGMTTimeToLocal() ..................................................................................... 88
StringFromIntg() .......................................................................................................... 89
StringFromReal() ......................................................................................................... 89
StringFromTime() ........................................................................................................ 90
StringFromTimeLocal() ................................................................................................ 91
StringInString() ............................................................................................................ 92
StringLeft() .................................................................................................................. 92
StringLen() .................................................................................................................. 93
StringLower() .............................................................................................................. 93
StringMid() .................................................................................................................. 94
StringReplace() ........................................................................................................... 94
StringRight()................................................................................................................ 95
StringSpace() .............................................................................................................. 96
StringTest() ................................................................................................................. 97
StringToIntg() .............................................................................................................. 97
StringToReal()............................................................................................................. 98
StringTrim() ................................................................................................................. 99
StringUpper() .............................................................................................................. 99
Text()........................................................................................................................ 100
WWStringFromTime() ................................................................................................ 100
System Functions............................................................................................................ 101
CreateObject()........................................................................................................... 101
Now() ....................................................................................................................... 101
WWDDE Functions ......................................................................................................... 102
WWExecute() ............................................................................................................ 102
WWPoke() ................................................................................................................ 103
WWRequest() ........................................................................................................... 103
QuickScript .NET Operators................................................................................................... 104
Parentheses ( ) ............................................................................................................... 106
Negation ( - )................................................................................................................... 106
Complement ( ~ ) ............................................................................................................ 106
Power ( ** ) ..................................................................................................................... 106
Multiplication ( * ), Division ( / ), Addition ( + ),Subtraction ( - ) ............................................ 107
Modulo (MOD) ................................................................................................................ 107
Shift Left (SHL), Shift Right (SHR) .................................................................................... 107
Bitwise AND ( & ) ............................................................................................................ 107
Exclusive OR (^) and Inclusive OR ( | ) ............................................................................. 107