Gpiodigitalset - 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.64

GPIODigitalSet

Name
GPIODigitalSet – Sets one digital output.
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
-
GPIO name (DO): (-8)
-
Hardware compatibility or XPS initialization in progress: (-22)
Description
Sets the value of the selected digital output (DO).
Prototype
int GPIODigitalSet(
int SocketID,
char * GPIOName,
unsigned short Mask,
unsigned short DigitalOutputValue
)
Input parameters
SocketID
GPIOName
Mask
DigitalOutputValue
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.
• -22:
Not allowed action.
int
Socket identifier gets by the
"TCP_ConnectToServer" function.
char *
Digital GPIO name (maximum size = 250).
ushort
Mask.
ushort
Digital output value.
111
Programmer's Manual
EDH0373En1023 — 01/18

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xps-rlXps-qXps-d

Table of Contents