320 CASE 13 !3rd, 4th, 5th harmonic chord
330 Eeprom=180
340 CASE 14 !8 cycles linear rising sine wave
350 Eeprom=184
360 CASE 15 !Positive 1/2 cycle sine wave
370 Eeprom=188
380 CASE ELSE !Input Data Register (arbitrary waveform)
390 Eeprom=64 !Turn off output as waveform is downloaded
400 END SELECT
410 !
420 SELECT Ram
430 CASE 1 !RAM 1
440 Eeprom=1
450 CASE 2 !RAM 2
460 Eeprom=2
470 CASE 3 !RAM 3
480 Eeprom=3
490 END SELECT
500 !
510 Write_reg(8,5)
520 Write_reg(10,Eeprom)
530 Check_done
540 SUBEND
550 !
560 SUB Frequency1(Freq1)
570 Frequency1:
!Subprogram which sets the output frequency using frequency
580 !register 1.
590 COM Base_addr
600 Freq=(Freq1*100)
610 C$=DVAL$(Freq,16)
620 !
630 !Load the frequency value
640 Write_reg(8,1)
650 Write_reg(10,IVAL(C$[1;2],16))
660 Write_reg(10,IVAL(C$[3;2],16))
670 Write_reg(10,IVAL(C$[5;2],16))
680 Write_reg(10,IVAL(C$[7;2],16))
690 Check_done
700 SUBEND
Appendix C
HP E1340A Register-Based Programming 273
Содержание E1340A
Страница 12: ...Notes 12 HP E1340A Arbitrary Function Generator Module User s Manual ...
Страница 14: ...14 HP E1340A Arbitrary Function Generator Module User s Manual ...
Страница 42: ...Chapter 2 Generating Standard Waveforms with the HP E1340A 42 ...
Страница 54: ...Chapter 2 Generating Standard Waveforms with the HP E1340A 54 ...
Страница 57: ...Figure 3 1 Generating Arbitrary Waveforms 57 Generating Arbitrary Waveforms with the HP E1340A Chapter 3 ...
Страница 58: ...Chapter 3 Generating Arbitrary Waveforms with the HP E1340A 58 ...
Страница 84: ...Chapter 4 HP E1340A Sweeping and Frequency Shift Keying 84 ...
Страница 130: ...Chapter 6 HP E1340A High Speed Operation 130 ...
Страница 202: ...202 HP E1340A SCPI Conformance Information Chapter 7 ...
Страница 204: ...Figure 8 1 HP E1340A Status Groups and Associated Registers Chapter 8 HP E1340A AFG Status 204 ...
Страница 218: ...218 HP E1340A Specifications Appendix A ...
Страница 284: ...284 HP E1340A Register Based Programming Appendix C ...
Страница 295: ...Index HP E1340A Arbitrary Function Generator User s Manual 295 ...