Scbread; Scbwrite - HP E1313A Manual

High speed a/d module
Table of Contents

Advertisement

Required Signal
Conditioning
Plug-on Registers
360
Register-Based Programming
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
SCBREAD? <
regaddr
Returns a 16-bit value which is the contents of the requested register on the
SCP Bus.
regaddr
is an 11-bit address, which has the two formats shown
<
>
below.
Accessing SCP Channel Registers
10
9
CAL
CHN=1
Accessing Whole SCP Registers
10
9
CAL
CHN=0
Plug-on#:
SCP slot number (0 - 7)
Chan_addr:
Channel number on SCP () - 7)
Reg_addr:
SCP register address (see individual SCP reference)
To access registers which apply to the whole SCP, set the CHN bit to zero.
To access registers for individual channels, set CHN bit to one. The CAL
bit is zero when accessing SCPs, and one when accessing registers which
control the calibration relays.
regaddr
SCBWRITE <
Writes the 16-bit value,
word
<
by
regaddr
. The format of
<
>
Signal Conditioning Plug-ons have several required registers. There are
two major categories of SCP registers: Whole SCP Registers (CHN bit = 0)
in which the register has effect on the entire SCP; and Channel Registers
(CHN bit = 1) which effect only a single SCP channel.
Whole SCP Registers (CHN bit = 0)
ID Register (Read, regaddr = 00ppp000000
(ppp = SCP plug-on number, 0 - 7)
15 - 8
ID
Sub ID is an 8-bit field which identifies the particular version of the SCP.
Substantially similar SCPs may be available in several versions,
distinguished by filter cutoff frequency or some other parameter which does
not affect the software driver. The 8-bit ID field determines the class of
SCP, which directs the SCPI driver how to control it. Simple SCPs may
return the same number in both fields.
>
8 - 6
5 - 3
Plug-on#
Chan_addr
Reg_addr
8 - 6
5 - 3
Plug-on#
Reg_addr
word
> <
>
, to a location on the SCP Bus determined
>
regaddr
is documented above.
<
>
)
2
7 - 0
SUB ID
0800
16
2 - 0
2 - 0
0810
16
Appendix D

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1413c

Table of Contents