EasyManua.ls Logo

Newport XPS-D - Gpiodigitalpulsewidthget

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
Loading...
XPS Unified Programmer’s Manual
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 int Socket identifier gets by the
TCP_ConnectToServer” function.
GPIOName int GPIO digital I/O name.
Output parameters
PulseWidth double * Current GPIO pulse width (µsec).
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
0: No error.
-8: Wrong object type for this command.
EDH0373En1023 01/18 112

Table of Contents

Other manuals for Newport XPS-D

Related product manuals