Chapter 7 Remote Interface Operation
GPIB Programming Example (continued)
GPIB Programming Example (continued)
SUB SendGpibCmmd (OutputString$)
CALL ibwrt(ArbGen%, OutputString$) ‘send command to 2411B
CALL ibwrt(ArbGen%, "*ESR?") ‘check error code
WaitDelay (.01)
InputString$ = SPACE$(100)
CALL IBRD(ArbGen%, InputString$)
IF VAL(InputString$) AND 1 THEN PRINT “>> Operation Complete <<”;
IF VAL(InputString$) AND 2 THEN PRINT “>>Request Control ( N/I) <<”;
IF VAL(InputString$) AND 4 THEN PRINT “>> QUERY ERROR <<”;
IF VAL(InputString$) AND 8 THEN PRINT “>> Device Dependant ERROR <<”;
IF VAL(InputString$) AND 16 THEN PRINT “>> Execution ERROR <<”;
IF VAL(InputString$) AND 32 THEN PRINT “>> Command ERROR <<”;
IF VAL(InputString$) AND 64 THEN PRINT “>> User Request ( N/I) <<”;
IF VAL(InputString$) AND 128 THEN PRINT “>> Power On <<”;
IF VAL(InputString$) > 0 THEN PRINT "Status read : “; VAL(InputString$)
IF VAL(InputString$) > 0 THEN CALL ibwrt(ArbGen%, “*cls")
IF VAL(InputString$) > 0 THEN BEEP
CALL ibwrt(ArbGen%, “*cls”)
END SUB
SUB WaitDelay (Sec)
StrtTime = TIMER
CurrentTime = TIMER
StpTime = St (Sec)
DO WHILE CurrentTime < StpTime
CurrentTime = TIMER
LOOP
END SUB
7-19
Summary of Contents for 2411B
Page 10: ...1 Quick Start...
Page 22: ......
Page 23: ...2 About Arbitrary Waveforms...
Page 30: ......
Page 31: ...Chapter 2 About Arbitrary Waveforms 2411B Block Diagram 2 8 Block Diagram...
Page 32: ...3 Front Panel Menu Operation...
Page 41: ...4 Waveform Creation System...
Page 43: ...Chapter 4 Waveform Creation System User Interface for the Waveform Creation System 4 3...
Page 61: ...5 Multi Instrument Operation...
Page 68: ...6 Performance Verification...
Page 71: ...Chapter 6 Performance Verification Verification Test Sheet 6 4...
Page 72: ...7 Remote Interface Operation...
Page 78: ...Chapter 7 Remote Interface Operation Command Set Command Set 7 7...
Page 79: ...Chapter 7 Remote Interface Operation Command Set continued Command Set continued 7 8...
Page 80: ...Chapter 7 Remote Interface Operation Command Set continued Command Set continued 7 9...
Page 81: ...Chapter 7 Remote Interface Operation Command Set continued Command Set continued 7 10...
Page 82: ...Chapter 7 Remote Interface Operation Command Set continued Command Set continued 7 11...
Page 83: ...Chapter 7 Remote Interface Operation Command Set continued Command Set continued 7 12...
Page 84: ...Chapter 7 Remote Interface Operation Command Set continued Command Set continued 7 13...
Page 91: ...8 Advanced Remote Operation...
Page 125: ...Appendix...
Page 133: ...AMPLITUDE OFFSET RANGES...
Page 134: ...INDEX...
Page 140: ......