Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Error in GPIB_IO.H Header File for ESP488TL Beta 1 for the TNT4882TL ASIC

Hardware: GPIB

Problem:  
The GPIB_IO.H defines do not match those listed in the manual.  What should this section of the header file read?

Solution:
Use the Programmer Reference Manual or the Technical Reference Manual instead of any header file.  To correct the file, modify GPIB_IO.H so that B_x is (1<<5) and B_intsrc1 is (1<<7).

The header file initially reads:

#define R_isr3 0x1a
#define B_x (1<<7)
#define B_intsrc2 (1<<6)
#define B_intscr1 (1<<5)
#define B_intstop (1<<4)
#define B_nff (1<<3)
#define B_net (1<<2)
#define B_tlcint (1<<1)
#define B_done (1<<0)

In the manual, I see:

Bit Description
7 INT *
6 INTSCR2
5 x *
4 stop
3 nff
2 nef
1 tlcint
0 done

* These do not match the defines in the header file.

The header file should be modified to read:

#define R_isr3 0x1a
#define B_intsrc1 (1<<7)
#define B_intsrc2 (1<<6)
#define B_x       (1<<5)
#define B_intstop (1<<4)
#define B_nff     (1<<3)
#define B_net     (1<<2)
#define B_tlcint  (1<<1)
#define B_done    (1<<0)


Related Links:

Attachments:





Report Date: 03/14/1997
Last Updated: 02/19/2008
Document ID: 0VDBORVD

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit