Market Leader in SECS/GEM, Test Automation, AI Vision and Smart Factory

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)
{

}