ADC 100 Guia do Utilizador Página 18

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 25
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 17
ADC-100 User's Guide16
© Copyright 2004-2007 Pico Technology Limited. All rights reserved.adc100.en
3.3.14
adc100_get_times_and_values
PREF1 unsigned long PREF2 adc100_get_times_and_values (
long HUGE * times,
unsigned short HUGE * buffer_a,
unsigned short HUGE * buffer_b,
unsigned long no_of_values);
This routine reads a block of values from the unit in the most recent
adc100_open_unit or adc100_set_unit call. It takes readings at nominal intervals
specified in the most recent adc100_set_interval call, and returns the actual times for
each reading.
If a key is pressed while collecting, the routine will return immediately. The return
value will be zero if a key was pressed, and the total in micro-seconds if a block was
successfully collected.
When collecting data from just one channel, the parameter for the other buffer can
either be set to NULL, or pointed at the same buffer.
Arguments:
times
buffer_a
buffer_b
no_of_values
Returns:
3.3.15
adc100_get_unit_info
PREF1 short PREF2 adc100_get_unit_info (
char * str,
short str_lth,
short line,
short port);
If the specified unit failed to open, this routine returns a text string which explains
why the unit was not opened.
If the specified unit is open, The routine returns version information about the
ADC-100 DLL, the Windows driver and the sampling rate.
Arguments:
str
- character string buffer for result
str_lth
- length of buffer
line
- 0 to 3: selects which line to return
port
- the printer port number (1..3) to return information for
Returns:
Vista de página 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 24 25

Comentários a estes Manuais

Sem comentários