ExternalDCDevice Object


Description

The ExternalDCDevice object allows you to set unique properties for a DC Meter or DC Source.

Accessing the ExternalDCDevice Object

You can obtain a handle to a ExternalDCDevice Object through ExtendedProperties

dim app

Set app = CreateObject("AgilentPNA835x.Application")

dim externalDevices

Set externalDevices = app.ExternalDevices

dim devicecount

devicecount = externalDevices.count

 

'******** Configure a DC Meter ************

externalDevices.Add "MyDCMeter"

dim newExtDCMeter

Set newExtDCMeter = externalDevices.Item("MyDCMeter")

newExtDCMeter.DeviceType = "DC Meter"

newExtDCMeter.Driver = "DCMeter"

'newExtDCMeter.Active = True

newExtDCMeter.IOConfiguration= "GPIB0::16::INSTR"

dim extDCMtr

Set extDCMtr = newExtDCMeter.ExtendedProperties

extDCMtr.PointDwell = .05

 

'******** Configure a DC Supply ************

externalDevices.Add "MyDCSupply"

dim newExtDCSupply

Set newExtDCSupply = externalDevices.Item("MyDCSupply")

newExtDCSupply.DeviceType = "DC Source"

newExtDCSupply.Driver = "DCSource"

'newExtDCSupply.Active = True

newExtDCSupply.IOConfiguration= "GPIB0::16::INSTR"

dim extDCSupply

Set extDCSupply = newExtDCSupply.ExtendedProperties

extDCSupply.PointDwell = .05

 

 

See Also:

Configure an External Device

The PNA Object Model

 

Methods

Interface

See History

Description

None

 

 

Properties

 

Description

AbortSweepCmd

IExternalDCDevice3

Sets and returns the Abort Sweep command for an external DC Source and an external DC Meter.

AfterSweepCmd

IExternalDCDevice3

Sets and returns the After Sweep command for an external DC Source and an external DC Meter.

BeforeSweepCmd

IExternalDCDevice3

Sets and returns the Before Sweep command for an external DC Source and an external DC Meter.

CurrentLimit

IExternalDCDevice2

Sets and returns the current limit value.

DCCorrection

IExternalDCDevice

Sets and returns correction ON/OFF.

DCOffset

IExternalDCDevice

Sets and returns the offset correction value.

DCScale

IExternalDCDevice

Sets and returns the scale correction value.

DCType

IExternalDCDevice

Sets and returns the DC Type (Units).

ErrorQuery

IExternalDCDevice3

Sets and returns the Error Query command for an external DC Source and an external DC Meter.

ExitCmd

IExternalDCDevice3

Sets and returns the Disable I/O command for an external DC Source and an external DC Meter.

IDQuery

IExternalDCDevice3

Sets and returns the ID Query command for an external DC Source and an external DC Meter.

InitCmd

IExternalDCDevice3

Sets and returns the Enable I/O command for an external DC Source and an external DC Meter.

MaxOutput

IExternalDCDevice3

Sets and returns the “Define Max As” value for an external DC Source.

MaxOutputState

IExternalDCDevice3

Sets and returns the “Define Max As” ON/OFF state for an external DC Source.

MinOutput

IExternalDCDevice3

Sets and returns the “Define Min As” value for an external DC Source.

MinOutputState

IExternalDCDevice3

Sets and returns the “Define Min As” ON/OFF state for an external DC Source.

PointCmd

IExternalDCDevice3

Sets and returns the Point Read Commands for an external DC Source or Point Set Commands for an external DC Meter.

PointDwell

IExternalDCDevice

Sets and returns the "Dwell Before/After Point" value.

SweepDwell

IExternalDCDevice

Sets and returns the "Dwell Before Sweep" value.

VoltageLimit

IExternalDCDevice2

Sets and returns the voltage limit value.

ExternalDCDevice History

Interface

Introduced with PNA Rev:

IExternalDCDevice

9.5

IExternalDCDevice2

10.49.05

IExternalDCDevice3

10.57