ADC 100 Guia do Utilizador Página 15

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 25
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 14
Technical reference
13
© Copyright 2004-2007 Pico Technology Limited. All rights reserved. adc100.en
3.3.11
adc100_set_trigger
PREF1 void PREF2 adc100_set_trigger (
unsigned short enabled,
unsigned short auto_trigger,
unsigned short auto_ms,
unsigned short channel,
unsigned short dir,
unsigned short threshold,
unsigned short delay);
This routine defines a trigger event for the next block operation, and specifies the
delay between the trigger event and the start of collecting the data block. Note that
the delay can be negative for pre-trigger.
If the computer is stuck waiting for a trigger that never occurs, you can abort the data
collection by pressing the F10 key.
Arguments:
enabled
- this is TRUE if the ADC-100 is to wait for a trigger
event, and FALSE if the ADC-100 is to start collecting
data
auto_trigger
- this is TRUE if the ADC-100 is to trigger after a
specified time (even if no trigger event occurs). This
prevents the computer from locking up, if no trigger
event occurs
auto_ms
specifies the time in ms after which auto_trigger will
occur
channel
specifies which channel is to be used as the trigger
input:
0 - channel A
1 - channel B
dir
the direction can be rising or falling
threshold
- this is the threshold at which a trigger event on
channel A or B takes place. It is scaled in ADC counts
delay
- This specifies the delay between the trigger event and
the start of the block,as a percentage of the block size.
Thus, 0% means the first data value in the block, and
-50% means that the trigger event is in the middle of
the block
Returns:
none
Vista de página 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 24 25

Comentários a estes Manuais

Sem comentários