Long Feedback, Long Rate, Long Num) - Newport ESP6000 User Manual

Motion controller/driver
Table of Contents

Advertisement

esp_set_daq_mode Set Data Acquisition Mode and Parameters
Synopsis:
Arguments:
Library Location:
Description:
Returns:
5-90
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
#include "esp6000.h"
int esp_set_daq_mode(long mode, long axis, long Adcs,

long feedback, long rate, long Num)

long mode
mode of acquisition where,0=unconditional data collection
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
long Num
number of acquisition samples (where maximum = 1000)
\esp6000.dll
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.
During DAQ mode data is collected at servo cycle (409msec.) intervals.
ESPOK, ESPERROR
Hint:
1=collect data whenever axis starts motion
2=collect data only while axis is in slow speed
rd
, 3=every 4
NOTE
th
, max 1000

Advertisement

Table of Contents
loading

This manual is also suitable for:

Unidrive6000

Table of Contents