National Instruments 320030-01 Printer Accessories User Manual


 
Appendix C Sample Programs
© National Instruments Corporation C-3 GPIB-1014 User Manual
| ISR1 Bits
DI = 001 (octal) | Data in
DO = 002 | Data out
ERR = 004 | Error
ENDRX = 020 | END received
| ISR2 Bits
CO = 010 | Command out
| ADSR Bits
NATN = 0100 | Not ATN
| ADMR Bits
MODE1 = 001 | Address Mode 1
TRM = 060 | GPIB-1014 functions for T/R2 and T/R3
| ADR Bits
DT1 = 0100 | Disable Talker
DL1 = 0-40 | Disable Listener
| AUXMR Hidden Registers
ICR = 040 | Internal Counter Register
PPR = 0140 | Parallel Poll Register
AUXRA = 0200 | Auxiliary Register A
AUXRB = 0240 | Auxiliary Register B
AUXRE = 0300 | Auxiliary Register E
| AUXMR Commands
IEPON = 000 | Immediate execute power on
FH = 003 | Finish (release) handshake
GTS = 020 | Go to standby
TCA = 021 | Take control asynchronously
TCS = 022 | Take control synchronously
TCSE = 032 | Take control synchronously on END
LTN = 023 | Listen
LTNC = 033 | Listen continuously
LUN = 034 | Unlisten
SIFC = 036 | Set IFC
CIFC = 026 | Clear IFC
SREN = 037 | Set REN
CREN = 027 | Clear REN
CRST = 002 | Chip Reset
| OCR Bits
GTM = 202 | Transfer from GPIB to memory
MTG = 002 | Transfer from memory to GPIB
ACHN = 010 | Array Chaining
| SCR Bits
MCU = 004 | Memory address counts up
| CCR Bits
GO = 0200 | Start DMA channel
STOP = 020 | Stop DMA channel