PIPLX_BattGetCurrent

unsigned long PIPLX_BattGetCurrent (long session, unsigned long cardNum, unsigned long subunit, double *current);

Purpose

Get Battery Simulator (BATT type) channel sink current

Parameters

Input
Name Type Description
session long

Handle of current session.

cardNum unsigned long

Pickering card reference of target (unity-based)

subunit unsigned long

sub-unit of target to access (unity-based)

Output
Name Type Description
current double (passed by reference)

variable to receive the current currently set (in Amps)

Return Value

Name Type Description
error unsigned long

0 = success; non-zero = error code

References

Battery Simulator
Client Bridge for LXI - Base module
Alphabetical Function Index
Hierarchical Function Index