CARMA C++
carma::loref::LOReferenceControl Interface Reference

LOReferenceControl interface More...

import "carma/loref/LOReferenceControl.idl";

Public Member Functions

double getFrequency (in unsigned long synthesizerIndex) raises ( carma::util::UserException )
 Get a synthesizer frequency. More...
 
double getPower (in unsigned long synthesizerIndex) raises ( carma::util::UserException )
 Get a synthesizer output power. More...
 
string gpib (in unsigned long minor, in unsigned long address, in string command) raises ( carma::util::UserException )
 Send a raw GPIB/SCPI command and get the response. More...
 
void setFrequency (in unsigned long synthesizerIndex, in double frequency) raises ( carma::util::UserException )
 Set a synthesizer frequency. More...
 
void setFrequencyPower (in unsigned long synthesizerIndex, in double frequency, in double power) raises ( carma::util::UserException )
 Set a synthesizer frequency and output power. More...
 
void setPower (in unsigned long synthesizerIndex, in double power) raises ( carma::util::UserException )
 Set a synthesizer output power. More...
 
void setRFOutput (in unsigned long synthesizerIndex, in boolean onoff) raises ( carma::util::UserException )
 Turn synthesizer RF output on/off. More...
 

Detailed Description

LOReferenceControl interface

Definition at line 37 of file LOReferenceControl.idl.

Member Function Documentation

double carma::loref::LOReferenceControl::getFrequency ( in unsigned long  synthesizerIndex)
raises (carma::util::UserException
)

Get a synthesizer frequency.

Parameters
unsignedlong synthesizerIndex One-based index of synthesizer
Returns
double Frequency reported by synthesizer (Hertz)
double carma::loref::LOReferenceControl::getPower ( in unsigned long  synthesizerIndex)
raises (carma::util::UserException
)

Get a synthesizer output power.

Parameters
unsignedlong synthesizerIndex One-based index of synthesizer
Returns
double Output power reported by synthesizer (dBm)
string carma::loref::LOReferenceControl::gpib ( in unsigned long  minor,
in unsigned long  address,
in string  command 
)
raises (carma::util::UserException
)

Send a raw GPIB/SCPI command and get the response.

Parameters
unsignedlong minor Minor number of the GPIB controller
unsignedlong address GPIB address of target device
stringcommand The command to send
Returns
string The response
void carma::loref::LOReferenceControl::setFrequency ( in unsigned long  synthesizerIndex,
in double  frequency 
)
raises (carma::util::UserException
)

Set a synthesizer frequency.

Parameters
unsignedlong synthesizerIndex One-based index of synthesizer
doublefrequency Frequency to set (Hertz)
Returns
none.
void carma::loref::LOReferenceControl::setFrequencyPower ( in unsigned long  synthesizerIndex,
in double  frequency,
in double  power 
)
raises (carma::util::UserException
)

Set a synthesizer frequency and output power.

Parameters
unsignedlong synthesizerIndex One-based index of synthesizer
doublefrequency Frequency to set (Hertz)
doublepower Output power to set (dBm)
Returns
none.
void carma::loref::LOReferenceControl::setPower ( in unsigned long  synthesizerIndex,
in double  power 
)
raises (carma::util::UserException
)

Set a synthesizer output power.

Parameters
unsignedlong synthesizerIndex One-based index of synthesizer
doublepower Output power to set (dBm)
Returns
none.
void carma::loref::LOReferenceControl::setRFOutput ( in unsigned long  synthesizerIndex,
in boolean  onoff 
)
raises (carma::util::UserException
)

Turn synthesizer RF output on/off.

Parameters
unsignedlong synthesizerIndex One-based index of synthesizer
booleanpower Output power to set (dBm)
Returns
none.

The documentation for this interface was generated from the following file: