Gpioanalogset - Newport XPS Programmer's Manual

Xps unified series universal high-performance motion controller/driver
Hide thumbs Also See for XPS:
Table of Contents

Advertisement

XPS Unified
7.2.1.62

GPIOAnalogSet

Name
GPIOAnalogSet – Sets one or several analog outputs (DAC).
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
-
Checks if the GPIO type is DAC: (-8)
-
Checks input parameters number: (-17)
Description
Sets analog value array for DAC type of GPIO.
Prototype
int GPIOAnalogSet(
int SocketID,
int NbElements,
char * GPIONameList,
double * AnalogValueArray
)
Input parameters
SocketID
NbElements
GPIONameList
AnalogGainValueArray
Output parameters
None.
Return (In addition to the results of "Input Tests Common to all XPS
Functions")
• 0:
No error.
• -8:
Wrong object type for this command.
• -17:
Not allowed action.
• -22:
Not allowed action.
int
Socket identifier gets by the
"TCP_ConnectToServer" function.
int
Number of analog GPIO to
char *
List of analog GPIO names –
comma.
double * Analog GPIO value array (DAC or ADC).
109
Programmer's Manual
read.
separator is
EDH0373En1023 — 01/18

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xps-rlXps-qXps-d

Table of Contents