DioGetInputInterface

Applies To

GX5280, GX5290, GX5290e, File.

Purpose

Returns the Input Interface.

Syntax

DioGetInputInterface (nHandle, pnInterface, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Board or File board handle.
pnInterface
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 for each group of channels when in Input mode.

Example

The following example returns the Input Active Interface:

 

SHORT nInterface;

DioGetInputInterface (nHandle, &nInterface, &nStatus);

 

See Also

DioSetupInputInterface, DioGetErrorString