SECS/GEM、测试自动化、AI 视觉和智能工厂的市场领导者

Smart FactorySupportFAQ

No message in the DB ( -10026 ) Error Code

Rather than firing a Secs message receive event every time a message is received
To improve performance, XCom allows you to
Load all the messages received when a Secs message receive event occurs.
So you have to program it with a while statement in the OnSecsMsgXCom event handler as shown below, and if you use the
While statement, you wont get that error.
Make sure that the message receiving event is coded with a While statement as shown below.

No message in the DB: There are no messages in the message queue.

while (m_XCom.LoadSecsMsg (& lMsgId, & nDevId, & nStrm, & nFunc, & lSysByte, & nWbit)> = 0)
{

}