XP8600
Software Reference
s
37
void write_DAC2( int val )
Writes data serially to DAC2 (U4) on the presently addressed XP8600.
The board address must have been set previously with a call to
PBus12_Addr
. A call to one of these functions must be followed by a
call to
latch_DAC2
or its equivalent in user-supplied code
otherwise no digital-to-analog conversion occurs.
void latch_DAC1()
Transfers the data in Register A of DAC1 (U3) to Register B of DAC1,
whereupon it is converted and the analog signal is output. The board
address must have been set previously with a call to
PBus12_Addr
. A
call to this function must be preceded by a call to
write_DAC1
or its
equivalent in user-supplied code.
void latch_DAC2()
Transfers the data in Register A of DAC2 (U4) to Register B of DAC2,
whereupon it is converted and the analog signal is output. The board
address must have been set previously with a call to
PBus12_Addr
. A
call to this function must be preceded by a call to
write_DAC2
or its
equivalent in user-supplied code.
void Init_DAC()
Initializes the presently addressed XP8600, setting both outputs to
zero. The board address must have been set previously with a call to
PBus12_Addr
.
void Set_DAC1( int val )
void Set_DAC2( int val )
Combines the functions of
write_DAC
x
and
latch_DAC
x
into a single
function for convenience. The board address must have been set
previously with a call to
PBus12_Addr
.
Functions in Other Libraries
Functions in the other libraries listed in Table 4-1 are equivalent to those
listed above except for minor internal details.
Summary of Contents for XP8600
Page 6: ...vi s Table of Contents XP8600 XP8900 Blank ...
Page 10: ...XP8600 XP8900 x s About This Manual Blank ...
Page 11: ...XP8600 ...
Page 12: ...This page is blank intentionally Blank ...
Page 20: ...XP8600 20 s Getting Started Blank ...
Page 26: ...XP8600 26 s I O Configurations Blank ...
Page 38: ...XP8600 38 s Software Reference Blank ...
Page 39: ...XP8900 ...
Page 40: ...This page is blank intentionally Blank ...
Page 48: ...XP8900 48 s Getting Started Blank ...
Page 52: ...XP8900 52 s I O Configurations Blank ...
Page 64: ...XP8900 64 s Software Reference Blank ...
Page 65: ...APPENDICES ...
Page 66: ...This page is blank intentionally Blank ...
Page 78: ...XP8600 XP8900 78 s PLCBus Blank ...
Page 79: ...XP8600 XP8900 Specifications s 79 APPENDIX B SPECIFICATIONS ...
Page 84: ...XP8600 XP8900 84 s Specifications Blank ...
Page 89: ...XP8600 XP8900 Simulated PLCBus Connections s 89 APPENDIX D SIMULATED PLCBUS CONNECTIONS ...