![Ronde & Schwarz 1424.6721K02 User Manual Download Page 117](http://html1.mh-extra.com/html/ronde-and-schwarz/1424-6721k02/1424-6721k02_user-manual_1484980117.webp)
Performing measurement tasks - programming examples
R&S
®
NRP18S-xx
117
User Manual 1178.3686.02 ─ 07
// (this loop could also check for cancel-requests
// from the user or other break conditions)
while ( ! bMeasReady )
{
query( "STAT:OPER:MEAS:EVEN?", &iEvent );
bMeasReady = ((iEvent & 0x02) != 0);
if ( ! bMeasReady )
sleep( 1 );
}
if ( bMeasReady )
{
query( "SENS:TRAC:DATA?", bufResult );
// further process the result in 'bufResult'...
// ::
// ::
}
Trace measurement with synchronization to measurement complete