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KH
#
RXWSXW
#
EXIIHU
1
To Interrupt Your Bus Controller Using SRQ
4
Send a device clear message to clear the power supply’s output buffer (e.g.,
CLEAR 705
).
5
Clear the event registers with the
*CLS
(clear status) command.
6
Set up the enable register masks. Execute the
*ESE
command to set up the
Standard Event register and the
*SRE
command for the Status Byte.
7
Send the
*OPC?
(operation complete query) command and enter the result to
ensure synchronization.
8
Enable your bus controller’s IEEE-488 SRQ interrupt.
Содержание E3633A
Страница 9: ...8 ...
Страница 14: ...1 General Information ...
Страница 25: ...Chapter 1 General Information Input Power Requirements 24 ...
Страница 26: ...2 Initial Operation ...
Страница 33: ...Chapter 2 Initial Operation Output Checkout 32 ...
Страница 34: ...3 Front Panel Operation ...
Страница 74: ...4 Remote Interface Reference ...
Страница 124: ...5 Error Messages ...
Страница 134: ...6 Application Programs ...
Страница 145: ...Chapter 6 Application Programs Example Program for Excel 97 144 ...
Страница 146: ...7 Tutorial ...
Страница 162: ...8 Specifications ...
Страница 169: ...Chapter 8 Specifications Supplemental Characteristics 168 ...
Страница 175: ......