EasyManuals Logo

Newport XPS-D Programmer's Manual

Newport XPS-D
722 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #125 background imageLoading...
Page #125 background image
XPS Unified Programmer’s Manual
7.2.1.64 GPIODigitalSet
Name
GPIODigitalSetSets 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 int Socket identifier gets by the
“TCP_ConnectToServer” function.
GPIOName char * Digital GPIO name (maximum size = 250).
Mask ushort Mask.
DigitalOutputValue ushort Digital output value.
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.
111 EDH0373En1023 01/18

Table of Contents

Other manuals for Newport XPS-D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Newport XPS-D and is the answer not in the manual?

Newport XPS-D Specifications

General IconGeneral
BrandNewport
ModelXPS-D
CategoryController
LanguageEnglish

Related product manuals