![Tegam 2411B Operation Manual Download Page 102](http://html1.mh-extra.com/html/tegam/2411b/2411b_operation-manual_1075421102.webp)
Chapter 8 Advanced Programming
GPIB (IEEE-488.2) Overview -
Error Reporting
Functional Elements (continued)
<PROGRAM MESSAGE>:
WVFM:SINE 1,0;:MODE BURST;:BURST 5;:AMPL 2.5;:EXEC
{ msg 1 } { msg 2 } { msg 3 } { msg 4 }
The semicolon (ASCII 3B) is required to separate <PROGRAM MESSAGE UNITS> within a
<PROGRAM MESSAGE>. For the 2411B a <PROGRAM MESSAGE> can be virtually any length.
The structure for a <RESPONSE MESSAGE> for query responses is similar.
<PROGRAM MESSAGE TERMINATOR> or <PMT> - In order for the device to recognize the end of
a <PROGRAM MESSAGE>, a special terminator is required.
For command messages, the <PMT> can take one of three different formats:
^END
- This is defined as sending EOI TRUE and ATN FALSE with the last byte of the
message.
NL
- NL represents new line and is an ASCII 0A.
NL^END
- A ^END sent along with NL as the last byte.
<RESPONSE MESSAGE TERMINATOR> or <RMT> - For query messages the required terminator is:
NL^END
- A ^ND sent along with NL as the last byte.
Error Reporting
There are four basic types of errors that are reported by a device:
Command
- In general, when a <PROGRAM MESSAGE> is sent with an error in the syntax, a
command error is reported. The command parser (the module that recognizes individual com
mands) will report the bad command, and look for the next valid command in sequence.
Execution
- This error represents either program data which is out of range, or a message which
was not properly executed due to some device condition.In this case the faulty command will
generate the error, but not be performed.
Device Specific
- As the name implies, this error is defined by the specific instrument. Currently
there are no Device Specific errors generated by the 2411B.
Query
- When a controller or other device attempts to read data from the Output Queue when
no data is present or pending, or when output data is lost, a query error is generated.
To clear an error:
1. Correct the condition which caused the error.
2. Send the *CLS command or read the standard event status register by using the *ESR? query com-
mand.
8-12
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: ......