Chapter 8 Advanced Remote Operation
Waveform Memory Format -
Example
Example:
An 8 point positive Ramp down loaded into wave 1, address 0.
WVFM:WAVE l;MEMO,#40016
binary_data
\n
Where
binary _data
are the following values as bytes sent to the GPIB or RS-232.
|128|0|146|73|164|146|182|219|201|36|219|109|237|182|255|255|
The complete command as bytes in memory would look like the following:
|'W'|'V'|'F'|'M'|':'|'W'|'A'|'V'|'E'|' '|'1'|';'|'M'|
|'E'|'M'|' '|'0'|','|'#'|'4'|'0'|'0'|'1'|'6'|128| 0 |
|146| 73|164|146|182[219|201| 36|219|109|237|182|
|255|255| 10|
Where |'A'| represents one byte in memory containing the character 'A' (i.e the value ASCII(65)) and
|219| represents one byte in memory whose value is 219.
Therefore: |'A'| and |65| are equal in value.
In
QuickBASIC
A$= "WVFM:WAVE 1;MEM 0,#40016"+CHR$(128)+CHR$(0)
+CHR$( 146)+CHR$(73)+CHR$( 164)+CHR$( 146)
+CHR$( 182)+CHR$(219)+CHR$(201 )+CHR$(36)
+CHR$(219)+CHR$( 109)+CHR$(237)+CHR$( 182)
+CHR$(255)+CHR$(255)+CHR$(10)
In
C
{
int i;
char wvfm_buffer[100];
char data[16]= {128,0,146,73,164,146,182,219,201,36,219,109,237,182,255,255}
sprintf(wvfm_buffer, "WVFM:WAVE 1;MEM 0,#40016");
for(i=0; i < 16; i++)
wvfm_buffer[i+24] = data[i]; /* 24 bytes in header */
wvfm_buffer[ 16+24] = '\n'; /* end of block */
}
8-23
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: ......