R&S NRP P Series User Manual page 124

Pulse power sensors
Table of Contents

Advertisement

®
R&S
NRPxxP
write( "TRIG:HYST
write( "TRIG:LEV
write( "SENS:TRAC:AVER:COUN
write( "SENS:TRAC:AVER:STAT
// configuring the event system to recognize the
// end of measurement (i.e. a negative transition
// of bit 1 in the meas operation register)
write( "STAT:OPER:MEAS:NTR
write( "STAT:OPER:MEAS:PTR
// resetting the event information by an initial readout
int iEvent = 0;
query( "STAT:OPER:MEAS:EVEN?", &iEvent );
// Now starting the measurement
write( "INIT:IMM" );
bool bMeasReady = false;
// poll until measurement is ready...
// (this loop could also check for cancel-requests
//
from the user or other break conditions)
while ( ! bMeasReady )
{
}
if ( bMeasReady )
{
}
User Manual 1179.5760.02 ─ 02
Performing measurement tasks - programming examples
Trace measurement with synchronization to measurement complete
0.1" );
30e-6" );
query( "STAT:OPER:MEAS:EVEN?", &iEvent );
bMeasReady = ((iEvent & 0x02) != 0);
if ( ! bMeasReady )
sleep( 1 );
query( "SENS:TRAC:DATA?", bufResult );
// further process the result in 'bufResult'...
// ::
// ::
8" );
ON" );
2" );
0" );
124

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nrp18pNrp40pNrp50p1444.1190k021444.1290k021444.1390k02

Table of Contents