PIPLX_GetAttribute

ViStatus PIPLX_GetAttribute (long session, unsigned long cardNum, unsigned long subunit, int output, unsigned long attributeCode, void *value);

Purpose

Function for getting value of specific attribute.

Parameters

Input
Name Type Description
session long

Handle of current session.

cardNum unsigned long

Instrument handle obtained by the pipx40_init call used to open the card.

subunit unsigned long

The number of the sub-unit to access.
Valid Values:  must correspond to a power supply sub-unit
of the chosen card

output int

True for output subunit, false for input subunit.

attributeCode unsigned long

Code of double attribute the value is requested.

Output
Name Type Description
value any type (passed by reference)

Value of attribute.

Return Value

Name Type Description
status ViStatus

A numeric code indicating the success or failure of the operation.
VI_SUCCESS = Successful operation.
Negative values are error codes and positive values are warnings.
To get a description of an error, pass the error code to pipx40_error_message.

References

Thermocouple
Client Bridge for LXI - Base module
Alphabetical Function Index
Hierarchical Function Index