Description
The ExternalDCDevice object allows you to set unique properties for a DC Meter or DC Source.
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
|
Methods |
Interface |
Description |
---|---|---|
None |
|
|
Properties |
|
Description |
IExternalDCDevice3 |
Sets and returns the Abort Sweep command for an external DC Source and an external DC Meter. |
|
IExternalDCDevice3 |
Sets and returns the After Sweep command for an external DC Source and an external DC Meter. |
|
IExternalDCDevice3 |
Sets and returns the Before Sweep command for an external DC Source and an external DC Meter. |
|
IExternalDCDevice2 |
Sets and returns the current limit value. |
|
IExternalDCDevice |
Sets and returns correction ON/OFF. |
|
IExternalDCDevice |
Sets and returns the offset correction value. |
|
IExternalDCDevice |
Sets and returns the scale correction value. |
|
IExternalDCDevice |
Sets and returns the DC Type (Units). |
|
IExternalDCDevice3 |
Sets and returns the Error Query command for an external DC Source and an external DC Meter. |
|
IExternalDCDevice3 |
Sets and returns the Disable I/O command for an external DC Source and an external DC Meter. |
|
IExternalDCDevice3 |
Sets and returns the ID Query command for an external DC Source and an external DC Meter. |
|
IExternalDCDevice3 |
Sets and returns the Enable I/O command for an external DC Source and an external DC Meter. |
|
IExternalDCDevice3 |
Sets and returns the “Define Max As” value for an external DC Source. |
|
IExternalDCDevice3 |
Sets and returns the “Define Max As” ON/OFF state for an external DC Source. |
|
IExternalDCDevice3 |
Sets and returns the “Define Min As” value for an external DC Source. |
|
IExternalDCDevice3 |
Sets and returns the “Define Min As” ON/OFF state for an external DC Source. |
|
IExternalDCDevice3 |
Sets and returns the Point Read Commands for an external DC Source or Point Set Commands for an external DC Meter. |
|
IExternalDCDevice |
Sets and returns the "Dwell Before/After Point" value. |
|
IExternalDCDevice |
Sets and returns the "Dwell Before Sweep" value. |
|
IExternalDCDevice2 |
Sets and returns the voltage limit value. |
Interface |
Introduced with PNA Rev: |
IExternalDCDevice |
9.5 |
IExternalDCDevice2 |
10.49.05 |
IExternalDCDevice3 |
10.57 |