Write/Read
About Ext DC Devices

DCScale Property


Description

Sets and returns the scale correction value for an external DC Device which can be configured as either a DC Meter or a DC Source.

 VB Syntax

extDC.DCScale = value

Variable

(Type) - Description

extDC

An ExternalDCDevice (object)

value

(Double) DC scale value.

The PNA will display readings from a DC Meter as:

Display = (Meas'd value - Offset) * Scale

The PNA will adjust the output from a DC Source as:

Output  = (Set value - Offset) * Scale

Return Type

Double

Default

1

Examples

extDC.DCScale = -2 'Write

slope = extDC.DCScale 'Read

C++ Syntax

HRESULT get_DCScale (double *pValue)

HRESULT put_DCScale (double newVal)

Interface

IExternalDCDevice


Last Modified:

15-Feb-2012

New topic