Write/Read
About Diff I/Q App

RangeOffset Property


Description

Sets and reads the frequency range number to be used as an offset. The frequencies of the range <n> will be offset from the 'coupled to' range by this frequency range. The RangeOffsetUp Property command determines whether the offset is positive or negative.

On the Frequency Range dialog under Coupling, this is the Offset setting.

 VB Syntax

DIQ.RangeOffset (n) = value

Variable

(Type) - Description

DIQ

A Differential I/Q (object)

n

(Long Integer) Frequency range number.

value

(Long Integer) Offset range number. The resulting range must be within the frequency range of the analyzer.

Return Type

Long

Default

1

Examples

diq.RangeOffset 3 = 2 'Write, range 3 is offset from the 'coupled to' range by the frequencies defined by range 2

value = diq.RangeOffset 2 'Read

C++ Syntax

HRESULT get_RangeOffset(long range, long* RangeOffset);

HRESULT put_RangeOffset(long range, long RangeOffset);

Interface

IDIQ