
Chapter 3 Programming Your Universal Counter for Remote Operation
Programming Examples
3-74
Programming Guide
To Optimize Throughput (HP BASIC) (Continued)
500 OUTPUT @Count;":INIT:CONT ON" ! Put counter in Run mode
510 OUTPUT @Count;"FETCH:FREQ?" ! Fetch the frequency to be used
520 ENTER @Count USING "#,K";Dummy$ ! for the expected frequency.
530 OUTPUT @Count;":FREQ:EXP1 ";VAL(Dummy$)!Tell the counter what frequency
540 ! to expect on Ch 1. This number
550 ! must be within 10% of the input
560 ! frequency. Using this greatly
570 ! increases throughput. When
580 ! high throughput is not needed,
590 ! the expected value is not
600 ! required.
610 FOR I=1 TO 200
620 TRIGGER @Count ! Trigger the counter and read
630 ENTER @Count;A$(I)
640 NEXT I
650 FOR I=1 TO 10 ! Print first 10 measurements
660 PRINT A$(I),
670 NEXT I
680 END
Содержание 53131A
Страница 1: ...Programming Guide HP 53131A 132A 225 MHz Universal Counter ...
Страница 2: ......
Страница 13: ...1 1 Before You Start ...
Страница 24: ...Chapter 1 Before You Start Related Documentation 1 12 Programming Guide ...
Страница 25: ...2 2 Command Summary A Quick Reference ...
Страница 68: ...Chapter 2 Command Summary RST Response 2 44 Programming Guide ...
Страница 69: ...3 3 Programming Your Universal Counter for Remote Operation ...
Страница 167: ...4 4 Command Reference A Dictionary ...
Страница 172: ...Chapter 4 Command Reference CALCulate Subsystems 4 6 Programming Guide Figure 4 1 The CALCulate Subsystems ...
Страница 310: ...Chapter 4 Command Reference WAI Wait to Continue Command 4 144 Programming Guide ...
Страница 311: ...5 5 Errors ...
Страница 329: ......
Страница 330: ...H Manual Part Number 53131 90044 Printed in U S A NOVEMBER 1996 ...