Remote GPIB Interface
84
Serial BERT 12.5 Gb/s User Guide
After running for 5 seconds, the program outputs a string with TOTAL-BITS,
TOTAL-ERRORS, ELAPSED-SECONDS, BIT-ERROR-RATE.
An alternative method of measuring BER is to use the sample command. The
SAMPLE command allows the user to "sample" the Bit Error Rate any number
of times during a measurement period.
590 OUTPUT 725; ":SENSE:SWEEP:TIME 10" ! set up a 10s BER measurement
600 OUTPUT 725; ":TRIGGER:INITIATE" ! start the 10s measurement
610 WAIT 2 ! wait 2 seconds
610 OUTPUT 725; ":TRIGGER:SAMPLE" ! trigger BER sample
620 OUTPUT 725; ":SENSE:DATA?" ! query a sample of the BER data
630 ENTER 725; result$ ! read the result
640 PRINT result$ ! print the BER sample result
650 WAIT 3 ! wait 3 seconds
660 OUTPUT 725; ":TRIGGER:ABORT" ! cancel the measurement
670 OUTPUT 725; ":FETCH:BER?" ! query the final BER data
680 ENTER 725; result$ ! read the result
690 PRINT result$ ! print the BER sample result
Komentarze do niniejszej Instrukcji