beautypg.com

Cilxs_configureslewfrequency – AMETEK Ls Series Driver Manual User Manual

Page 72

background image

IVI Driver Manual

Lx / Ls Series

68

ciLxs_ConfigureSlewFrequency


ViStatus ciLxs_ConfigureSlewFrequency (ViSession instrumentHandle,
ViReal64 slewFrequencyRate);

Purpose

This function configures the rate at which frequency changes for all
programmed changes in output frequency.

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


slewFrequencyRate

Variable Type ViReal64

Pass the rate at which frequency changes for all programmed changes
in output frequency. The driver sets the
CILXS_ATTR_SLEW_FREQUENCY_RATE attribute to this value.

Units: hertz per seconds

Valid Range: 0.0 to 9.9e37

Default Value: -1.0

NOTE:

If passed value is lower than zero then instrument will set maximum
possible range (INFinity).


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
function.

The general meaning of the status code is as follows:

This manual is related to the following products: