DioSetupInputInterface

Applies To

GX5280, GX5290, GX5290e, File.

Purpose

Sets the input data active interface.

Syntax

DioSetupInputInterface (nHandle, nInterface, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Board handle.
nInterface
SHORT
Input Active Interface:
0  DIO_IO_INTERFACE_TTL: Input TTL connector is the active interface.
1  DIO_IO_INTERFACE_LVDS: Input LVDS connector is the active interface.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

This function selects the active input connector LVDS or TTL Standard (3.3V, 2.5V, 1.8V or 1.5V) for each groups of channels when in Input mode.

Example

The following example sets the LVDS as the Input Active Interface:

 

SHORT nStatus;

DioSetupInputInterface (nHandle, DIO_IO_INTERFACE_LVDS, &nStatus);

 

See Also

DioGetInputInterface, DioGetErrorString