Measurement-computing ADLIB WIN Bedienungsanleitung Seite 63

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 191
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 62
Chapter 18 Analog Output
17-1
17. ANALOG OUTPUT
The Analog Output function immediately sets the specified DtoA channel to specified voltage. This is
typically used for slower software transfer modes requiring level oriented voltage output application
requirements. For higher speed applications the DMA transfer mode allows timed waveform generation.
To use the AL_SetDAOutput function with the Pci55xx DAC0 or DAC1 the clocking source must also be
configured for “SOFTWARE_CONVERT”, in addition DAC0’s Trigger and Gating modes must be
DISABLED.
17.1 AL_SetDaOutput
Prototype C\C++
ERRNUM AL_SetDaOutput(LHLD lhld, double dData, long lUnits);
Visual for Basic Windows
Function AL_SetDaOutput(ByVal lhld As Long, ByVal dData As Double,
ByVal lUnits As Long) As Long
LHLD lhld handle of the LDSD
double dData output data
long lUnits specifies the output data units
The AL_SetDaOutput function immediately sets a hardware analog output port to the dData value.
Parameter Description
lhld Identifies the instance of the logical device subsystem.
dData Specifies the data output value.
lUnits Sets the units in which the above dData output parameter is specified. The
available settings are defined as AL_VOLTS or AL_RAWDATA in the ADLIB
include file.
Returns:
On success ERRNUM is set to 1, otherwise ERRNUM contains the last error code that occurred during the
call.
Related Functions:
NONE
Program References:
Adlda01
Supported Logical Device Subsystems:
Pci55xx Series: DAC0, DAC1
Seitenansicht 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 190 191

Kommentare zu diesen Handbüchern

Keine Kommentare