PIPLX_ResInfo

unsigned long PIPLX_ResInfo (long session, unsigned long cardNumber, unsigned long subunit, double *maximumResistance, double *minimumResistance, double *referenceResistance, double *percentagePrecision, double *offsetPrecision, double *int1, double *internalPrecision, unsigned long *capabilities);

Purpose

Obtains detailed information on a programmable resistor sub-unit.

Parameters

Input
Name Type Description
session long

Handle of current session.

cardNumber unsigned long

Card number.

subunit unsigned long

Subunit number.

Output
Name Type Description
maximumResistance double (passed by reference)

minimum resistance setting.

minimumResistance double (passed by reference)

maximum resistance setting.

referenceResistance double (passed by reference)

reference resistance value.

percentagePrecision double (passed by reference)

percentage precision value.

offsetPrecision double (passed by reference)

offset precision, in ohms.

int1 double (passed by reference)

currenlty not used value.

internalPrecision double (passed by reference)

internal precision, in ohms.

capabilities unsigned long (passed by reference)

Capability bits are as follows:
0x00000008 - RES_CAP_REF (supports reference calibration value)
0x00000004 - RES_CAP_INF (supports setting "open-circuit")
0x00000002 - RES_CAP_ZERO (supports setting "zero ohms")
0x00000001 - RES_CAP_PREC (precision resistor - supporting function PIL_ResSetResistance etc.)
0x00000000 - RES_CAP_NONE (no special capabilities)

Return Value

Name Type Description
return unsigned long

Zero for success, or no-zero error code.

References

Info and status
Client Bridge for LXI - Base module
Alphabetical Function Index
Hierarchical Function Index