GetLastErrorCode ( ).........................................................................................................................................100
GetLastErrorString ( )....................................................................................................................................... 100
GetLastExtendedErrorString ( )........................................................................................................................ 100
G
ENERAL
I
NFORMATION
M
ETHODS
................................................................................................................................ 101
AllState_Get ( ).................................................................................................................................................. 101
GetMachineType ( )........................................................................................................................................... 101
GetFirmwareVersion ( ).....................................................................................................................................101
ValidatePassword ( Password ).........................................................................................................................102
Time_GetDate ( )............................................................................................................................................... 102
Time_Sleep ( Milliseconds )...............................................................................................................................103
N
ETWORK
M
ETHODS
................................................................................................................................................... 104
Net_GetNetCardCount ( ).................................................................................................................................. 104
Net_GetIPAddress ( )......................................................................................................................................... 104
Net_GetIPAddressEx ( NetCard )...................................................................................................................... 104
Net_GetSubnetMask ( )...................................................................................................................................... 104
Net_GetSubnetMaskEx ( NetCard )................................................................................................................... 105
Net_PostHtmlData ( Url, PostData ).................................................................................................................105
Net_PostHtmlDataEx ( NetCard, Url, IsExpression, PostData, Timeout ).......................................................105
Net_SendMail( SenderId, ToIds, CcIds, BccIds, Subject, MessageBody )........................................................ 106
Net_SendMailEx ( NetCard, SenderId, ToIds, CcIds, BccIds, ReturnPathId,
ReturnRcpId, MsgComment, Subject, IsExpression, MessageBody )................................................................ 106
T
ELNET
M
ETHODS
.......................................................................................................................................................108
Telnet_Send ( NetCard, Msg, MaxWaitMS )..................................................................................................... 108
Telnet_SendExpression ( NetCard, Expression, MaxWaitMS ).........................................................................108
Telnet_Read ( NetCard ).................................................................................................................................... 108
Telnet_ClearReadBuffer ( NetCard ).................................................................................................................109
Telnet_ReadBufferCount ( NetCard )................................................................................................................ 109
L
OGGING
M
ETHODS
.................................................................................................................................................... 109
Log_Write ( FileName, IsExpression, Buffer, MaxSize )...................................................................................109
Log_ReadFile ( FileName, MaxLength )........................................................................................................... 110
Log_ClearFile ( FileName ).............................................................................................................................. 110
Log_FirstFile ( Wildcard ).................................................................................................................................110
Log_NextFile ( Wildcard )................................................................................................................................. 111
S
ERIAL
M
ETHODS
....................................................................................................................................................... 112
Serial_GetSettings ( Port ).................................................................................................................................112
Serial_Send ( Port, Msg, MaxWaitMS ).............................................................................................................112
Serial_SendExpression ( Port, Expression, Data )............................................................................................ 113
Serial_Read ( Port )........................................................................................................................................... 113
Serial_ClearReadBuffer ( Port )........................................................................................................................ 113
Serial_ReadBufferCount ( Port )....................................................................................................................... 114
Serial_GetPortCount ( ).....................................................................................................................................114
R
ELAY
M
ETHODS
........................................................................................................................................................115
Relay_On ( Port )...............................................................................................................................................115
Relay_Off ( Port )...............................................................................................................................................115
Relay_GetState ( Port )...................................................................................................................................... 115
Relay_GetPortCount ( )..................................................................................................................................... 116
D
IGITAL
I/O M
ETHODS
............................................................................................................................................... 117
DIO_Read ( Port )............................................................................................................................................. 117
DIO_OutputMode_Close ( Port )...................................................................................................................... 117
DIO_OutputMode_Open ( Port ).......................................................................................................................117
DIO_IsOutput ( Port )........................................................................................................................................118
DIO_IsPulledUp ( Port )................................................................................................................................... 118
DIO_GetPortCount ( )....................................................................................................................................... 118
IR M
ETHODS
............................................................................................................................................................. 119
IR_SendCommand ( Port, Group, Command ).................................................................................................. 119
IR_SendCommandEx ( Port, Group, Command, Sequence, Repeat )............................................................... 119