ADwin-Gold II
, Manual February 2013
61
Analog Inputs and Outputs
Start_DAC
ADwin
Start_DAC
Start_DAC
starts the conversion or the output of all DAC.
Syntax
#INCLUDE
ADwinGoldII.inc / GoldIITiCo.inc
Start_DAC
()
Parameters
- / -
Notes
Write_DAC
sets the value in the output register of a DAC.
See also
Valid for
Gold II, Gold II-DA4, Gold II-DA8
Example
REM Simultaneous output of two different signal waveforms
REM on outputs DAC 1 and 2.
Rem Please select the appropriate include for ADbasic / TiCoBasic
#
I
nclude
ADwinGoldII.inc / GoldIITiCo.inc
Dim
i
As
Long
Init:
Processdelay
=
10000
i
=
0
Write_DAC
(
1
,
i
)
'Set output register DAC1
Write_DAC
(
2
,
65535
-
i
)
'Set output register DAC2
Event:
Start_DAC
()
'Start ouput of all DAC
Write_DAC
(
1
,
i
)
'Set output register DAC1
Write_DAC
(
2
,
65535
-
i
)
'Set output register DAC2
Inc
(
i
)
If
(
i
=
65535
)
Then
i
=
0
T11 TiCo