pipx40_psuEnable

ViStatus pipx40_psuEnable (ViSession instrumentHandle, ViUInt32 subunitNumber, ViBoolean action);

Purpose

Enables or disables the output of a power supply sub-unit.

Parameters

Input
Name Type Description
instrumentHandle ViSession

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

subunitNumber ViUInt32

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

action ViBoolean

Determines if the output of a power supply sub-unit is to be enabled or disabled.
Valid Values:  0 or 1
0 = Disable output
1 = Enable output

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

Power Supplies
Pickering Interfaces PXI VISA
Alphabetical Function Index
Hierarchical Function Index