390 SUB Parm4(Byte1,Byte2,Byte3,Byte4)
400 Parm4: !Subprogram which queries four byte parameters
410 COM Base_addr
420 Write_reg(8,13)
430 Write_reg(10,Byte1)
440 Queryrdy
450 Byte1=READIO(-9826,Ba8)
460 Byte1=BINAND(Byte1,255)*2^24
470 !
480 Write_reg(8,13)
490 Write_reg(10,Byte2)
500 Queryrdy
510 Byte2=READIO(-9826,Ba8)
520 Byte2=BINAND(Byte2,255)*2^16
530 !
540 Write_reg(8,13)
550 Write_reg(10,Byte3)
560 Queryrdy
570 Byte3=READIO(-9826,Ba8)
580 Byte3=BINAND(Byte3,255)*2^8
590 !
600 Write_reg(8,13)
610 Write_reg(10,Byte4)
620 Queryrdy
630 Byte4=READIO(-9826,Ba8)
640 Byte4=BINAND(Byte4,255)
650 !
660 Value=(Byte1+Byte2+Byte3+Byte4)/100
670 PRInt Value
680 SUBEND
690 !
700 SUB Write_reg(Reg,Cp_data)
710 Write_reg: !Subprogram which writes data to command and parameter
720 !registers
730 COM Base_addr
740 Check_ready
750 WRITEIO -9826,BaReg;Cp_data
760 SUBEND
770 !
780 SUB Check_ready
790 Check_ready: !Monitors command and parameter execution
800 REPEAT
282 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 ...