Chapter 8 Advanced Remote Operation
Waveform Memory Format -
Binary Download Test Program for GPIB (continued)
Binary Download Test Program for GPIB (continued)
MakeHeader:
templ$ = "#6000000"
temp2$ = LTRIM$(STR$(2 * BlockSize&))
Header$ = LEFT$(templ$, LEN(templ$) - LEN(temp2$)) + temp2$
RETURN
AssembleData:
CurrentPosition& = 1
BinData$ = SPACE$(2 * (StopIndex& - Startlndex& + 1))
FOR IndexPointer& = StartIndex& TO StopIndex&
MID$(BinData$,CurrentPosition&,2) = CHR$(INT(ArbData&( IndexPointer&) / 256))
+ CHR$(ArbData&(IndexPointer&) AND 255)
CurrentPosition& = CurrentPosition& + 2
NEXT IndexPointer&
RETURN
CheckStatus:
CALL ibwrt(Arb%, "*ESR?")
InputString$ = SPACE$(100)
CALL IBRD(Arb%, InputString$)
IF VAL(InputString$) AND 1 THEN
PRINT ">> Operation Complete <<";
END IF
IF VAL(InputString$) AND 2 THEN
PRINT ">> Request Control ( N/I ) <<";
END IF
IF VAL(InputString$) AND 4 THEN
PRINT "» QUERY ERROR «";
END IF
IF VAL(InputString$) AND 8 THEN
PRINT “>>Device Dependant ERROR <<”;
END IF
IF VAL(InputString$) AND 16 THEN
PRINT ">> Execution ERROR <<";
END IF
IF VAL(InputString$) AND 32 THEN
PRINT "» Command ERROR «";
END IF
IF VAL(InputString$) AND 64 THEN
PRINT ">> User Request ( N/I ) <<";
END IF
IF VAL(InputString$) AND 128 THEN
PRINT ">> Power On <<";
END IF
IF VAL(InputString$) > 0 THEN
PRINT " Status read : "; VAL(InputString$)
END IF
IF VAL(InputString$) > 0 THEN CALL ibwrt(Arb%, "*CLS")
RETURN
8-27
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: ......