1550 SUBEND
1560 !
1570 SUB Burst(Coun)
1580 Burst: !Subprogram which sets the burst (cycle) count
1590 COM Base_addr
1600 C$=DVAL$(Coun,16)
1610 !
1620 !Load burst count
1630 Write_reg(8,8)
1640 Write_reg(10,IVAL(C$[5;2],16)) !burst count
1650 Write_reg(10,IVAL(C$[7;2],16)) !burst count
1660 Check_done
1670 SUBEND
1680 !
1690
SUB Mode(Out_lvl,In_lvl,Clock_source,Aux_out,Ram_bank,Freq_reg,Mode)
1700 Mode: !Subprogram which sets the output mode
1710 COM Base_addr
1720 Clock=0
1730 Out_mode=0
1740 SELECT Out_lvl
1750 CASE 1 !Aux out signal inverted
1760 Clock=Clock+128
1770 END SELECT
1780 !
1790 SELECT In_lvl
1800 CASE 1 !Invert signal in to Aux In
1810 Clock=Clock+64
1820 END SELECT
1830 !
1840 SELECT Clock_source
1850 CASE 0 !External
1860 Clock=Clock+1
1870 CASE 1 !Gated
1880 Clock=Clock+9
1890 CASE 2 !Burst
1900 Clock=Clock+16
1910 CASE 3 !Internal (default)
1920 Clock=Clock+24
1930 CASE 4 !Input Data Register
1940 Clock=Clock+32
1950 END SELECT
276 HP E1340A Register-Based Programming
Appendix C
Summary of Contents for E1340A
Page 12: ...Notes 12 HP E1340A Arbitrary Function Generator Module User s Manual ...
Page 14: ...14 HP E1340A Arbitrary Function Generator Module User s Manual ...
Page 42: ...Chapter 2 Generating Standard Waveforms with the HP E1340A 42 ...
Page 54: ...Chapter 2 Generating Standard Waveforms with the HP E1340A 54 ...
Page 58: ...Chapter 3 Generating Arbitrary Waveforms with the HP E1340A 58 ...
Page 84: ...Chapter 4 HP E1340A Sweeping and Frequency Shift Keying 84 ...
Page 130: ...Chapter 6 HP E1340A High Speed Operation 130 ...
Page 202: ...202 HP E1340A SCPI Conformance Information Chapter 7 ...
Page 218: ...218 HP E1340A Specifications Appendix A ...
Page 284: ...284 HP E1340A Register Based Programming Appendix C ...
Page 295: ...Index HP E1340A Arbitrary Function Generator User s Manual 295 ...