User`s manual

Agilent E1330B Digital I/O Module Register Information 121
Appendix B
Programming Examples
The examples in this section demonstrate how to program the module at the register
level. The programs follow the execution and timing models covered in the previous
section. The examples in this section include:
-- Resetting the Module
-- Reading the ID, Device Type, and Status Registers
-- Writing an 8-bit Byte
-- Writing a 16-bit Word
-- Reading an 8-bit Byte
-- Reading a 16-bit word
-- Debugging Register Based Programs
-- Using an Embedded Computer
System
Configuration
The following example programs were developed with the module at logical
address 144. The BASIC/UX programs were developed using the Agilent E1300
Mainframe Series B BASIC language. The C language programs were developed
on an HP Vectra PC (IBM PC compatible) using Borland's Turbo C++
programming language.
1
1.Borland Intl., Inc.