R&S SGT100A User Manual page 582

Sgma vector rf source
Table of Contents

Advertisement

®
R&S
SGT100A
}
}catch( const string errorString )
{
cout<<errorString<<endl;
}
client.disconnect( );
return errorCode;
}
User Manual 1176.8674.02 ─ 07
else
{
cin.getline( buffer, 1024 );
input = buffer;
if( input == "end" )
{
terminate = true;
}
}
if( !terminate)
{
client.transmit( input ); //send string
int qPos = input.find( "?", 0 );
//receive string only when needed
if( qPos > 0 )
{
string rcStr = "";
client.receive( rcStr );
cout << rcStr << endl;
}
}
if( useSingleCommand )
{
terminate = true;
}
Annex
Telnet program examples
551

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents