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 > Properties > DeviceID

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

DeviceID Property

Specify the Device ID in SECS header. This property is a persistent property.
Device ID is one of the part in the message, so it must belong to SECS II. That is why SwingSecsII Control also has DeviceID Property.

Syntax

Visual Basic



Visual C++


Return Value

Example

Visual Basic

.LoadIni
SwingSecsII1.DeviceID = .DeviceID


Visual C++

m_secs.LoadIni();
m_msg.SetDeviceID(m_secs.GetDeviceID());

Remarks

What happens if these 2 properties are not the same? SwingSecsI Control automatically change Device ID in sending message whenever it is not correct. DeviceID Property in the SwingSecsII Control is ignored.

See Also

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