Agilent Technologies 4294A Service Manual Page 93

  • Download
  • Add to my manuals
  • Print
  • Page
    / 518
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 92
Chapter 6 93
Reading/Writing Measurement Data
Reading/Writing Data
6. Reading/Writing
2. Chapter Title 3. Chapter Title
4. Chapter Title
5. Chapter Title
Measurement Data
1250 PRINT "-- Trace A All Pass --"
1260 END IF
1270 !
1280 OUTPUT @Hp4294a;"TRAC B"
1290 OUTPUT @Hp4294a;"OUTPFAIP?"
1300 ENTER @Hp4294a;Fail_nop
1310 !
1320 IF Fail_nop>0 THEN
1330 OUTPUT @Hp4294a;"FORM4"
1340 OUTPUT @Hp4294a;"OUTPLIMF?"
1350 FOR I=1 TO Fail_nop
1360 ENTER @Hp4294a USING "#,K,K,K,K";Fail_res_b(I,1),Fail_res_b(I,
2),Fail_res_b(I,3),Fail_res_b(I,4)
1370 NEXT I
1380 PRINT "-- Trace B Failed Point --"
1390 PRINT "Frequency L_Limit U_Limit"
1400 FOR I=1 TO Fail_nop
1410 PRINT Fail_res_b(I,1),Fail_res_b(I,4),Fail_res_b(I,3)
1420 NEXT I
1430 ELSE
1440 PRINT "-- Trace B All Pass --"
1450 END IF
1460 !
1470 END
When to read/write data
If a read command is executed while a sweep is in progress, the data available when the
command execution starts is read. To ensure the accuracy of the data you obtain, be sure to
wait until the current sweep is complete before executing a read command. Considering the
time it takes for your program to be executed to completion, an efficient approach is to
synchronize the execution of a read command with the completion of the current sweep. To
do this, use the status report structure and the
“*OPC?” command on page 259. See
“Waiting for the Completion of One or More Sweeps (Detecting the Completion of a
Measurement)” on page 74 for more information.
To write data properly, you need to execute a write command while no sweep is in
progress. You can write data while a sweep is in progress. In this case, however, the data
you write will be overwritten. You can suspend the sweep by executing the
“HOLD”
command on page 318.
Page view 92
1 2 ... 88 89 90 91 92 93 94 95 96 97 98 ... 517 518

Comments to this Manuals

No comments