Download GPH-3300

Transcript
GPH-3300 Help for Linux
5.1.10 DaGetMode
The DaGetMode function retrieves configuration information of the board-specific functionality.
Model
Description
PCI/PAZ-3305
Retrieves the waveform generation mode.
PCI-3335, PCI-3337
Retrieves the operation mode of the EXTRG OUT pin.
PCI/PAZ-3310,
Retrieves the operation mode of the EXCLK OUT pin.
PCI-3335,
PCI/PAZ-3336,
PCI-3337,
PCI/PAZ-3340
int DaGetMode(
int
nDevice,
PDASMPLREQ
pDaMode
);
Parameters
nDevice
Specifies the device number opened by the DaOpen function.
pDaMode
Points to the DAMODEREQ structure to receive board-specific configurations.
Return Value
The DaGetMode function returns DA_ERROR_SUCCESS if the process is successfully completed.
Otherwise, this function returns the following codes. Please refer to the error codes.
- DA_ERROR_NOT_DEVICE
- DA_ERROR_INVALID_DEVICE_NUMBER
- DA_ERROR_NOT_SUPPORTED
- DA_ERROR_ILLEGAL_PARAMETER
- DA_ERROR_NULL_POINTER
Comments
- For the PCI/PAZ-3305, the DAMODEREQ structure contains the waveform generation parameters.
- For the PCI-3335 and PCI-3337, the ulExControl member of the DAMODEREQ structure contains the
mode of the EXTRG OUT pin: DA_EXTRG_IN (trigger output disabled) or DA_EXTRG_OUT (trigger
output enabled).
- For the PCI/PAZ-3310, PCI-3335, PCI/PAZ-3336, PCI-3337, and PCI/PAZ-3340, the ulExClock member
of the DAMODEREQ structure contains the mode of the EXCLK OUT pin: DA_EXCLK_IN or
DA_EXCLK_OUT.
Copyright 2002, 2003 Interface Corporation. All rights reserved.
51