E5071C
1250
These lines set transition filters so that the questionable limit status event
register's bit 1 is set to 1 when the questionable limit status condition
register's bit 1 changes from 0 to 1.
Line 1090
Clears the questionable limit status event register and questionable limit
channel 1 status event register.
Lines 1110 to 1130
These lines trigger the instrument and wait until the sweep cycle is
completed.
Lines 1170 to 1190
These lines retrieve the value of the questionable limit status event
register and store the setting of bit 1 of the value into Ch1_judge.
Lines 1200 to 1230
These lines retrieve the value of the questionable limit channel 1 status
event register and store the settings of bit 1 and bit 2 of the value into
Tr1_judge and Tr2_judge, respectively.
Line 1280
Displays a message indicating that the DUT has passed the limit test if the
test result for channel 1 is "Pass" (i.e., if Ch1_judge returns 0).
Lines 1300 to 1660
These lines are executed if the test result for channel 1 is "Fail" (i.e., if
Ch1_judge returns 1).
Line 1300: Notifies the user that the limit test result is "Fail".
Line 1320: Displays a message indicating that trace 1 has passed the limit
test if the test result for trace 1 is "Pass" (i.e., if Tr1_judge returns 0).
Lines 1340 to 1470: These lines are executed if the test result for trace 1
is "Fail" (i.e., if Tr1_judge returns 1). The lines notify the user that the test
result for trace 1 is "Fail" and then retrieve and display the frequencies at
the failed measurement points on trace 1.
Line 1340: Notifies the user that the limit test result for trace 1 is "Pass."
Line 1380: Sets channel 1's active trace to trace 2.
Lines 1390 to 1410: These lines retrieve the number of failed
measurement points on trace 1 and, based on that number, resize the
array that contains retrieved frequencies.
Lines 1420 to 1470: These lines retrieve and display the frequencies at the
failed measurement points on trace 1.