Measurement-computing ADLIB WIN Manual de usuario Pagina 57

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 191
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 56
Chapter 15 Logical Device Cycle Modes
14-1
14. LOGICAL DEVICE CYCLE MODES
The Cycle Mode setting specifies the duration of the acquisition as either Continuous or Single Cycle. A
Continuous setting informs ADLIB to repeat the operation indefinitely, essentially reusing previous buffers
0-n over and over. In single Cycle Mode the acquisition stops when completed, essentially running until all
buffers have been used.
14.1 AL_SetCycleMode
Prototype C\C++
ERRNUM AL_SetCycleMode(LHLD lhld, LPSTR lpstrMode);
Visual Basic for Windows
Function AL_SetCycleMode(ByVal lhld As Long, ByVal lpstrMode As String) As Long
LHLD lhld handle of the LDSD
LPSTR lpstrMode address of the cycle mode string
The AL_SetCycleMode function sets the software cycle operation mode of the LDSD. See section
4.2
OPERATING MODES for additional details.
Parameter Description
lhld Identifies the instance of the logical device subsystem.
lpstrMode Points to the desired cycle mode string. The available settings are defined
in the ADLIB include file as follows:
AL_SINGLE_CYCLE complete acquisition and stop
AL_CONTINUOUS_CYCLE repeat acquisition
Returns:
On success ERRNUM is set to 1, otherwise ERRNUM contains the last error code that occurred during the
call.
Related Functions:
AL_GetCycleMode
Program References:
Adlai01, Adlai02, Adlai04, Adlai05, Adlai07, Adlai08
Adlda01, Adlda02, Adlda03
Supported Logical Device Subsystems:
Pci55xx Series: DIN0, DIN1, DIN2, DIN3, DOT0, DOT1, DOT2, DOT3, Options: SINGLE_CYCLE
Pci55xx Series: CTR0, CTR1, CTR2, CTR3, Options: SINGLE_CYCLE
Note that CTR0, CTR1 Counters are referenced in the user manual as CNTR0/1 and
Timers CTR2, CTR3 are referenced in the user manual as TMR0/1.
Pci55xx Series: ADC0, DAC0, DAC1, Options: SINGLE_CYCLE or CONTINUOUS_CYCLE
Vista de pagina 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 190 191

Comentarios a estos manuales

Sin comentarios