Chapter 8 Advanced Remote Operation
Waveform Memory Format -
Example
Example:
An 8 point sine wave down loaded into wave 2, address 48.
WVFM:WAVE 2;MEM 48,#40016
binary_data
\n
Where
binary_data
are the following values as bytes sent to the GPIB or RS-232.
|128| 0|218|129|255|255|218|129|128| 0|37|126| 0| 0| 37|126|
The complete command as bytes in memory would look like the following:
|'W'|V'|'F'|'M'|':'|'W'|'A'|'V'|'E'|' '|'2'|';'|'M'|'E'|
|'M'|' '|'4'|'8'|','|'#'|'4'|'0'|'0'|'1'|'6'|128| 0 |218|
|129|255|255|218|129|128| 0| 37|126| 0 | 0 | 37|126| 10|
In
BASIC
A$="WVFM:WAVE 2;MEM 48,#40016"+CHR$(128)+CHR$(0)
+CHR$(218)+CHR$(129)+CHR$(255)+CHR$(255)
+CHR$(218)+CHR$( 129)+CHR$( 128)+CHR$(0)+CHR$(37)+CHR$(126)
+CHR$(0)+CHR$(0)+CHR$(37)+CHR$(126)+CHR$(10)
In
C
{
int i;
char wvfm_buffer[100];
char data[16]= {128,0,218,129,255,255,218,129,128,0,37,126,0, 0,37,126}
sprintf(wvfm_buffer,"WVFM:WAVE 2;MEM 48,#40016");
for(i=0; i < 16; i++)
wvfm_buffer[i+25] = data[i]; /* 25 bytes in header */
wvftn_buffer[16+25] = '\n'; /* end of block */
}
8-24
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: ......