PIPLX_BattReadInterlockState

unsigned long PIPLX_BattReadInterlockState (long session, unsigned long cardNum, unsigned long subunit, int *interlock);

Purpose

Get Battery Simulator (BATT type) interlock state

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
interlock int (passed by reference)

variable to receive the interlock state ('1' = interlock intact)

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