![Agilent Technologies 8719ES Скачать руководство пользователя страница 471](http://html.mh-extra.com/html/agilent-technologies/8719es/8719es_programmers-manual_2867960471.webp)
7-108
Chapter 7
Programming Examples
Report Generation Examples
120 !
130 OUTPUT @Nwa;”OPC?;SING;” ! Single sweep and stop for print
140 ENTER @Nwa;Reply ! Read the 1 when complete
150 !
160 OUTPUT @Nwa;”CLES;” ! Clear status registers
170 OUTPUT @Nwa;”ESNB128;” ! Enable copy complete
180 OUTPUT @Nwa;”SRE4;” ! Enable Event Status Register B
190 OUTPUT @Nwa;”PRNTRAUTF OFF;” ! Set printer auto feed off
200 OUTPUT @Nwa;”PRNTYPLJ;” ! Select LaserJet printer
210 OUTPUT @Nwa;”PRNPRTPARA;” ! Select parallel port for output
240 !
250 OUTPUT @Nwa;”PRINALL;” ! Print screen
260 !
270 DISP “PRINTING”
280 !
290 ! Set up next measurement over HP-IB
300 OUTPUT @Nwa;”CONT;” ! Restore continuous sweep
310 !
320 ! Measurements can continue but wait for print to finish
330 REPEAT ! Test for bit 2 (4) ESRB
340 Stat=SPOLL(@Nwa)
350 UNTIL BIT(Stat,2) ! Wait for printer to complete
360 !
370 DISP “DONE”
380 LOCAL @Nwa ! Release HP-IB control
390 END
Содержание 8719ES
Страница 15: ...1 1 1 Alphabetical Command Reference ...
Страница 293: ...2 1 2 Introduction to Instrument Control ...
Страница 310: ...3 1 3 GPIB Programming ...
Страница 334: ...4 1 4 Reading Analyzer Data ...
Страница 343: ...5 1 5 Data Processing Chain ...
Страница 350: ...6 1 6 Error Reporting ...
Страница 364: ...7 1 7 Programming Examples ...
Страница 502: ...A 1 A Preset Conditions ...
Страница 517: ...B 1 B Command Listings ...