110 site master pm – Anritsu Site Master S331D User Manual

Page 116

Advertising
background image

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

Advertising
This manual is related to the following products: