pipx40_psuEnable

 

VB

Function

pipx40_psuEnable (ByVal vi As Long, ByVal subUnit As Long, ByVal state As Boolean) As Long

C++

ViStatus

pipx40_psuEnable (ViSession vi, ViUInt32 subUnit, ViBoolean state);

 

Parameter

I/O

Description

vi

in

Instrument handle

subUnit

in

Numeric variable indicating in which sub-unit actions will take place

state

in

A Boolean indicating type of action, VI_ON to enable, VI_OFF to disable

Return Value

0 = Successful operation. Negative values are error codes and positive values are warnings. To get a description of the error, pass the error code to pipx40_error_message.

Description

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