EasyManua.ls Logo

FEC PP Series - Page 39

Default Icon
59 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Installation and Settings
FEC ITALIA 39
sp.setListener(splistener);
intDataReceivedLength = sp.getDataReceivedLength();
int nRetry=0;
while (intDataReceivedLength == 0)
{
SleepMiniSecond(sp, 1000);
intDataReceivedLength = sp.getDataReceivedLength();
nRetry++;
if (nRetry == 2) break;
}
if ( intDataReceivedLength>= 0) {
btyVersion_msg_received =
Arrays.copyOf(sp.getBytDataReceived(),intDataReceiv
edLength);
}
sp.close(intSerialPortHandle);
sp = null;
boolean testResult = false;
testResult = (intDataReceivedLength > 0 )? true:
false; return testResult;
}
----------

Related product manuals