PIPLX_ResSetResistance

unsigned long PIPLX_ResSetResistance (long session, unsigned long cardNum, unsigned long outputSubunit, unsigned long mode, double resistance);

Purpose

set resistance as close as possible to the given value

Parameters

Input
Name Type Description
session long

Handle of current session.

cardNum unsigned long

Pickering card reference of target (unity-based)

outputSubunit unsigned long

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

mode unsigned long

a value indicating how the given resistance value is to be applied

resistance double

the resistance value

Return Value

Name Type Description
error unsigned long

0 = success; non-zero = error code

References

Programmable Resistor
Client Bridge for LXI - Base module
Alphabetical Function Index
Hierarchical Function Index