Gpiodigitalpulsewidthget - 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
EDH0373En1023 — 01/18
7.2.1.65

GPIODigitalPulseWidthGet

Name
GPIODigitalPulseWidthGet – Reads current GPIO digital I/O pulse width.
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
-
Checks GPIO name and type (must be Digital I/O): (-8)
Description
This function reads the current GPIO digital I/O pulse width defined in microseconds.
Prototype
int GPIODigitalPulseWidthGet(
int SocketID,
char GPIOName,
double * PulseWidth
)
Input parameters
SocketID
GPIOName
Output parameters
PulseWidth
Return (In addition to the results of "Input Tests Common to all XPS
Functions")
• 0:
No error.
• -8:
Wrong object type for this command.
int
Socket identifier gets by the
TCP_ConnectToServer" function.
int
GPIO digital I/O name.
double * Current GPIO pulse width (µsec).
112
Programmer's Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xps-rlXps-qXps-d

Table of Contents