List of Available Functions

These are the functions that are built into InduSoft Web Studio and CEView.

Table 1. Log Message
Function Execution Windows PC Windows CE Thin Client
Trace Synchronous Supported Supported Not supported
Table 2. Arithmetic
Function Execution Windows PC Windows CE Thin Client
Abs Synchronous Supported Supported Supported
Div Synchronous Supported Supported Supported
Format Synchronous Supported Supported Supported
GetBit Synchronous Supported Supported Supported
Mod Synchronous Supported Supported Supported
Pow Synchronous Supported Supported Supported
ResetBit Synchronous Supported Supported Supported
Round Synchronous Supported Supported Supported
SetBit Synchronous Supported Supported Supported
SQRT Synchronous Supported Supported Supported
Swap16 Synchronous Supported Supported Supported
Swap32 Synchronous Supported Supported Supported
Trunc Synchronous Supported Supported Supported
Table 3. Statistical
Function Execution Windows PC Windows CE Thin Client
Avg Synchronous Supported Supported Supported
Max Synchronous Supported Supported Supported
Min Synchronous Supported Supported Supported
Rand Synchronous Supported Supported Supported
Table 4. Logarithmic
Function Execution Windows PC Windows CE Thin Client
Exp Synchronous Supported Supported Supported
Log Synchronous Supported Supported Supported
Log10 Synchronous Supported Supported Supported
Table 5. Logical
Function Execution Windows PC Windows CE Thin Client
False Synchronous Supported Supported Supported
If Synchronous Supported Supported Supported
Toggle Synchronous Supported Supported Supported
True Synchronous Supported Supported Supported
Table 6. String
Function Execution Windows PC Windows CE Thin Client
Asc2Str Synchronous Supported Supported Supported
CharToValue Synchronous Supported Supported Supported
CharToValueW Synchronous Supported Supported Supported
ClassMembersToStrVector Synchronous Supported Supported Supported
NCopy Synchronous Supported Supported Supported
Num Synchronous Supported Supported Supported
Str Synchronous Supported Supported Supported
Str2Asc Synchronous Supported Supported Supported
StrCompare Synchronous Supported Supported Supported
StrCompareNoCase Synchronous Supported Supported Supported
StrFromInt Synchronous Supported Supported Supported
StrFromReal Synchronous Supported Supported Supported
StrFromTime Synchronous Supported Supported Supported
StrGetElement Synchronous Supported Supported Supported
StrLeft Synchronous Supported Supported Supported
StrLen Synchronous Supported Supported Supported
StrLower Synchronous Supported Supported Supported
StrRChr Synchronous Supported Supported Supported
StrRight Synchronous Supported Supported Supported
StrSetElement Synchronous Supported Supported Supported
StrStr Synchronous Supported Supported Supported
StrStrPos Synchronous Supported Supported Supported
StrTrim Synchronous Supported Supported Supported
StrTrimAll Synchronous Supported Supported Supported
StrUpper Synchronous Supported Supported Supported
ValueToChar Synchronous Supported Supported Supported
ValueWToChar Synchronous Supported Supported Supported
Table 7. Date & Time
Function Execution Windows PC Windows CE Thin Client
ClockGetDate Synchronous Supported Supported Supported
ClockGetDayOfWeek Synchronous Supported Supported Supported
ClockGetTime Synchronous Supported Supported Supported
DateTime2Clock Synchronous Supported Supported Supported
GetClock Synchronous Supported Supported Supported
Hour2Clock Synchronous Supported Supported Supported
SetSystemDate Synchronous Supported Supported Supported
SetSystemTime Synchronous Supported Supported Supported
Table 8. Trigonometric
Function Execution Windows PC Windows CE Thin Client
ACos Synchronous Supported Supported Supported
ASin Synchronous Supported Supported Supported
ATan Synchronous Supported Supported Supported
Cos Synchronous Supported Supported Supported
Cot Synchronous Supported Supported Supported
Pi Synchronous Supported Supported Supported
Sin Synchronous Supported Supported Supported
Tan Synchronous Supported Supported Supported
Table 9. Opening and Closing Windows
Function Execution Windows PC Windows CE Thin Client
Close Asynchronous Supported Supported Not supported
Open Asynchronous Supported Supported Supported
OpenPrevious Asynchronous Supported Supported Supported
Table 10. Security
Function Execution Windows PC Windows CE Thin Client
BlockUser Synchronous Supported Supported Supported
CheckESign Synchronous Supported Supported Supported
CreateUser Synchronous Supported Supported Supported
GetUserNames Synchronous Supported Supported Executed on Server
GetUserPWDAging Synchronous Supported Supported Supported
GetUserState Synchronous Supported Supported Supported
RemoveUser Synchronous Supported Supported Supported
SetPassword Synchronous Supported Supported Supported
UnblockUser Synchronous Supported Supported Supported
Table 11. Module Activity
Function Execution Windows PC Windows CE Thin Client
AppActivate Asynchronous Supported Supported Supported
AppIsRunning Synchronous Supported Supported Supported
AppPostMessage Synchronous Supported Supported Supported
AppSendKeys Synchronous Supported Not supported Supported
CleanReadQueue Synchronous Supported Not supported Executed on Server
CloseSplashWindow Synchronous Supported Not supported Executed on Server
DisableMath Asynchronous Supported Supported Executed on Server
EnableMath Asynchronous Supported Supported Executed on Server
EndTask Asynchronous Supported Supported Executed on Server
ExitWindows Asynchronous Supported Not supported Supported
IsScreenOpen Synchronous Supported Supported Not supported
IsTaskRunning Synchronous Supported Supported Executed on Server
IsViewerInFocus Synchronous Supported Not supported Not supported
KeyPad Asynchronous Supported Supported Supported
LogOff Asynchronous Supported Supported Supported
LogOn Asynchronous Supported Supported Supported
Math Synchronous Supported Supported Executed on Server
PostKey Synchronous Supported Supported Supported
Recipe Synchronous Supported Supported Executed on Server
Report Synchronous Supported Supported Executed on Server
RunGlobalProcedureOnServer Synchronous Supported Supported Supported
RunVBScript Synchronous Supported Supported Supported
SecureViewerReload Synchronous Not Supported Not Supported Supported (Secure Viewer only)
SendKeyObject Synchronous Supported Not supported Not supported
SetAppPath Synchronous Supported Not supported Executed on Server
SetViewerInFocus Synchronous Supported Not supported Supported
SetViewerPos Synchronous Supported Not supported Supported
ShutDown Synchronous Supported Supported Not supported
StartTask Asynchronous Supported Supported Executed on Server
ViewerPostMessage Asynchronous Supported Supported Supported
Wait Synchronous Supported Supported Supported
WinExec Asynchronous Supported Supported Supported
WinExecIsRunning Synchronous Supported Supported Supported
Table 12. File
Function Execution Windows PC Windows CE Thin Client
DeleteOlderFiles Synchronous Supported Supported Supported
DirCreate Synchronous Supported Supported Supported
DirDelete Synchronous Supported Supported Supported
DirLength Synchronous Supported Supported Supported
DirRename Synchronous Supported Supported Supported
FileCopy Synchronous Supported Supported Supported
FileDelete Synchronous Supported Supported Supported
FileLength Synchronous Supported Supported Supported
FileRename Synchronous Supported Supported Supported
FindFile Synchronous Supported Supported Supported
FileWrite Synchronous Supported Supported Supported
FindPath Synchronous Supported Supported Supported
GetFileAttributes Synchronous Supported Supported Supported
GetFileTime Synchronous Supported Supported Supported
GetHstInfo Synchronous Supported Supported Supported
GetLine Synchronous Supported Supported Supported
HST2TXT Asynchronous Supported Supported Supported
HST2TXTIsRunning Synchronous Supported Not supported Executed on Server
PDFCreate Synchronous Supported Not supported Supported
Print Asynchronous Supported Supported Supported
RDFileN Synchronous Supported Supported Supported
WebGetFile Synchronous Supported Supported Supported
Table 13. Graphic
Function Execution Windows PC Windows CE Thin Client
AutoFormat Synchronous Supported Supported Supported
GetScrInfo Synchronous Supported Supported Supported
PrintSetup Asynchronous Supported Supported Supported
PrintWindow Asynchronous Supported Supported Not supported
ResetDecimalPointsTable Synchronous Supported Supported Supported
RGBColor Synchronous Supported Supported Supported
RGBComponent Synchronous Supported Supported Supported
SetDecimalPoints Synchronous Supported Supported Supported
SetDisplayUnit Synchronous Supported Supported Supported
SetTagDisplayUnit Synchronous Supported Supported Supported
Table 14. Translation
Function Execution Windows PC Windows CE Thin Client
Ext Synchronous Supported Supported Supported
SetTranslationFile Synchronous Supported Supported Supported
Table 15. Multimedia
Function Execution Windows PC Windows CE Thin Client
Play Synchronous/ Asynchronous Supported Supported Supported
Table 16. System Info
Function Execution Windows PC Windows CE Thin Client
DbVersion Synchronous Supported Supported Supported
GetAppHorizontalResolution Synchronous Supported Not supported Executed on Server
GetAppPath Synchronous Supported Supported Executed on Server
GetAppVerticalResolution Synchronous Supported Not supported Executed on Server
GetComputerIP Synchronous Supported Supported Supported
GetComputerName Synchronous Supported Not supported Supported
GetCursorX Synchronous Supported Supported Supported
GetCursorY Synchronous Supported Supported Supported
GetDisplayHorizontalResolution Synchronous Supported Supported Supported
GetDisplayVerticalResolution Synchronous Supported Supported Supported
GetFreeMemoryCE Synchronous Not supported Supported Supported
GetHardKeyModel Synchronous Supported Not supported Executed on Server
GetHardKeySN Synchronous Supported Not supported Executed on Server
GetIPAll Synchronous Supported Supported Supported
GetMemoryCE Synchronous Not supported Supported Supported
GetNetMACID Synchronous Supported Supported Supported
GetOS Synchronous Supported Supported Supported
GetPrivateProfileString Synchronous Supported Supported Supported
GetProductPath Synchronous Supported Supported Supported
GetRegValue Synchronous Supported Supported Not supported
GetRegValueType Synchronous Supported Supported Not supported
GetServerHostName Synchronous Not supported Not supported Supported
GetTickCount Synchronous Supported Supported Supported
InfoAppAlrDir Synchronous Supported Supported Supported
InfoAppHSTDir Synchronous Supported Supported Supported
InfoDiskFree Synchronous Supported Not supported Supported
InfoResources Synchronous Supported Supported Supported
IsActiveXReg Synchronous Supported Supported Supported
IsAppChangedOnServer Synchronous Supported Supported Supported
NoInputTime Synchronous Supported Supported Supported
ProductVersion Synchronous Supported Supported Supported
RegSaveCE Synchronous Not supported Supported Not supported
ReloadAppFromServer Synchronous Supported Supported Supported
SaveAlarmFile Synchronous Supported Supported Not supported
SetAppAlarmPath Synchronous Supported Supported Executed on Server
SetAppHSTPath Synchronous Supported Supported Executed on Server
SetDateFormat Synchronous Supported Supported Supported
SetKeyboardLanguage Synchronous Supported Supported Supported
SetRegValue Synchronous Supported Supported Not supported
SetWebConfig Synchronous Supported Supported Executed on Server
SNMPGet Synchronous Supported Not supported Supported
SNMPSet Synchronous Supported Not supported Supported
WritePrivateProfileString Synchronous Supported Supported Supported
Table 17. Tags Database
Function Execution Windows PC Windows CE Thin Client
ExecuteAlarmAck Synchronous Supported Supported Supported
ForceTagChange Synchronous Supported Supported Supported
GetTagValue Synchronous Supported Supported Supported
SetTagValue Synchronous Supported Supported Supported
Table 18. Loop
Function Execution Windows PC Windows CE Thin Client
For & Next N/A Supported Supported Not supported
Table 19. ODBC
Function Execution Windows PC Windows CE Thin Client
ODBCBeginTrans Synchronous Supported Not supported Executed on Server
ODBCBindCol Synchronous Supported Not supported Executed on Server
ODBCCanAppend Synchronous Supported Not supported Executed on Server
ODBCCanTransact Synchronous Supported Not supported Executed on Server
ODBCCanUpdate Synchronous Supported Not supported Executed on Server
ODBCClose Synchronous Supported Not supported Executed on Server
ODBCCommitTrans Synchronous Supported Not supported Executed on Server
ODBCDelete Synchronous Supported Not supported Executed on Server
ODBCExecuteSQL Synchronous Supported Not supported Executed on Server
ODBCInsert Synchronous Supported Not supported Executed on Server
ODBCIsBOF Synchronous Supported Not supported Executed on Server
ODBCIsDeleted Synchronous Supported Not supported Executed on Server
ODBCIsEOF Synchronous Supported Not supported Executed on Server
ODBCIsFieldNULL Synchronous Supported Not supported Executed on Server
ODBCIsFieldNullable Synchronous Supported Not supported Executed on Server
ODBCMove Synchronous Supported Not supported Executed on Server
ODBCMoveFirst Synchronous Supported Not supported Executed on Server
ODBCMoveLast Synchronous Supported Not supported Executed on Server
ODBCMoveNext Synchronous Supported Not supported Executed on Server
ODBCMovePrev Synchronous Supported Not supported Executed on Server
ODBCOpen Synchronous Supported Not supported Executed on Server
ODBCQuery Synchronous Supported Not supported Executed on Server
ODBCRollback Synchronous Supported Not supported Executed on Server
ODBCSetFieldNULL Synchronous Supported Not supported Executed on Server
ODBCSetFilter Synchronous Supported Not supported Executed on Server
ODBCSetSort Synchronous Supported Not supported Executed on Server
ODBCUnbindCol Synchronous Supported Not supported Executed on Server
ODBCUpdate Synchronous Supported Not supported Executed on Server
Table 20. Email
Function Execution Windows PC Windows CE Thin Client
CnfEmail Synchronous Supported Supported Supported
GetStatusSendEmailExt Synchronous Supported Supported Supported
SendEmail Synchronous Supported Supported Supported
SendEmailExt Asynchronous Supported Supported Supported
Table 21. Dial-Up
Function Execution Windows PC Windows CE Thin Client
DialError Synchronous Supported (see note) Supported Supported
DialGetClientIP Synchronous Supported (see note) Supported Supported
DialGetServerIP Synchronous Supported (see note) Not supported Supported
DialStatus Synchronous Supported (see note) Supported Supported
DialUp Asynchronous Supported (see note) Supported Supported
DialUpToCE Asynchronous Supported (see note) Not supported Supported
FindAllDevices Synchronous Supported (see note) Supported Supported
FindModem Synchronous Supported (see note) Supported Supported
HangUp Synchronous Supported (see note) Supported Supported
PhoneDialUp Asynchronous Supported (see note) Not supported Supported
PhoneDisableListen Synchronous Supported (see note) Not supported Supported
PhoneEnableListen Synchronous Supported (see note) Not supported Supported
PhoneHangUp Asynchronous Supported (see note) Not supported Supported
PhoneStatus Synchronous Supported (see note) Not supported Supported
Note: The Dial-Up functions are not supported on Windows 7.
Table 22. ActiveX Control & .NET Control
Function Execution Windows PC Windows CE Thin Client
XGet Asynchronous Supported ActiveX Controls only Supported
XRun Asynchronous Supported ActiveX Controls only Supported
XSet Asynchronous Supported ActiveX Controls only Supported
Table 23. Event Logger
Function Execution Windows PC Windows CE Thin Client
SendEvent Synchronous Supported Supported Supported
Table 24. FTP
Function Execution Windows PC Windows CE Thin Client
CnfFTP Synchronous Supported Supported Supported
FTPGet Asynchronous Supported Supported Supported
FTPPut Asynchronous Supported Supported Supported
FTPStatus Synchronous Supported Supported Supported
Table 25. DB/ERP
Function Execution Windows PC Windows CE Thin Client
DBCursorClose Synchronous Supported Supported Supported
DBCursorCurrentRow Synchronous Supported Supported Supported
DBCursorGetValue Synchronous Supported Supported Supported
DBCursorMoveTo Synchronous Supported Supported Supported
DBCursorNext Synchronous Supported Supported Supported
DBCursorOpen Synchronous Supported Supported Supported
DBCursorOpenSQL Synchronous Supported Supported Supported
DBCursorPrevious Synchronous Supported Supported Supported
DBCursorRowCount Synchronous Supported Supported Supported
DBDelete Synchronous Supported Supported Supported
DBExecute Synchronous Supported Supported Supported
DBInsert Synchronous Supported Supported Supported
DBSelect Synchronous Supported Supported Supported
DBUpdate Synchronous Supported Supported Supported
SyncAlarm Asynchronous Supported Supported Executed on Server
SyncAlarmStatus Synchronous Supported Supported Executed on Server
SyncEvent Asynchronous Supported Supported Executed on Server
SyncEventStatus Synchronous Supported Supported Executed on Server
SyncTrend Asynchronous Supported Supported Executed on Server
SyncTrendStatus Synchronous Supported Supported Executed on Server