DioGetInterfaceStandardLevel

Applies To

GX5280, GX5290, GX5290e, File.

Purpose

Returns the TTL interface standards level.

Syntax

DioGetInterfaceStandardLevel (nHandle, pnStandardLevel, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Board handle.
pnStandardLevel
PSHORT
TTL Interface standards level:
0  DIO_INTERFACE_STANDARD_TWO_POINT_FIVE_VOLTS: Default interface level standard of 2.5V.
1  DIO_INTERFACE_STANDARD_THREE_POINT_THREE_VOLTS: Interface level standard of 3.3V.
2  DIO_INTERFACE_STANDARD_ONE_POINT_EIGHT_VOLTS: Interface level standard of 1.8V.
3  DIO_INTERFACE_STANDARD_ONE_POINT_FIVE_VOLTS: Interface level standard of 1.5V.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

This function configures the board to operate according to the specified level standard in order to interface with different TTL standards. All I/O data lines as well external input line such as external trigger, clock pause will operate according to the configured standards level.

Example

The following example returns the board interface TTL standards:

 

DioGetInterfaceStandardLevel (nHandle, &nStandardLevel, &nStatus);

 

See Also

DioSetupChannelsVoltageLevel, DioConfigureInterfaceStandardLevel, DioGetChannelsVoltageLevel, DioGetErrorString