DioGetChannelsVoltageLevel

Applies To

GX5280, GX5290, GX5290e, File.

Purpose

Returns the I/O voltage level for all 32 channels in the board.

Syntax

DioGetChannelsVoltageLevel (nHandle, pdVoltage, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Board or File Board handle.
pdVoltage
PDOUBLE
Channels voltage level. Voltage level can be between 1.4V - 3.6V with 10mV resolution.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

The function program the voltage level, applied for all 32 channels, in the TTL Standard connector.

Example

The following example returns the channels voltage level:

 

SHORT nStatus;

DioGetChannelsVoltageLevel (nHandle, &dVoltage, &nStatus);

 

See Also

DioSetupChannelsVoltageLevel, DioGetErrorString