Anritsu S331D Network Router User Manual


 
WriteToPort (SendScalePointer, 9);
// Expecting 1 byte back (give the unit 5 seconds to respond):
// 0xFF = success
// 0xE0 = parameter failure (invalid value)
// 0xEE = time-out (insufficient # of bytes received by SPA)
if(!ReadFromPort(1, ResponseBytes, 5))
{
return FAILURE;
}
else
{
if ( *ResponseBytes != 0xFF )
{
return FAILURE;
}
else
{
return SUCCESS;
}
}
} /* SetSPAScale */
110 Site Master PM