beautypg.com

Cilxs_configureoutputrange – AMETEK Ls Series Driver Manual User Manual

Page 62

background image

IVI Driver Manual

Lx / Ls Series

58

ciLxs_ConfigureOutputRange


ViStatus ciLxs_ConfigureOutputRange (ViSession instrumentHandle,
ViReal64 voltageRange);

Purpose

Configures the power supply's output range. You specify whether you want
to configure the voltage or current range, and the value to which to set
the range.

Notes:

1) Setting a voltage range can invalidate a previously configured current
range.

2) Setting a current range can invalidate a previously configured voltage
range.


Parameter List

instrumentHandle

Variable Type ViSession

The ViSession handle that you obtain from the ciLxs_init or
ciLxs_InitWithOptions function. The handle identifies a particular
instrument session.

Default Value: None


voltageRange

Variable Type ViReal64

Pass the range in which you want the AC source to operate.

Units: volts (for voltage range)

Valid Voltage (rms) Range: 0.0 to 400.0

Default Value: 135.0


Return Value

Returns the status code of this operation. The status code either
indicates success or describes an error or warning condition. You
examine the status code from each call to an instrument driver
function to determine if an error occurred.

To obtain a text description of the status code, call the
ciLxs_error_message function. To obtain additional information about
the error condition, call the ciLxs_GetError function. To clear the
error information from the driver, call the ciLxs_ClearError

This manual is related to the following products: