DioSetupChannelsVoltageLevel

Applies To

GX5280, GX5290, GX5290e, GX5295, File.

Purpose

Sets all channels voltage level.

Syntax

DioSetupChannelsVoltageLevel (nHandle, dVoltage, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Board or File Board handle.
dVoltage
DOUBLE
Sets all channels voltage level in the range of 1.4V to 3.6V with resolution of 10mV.
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 sets all channels voltage level to 2.0V:

 

SHORT   nStatus;

DioSetupChannelsVoltageLevel (nMasterHandle, 2.0, &nStatus);

 

See Also

DioGetChannelsVoltageLevel, DioGetErrorString