![Tegam 2411B Operation Manual Download Page 112](http://html1.mh-extra.com/html/tegam/2411b/2411b_operation-manual_1075421112.webp)
Chapter 8 Advanced Remote Operation
Waveform Memory Format -
Binary Waveform Download
Binary Waveform Download
The 2411B also supports binary format for waveform <data> items. Binary format is the fastest way to
transfer data.
<command header> <start address>,<binary data><\n>
The <command header> and <start address> are the same as above. The <binary data> has the following
format:
<#xnum><length><hi bytexlo byte>[<hixlo>...]<\n>
Where:
<#> is the pound sign, ASCII(35).
<num> is the number of digits in the length parameter. 1 to 9.
<length> is the length in bytes (two bytes per waveform data point).
<hi byte> contains the upper eight bits of a waveform data point.
<lo byte> contains the lower eight bits of a waveform data point.
<\n> is the new-line character, ASCII(10).
NOTE:
1.The range of a waveform data point is 0 to 65535. IftheAMPL (Amplitude) parameter is set to 10V,
the following waveform data point values: 0, 32768, and 65535, produce -10 Volts, 0 Volts, and 10
Volts, respectively, on the output. The waveform data point is converted to <hi byte><lo byte> format
for binary downloading. Conversion from waveform data point to <hi byte><lo byte> can be accom-
plished as follows:
QuickBASIC
high_byte = FIX( pointdata / 256)
low_byte = pointdata MOD 256
C
high_byte = pointdata / 256
low_byte = pointdata % 256
Where point data is between 0 and 65535.
2. Since two bytes are required for each waveform data point, the length of bytes sent must always be
even.
3. An example of downloading binary data is included in a Quick Basic program on page 8-25.
8-22
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: ......