Jazz Soft Contact us?   JazzSoft@live.com     English   English  Japanese  Chinese (Traditional)  Chinese (Simlified)
Factory Automation & Yield Management Solution Provider 
Skip Navigation LinksHome > Products > Swing > Swing SECS I Reference > Events > Errors

Dorian.Core is added. Dorian now supports .NET 6 and 7.

Swing SECS I Reference   

Properties
Active
Appearance
BaudRate
BorderStyle
CommPort
DeviceID
IniFile
IniSection
Log
LogFile
Master
MSEC
Retry
Show
T1
T2
T3
T4

Methods
Config
LoadIni
Send

Events
Errors
Read
SelMsg
Written

Errors Event

This event kicked when communication failure occurred.

Syntax

Visual Basic

Sub Errors (sError As Integer, pszInfo As String)


Visual C++

void OnErrors(short sError, LPCTSTR pszInfo);


ArgumentDescription
sErrorError code. It should be one of the following reasons.
pszInfoAdditional information. Currently, this value is not available.

DefinitionValueDescription
SecsErrorUnexpectedChar1Received unexpected character.
SecsErrorBadLength2Length byte is not correct.
SecsErrorSum3Check sum error.
SecsErrorParity4Parity error.
SecsErrorBadMultiBlockNumber5Block number in multi-block message is not correct.
SecsErrorBlockNumber6Block number is neither 0 nor 1.
SecsErrorNak7Received NAK.
SecsErrorRetry8Retry over.
SecsErrorT49T4 time out.
SecsErrorT210T2 time out.
SecsErrorT111T1 time out.
SecsErrorT312T3 time out.
SecsErrorDeviceID13Device ID does not match.

Return Value

Example

Visual Basic



Visual C++


Remarks

See Also

Contact us?   JazzSoft@live.com
  Copyright © 1997 - 2024 Jazz Soft, Inc.