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 > Written

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

Written Event

This event is kicked when message has been sent successfully or has been failed to send. It is kicked after final block in case of multi-block message. All the messages are deleted when this event has been invoked, whatever the result of send process is succeeded or failed (garbage collection). Send order is from older one to newer one (FIFO=First In, First Out), so event order is the same with calling order of Send Method.

Syntax

Visual Basic

Sub Written (pszMsg As String, bOK As Boolean)


Visual C++

void OnWritten(LPCTSTR pszMsg, BOOL bOK);


ArgumentDescription
pszMsgHexadecimal formatted ASCII string message.
bOKIf send process is succeeded, ActiveX returns True(=1). If failure, then False(=0) will be set. In case of False, it means ActiveX has already tried to send for retry count times.

Return Value

Example

Visual Basic



Visual C++


Remarks

See Also

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