GtDio6xPowerSupplyGetCurrent

Applies To

GX5961, GX5964

Purpose

Returns the read back of the high-powered chassis power supply current flow.

Syntax

GtDio6xPowerSupplyGetCurrent (nHandle, nSource, pdCurrent, pnStatus)

Parameters

Name
Type
Comments
nHandle
SHORT
Session identifier:

     Board handle is used when communicating with the hardware. The Board handle session identifier is returned by calling GtDio6xInitialize or GtDio6xSetupInitialization.

nSource
SHORT
Used to select the power supply module to program:

0.   GTDIO6X_POWER_SUPPLY_VCC: Selects to read back from the VCC module.

1.   GTDIO6X_POWER_SUPPLY_VCC2: Selects to read from the VCC2 module.

2.   GTDIO6X_POWER_SUPPLY_VEE: Selects to read back from the VEE module.

3.   GTDIO6X_POWER_SUPPLY_VDD: Selects to read back from the VDD module.

pdCurrent
PDOUBLE
Used to return the voltage level read back of the module selected in the nSource parameter.
pnStatus
LONG
Returned status: 0 on success, negative value on failure.

Comments

The Marvin Test Solutions Gx7015A and Gx7005A high-powered chassis include a built in, user programmable power supply system. They use a special backplane to deliver high-power to the GX5960 pin electronics via the J5 PXI connector. The power supply is made up of two VCC high rail modules, one VEE low rail module, and one VDD module.

The GX5960 DIO is capable of controlling these modules by setting their voltages, and monitoring their voltage and current output.

Example

 

See the GtDio6xPowerSupplySetRailsVoltage for a complete example.

 

See Also

GtDio6xPowerSupplyIsSupported, GtDio6xPowerSupplyResetFault, GtDio6xPowerSupplySetState,  GtDio6xPowerSupplySetVoltage, GtDio6xPowerSupplySetVoltageRails, GtDio6xGetErrorString