![HP HP E1346A Скачать руководство пользователя страница 67](http://html.mh-extra.com/html/hp/hp-e1346a/hp-e1346a_user-manual_162653067.webp)
Embedded Computer
Programming
(C-Size Systems)
If the E1346A multiplexer is part of a C-Size VXI system, the fastest
throughput is achieved using an embedded computer. The embedded
computer allows you to access the registers from the VXIbus backplane,
and thus, there is no parsing of SCPI command headers.
IBASIC Programming
When the E1346A multiplexer is programmed using the E1300/E1301
Mainframe’s Instrument BASIC (IBASIC), two methods of accessing the
registers are through absolute addressing or using select code 8.
Absolute Addressing and Select Code 8
Absolute addressing is faster than select code 8 since the complete register
address (including the A16 starting location 1FC000
16
) is specified. When
select code 8 is used, the IBASIC processor must calculate the complete
register address based on the logical address specified (Table B-1).
The Register Offset
and Register Number
Depending on whether absolute addressing or select code 8 is used, either a
register offset or register number is specified as part of the register address.
Absolute addressing specifies a register offset, which is the register’s
location in the block of 64 address bytes. For example, the multiplexer’s
Channel Register has an offset of 08
16
. When you write a command to this
register, the offset is added to the base address to form the register address
(using a logical address of 80):
register address =base aregister offset
= 1FC000
16
+ (80 * 64)
16
+ 08
16
= 1FC000
16
+ 1400
16
+ 08
16
= 1FD408
16
or
= 2,080,768 + (80 * 64) + 8
= 2,080,768 + 5120 + 8 = 2,085,896
Using select code 8 requires that you specify a register number. The
register number is the register offset/2. Referring to Figure B-1, the
Channel register with an offset of 08, is register number 4.
66 HP E1346A Multiplexer Registers
Appendix B
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com