National Instruments Corporation GPIB-1014P User Manual page 135

Table of Contents

Advertisement

Appendix C
68000
Code
------------------------------------------------------------------------------------------------------------------------------------------------
PASSC: movb #TCA,AUXMR.L
movb #UNT,cmdbuf.L
movb #UNL,cmdbuf.L+1
movb #tctadr,cmdbuf.L+2
movb #TCT,cmdbuf.L+3
movw #4,cmdct
bsr
CMD
rts
© National Instruments Corporation
|
| * * * * * * * * * * * * * * * * * * * * * *
| * PASS CONTROL - PASSC*
| * * * * * * * * * * * * * * * * * * * * * *
|
| Summary:
|
- Passes GPIB Controller-In-Charge status to another
|
device
|
| Assumptions on entry:
|
- The GPIB-1014P is Controller-In-Charge
|
- The primary GPIB address of the new controller is placed
|
in tctadr
|
| Actions:
|
- Send TCA command to take control in case the GPIB-1014P
|
is at standby
|
- Set up the command buffer and command count
|
- Call CMD to send the command bytes
|
| Status on return:
|
- The GPIB-1014P is Idle Controller
|
|
|
Comments
|
| Take control in case at standby
| Set up the command buffer
|
|
| The GPIB-1014P automatically releases
|
| control when TCT is sent
|
|
C-19
Sample Programs
*
*
GPIB-1014P User Manual

Advertisement

Table of Contents
loading

Table of Contents