5-90
esp_set_daq_mode Set Data Acquisition Mode and Parameters
Synopsis:
#include “esp6000.h”
int esp_set_daq_mode(long mode, long axis, long Adcs,
long feedback, long rate, long Num)
Arguments:
long mode
mode of acquisition where,0=unconditional data collection
1=collect data whenever axis starts motion
2=collect data only while axis is in slow speed
long axis
motion axis used to trigger acquisition
long Adcs
analog-to-digital channels involved in acquisition
where bit-0 = channel 1, bit-1 = channel 2, bit-2 = channel 3… bit-7 = channel 8
long feedback
position feedback (encoder) channels involved in acquisition
where bit-0 = channel 1, bit-1 = channel 2, bit-2 = channel 3… bit-7 = channel 8
long rate
acquisition rate which is a multiple of the servo cycle rate
where 0=every servo cycle, 1=every other, 2=every 3
rd
, 3=every 4
th
, max 1000
long Num
number of acquisition samples (where maximum = 1000)
Library Location:
\esp6000.dll
Description:
esp_set_daq_mode() API function call is used to set Data Acquisition (DAQ) mode.
ESP6000 DAQ modes facilitate the capture of any combination of 16-bit, 8-channel
analog-to-digital input and 8-quadrature encoded position data. Other commands like
esp_get_daq_data() retrieve stored information.
NOTE
During DAQ mode data is collected at servo cycle (409msec.) intervals.
Returns:
ESPOK, ESPERROR
Hint:
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание ESP6000
Страница 24: ...1 1 0 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 44: ...2 2 0 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 96: ...5 30 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 122: ...5 56 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 142: ...5 76 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 164: ...5 98 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 170: ...5 104 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 178: ...5 112 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 216: ...7 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 226: ...8 1 0 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 232: ...9 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 238: ...A 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 246: ...B 8 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 278: ...D 4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 286: ...F 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 288: ...G 2 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 290: ...G 4 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...