Description
ExternalDevice objects allow you to set properties and methods for each external device.
Obtain a handle to an External Device by specifying an item in the External Devices collection.
Although the following example shows how to create a PMAR external device, you can substitute any supported external device for "PMAR" and DeviceType: "Power Meter".
| 
 dim app Set app = CreateObject("AgilentPNA835x.Application") dim externalDevices Set externalDevices = app.ExternalDevices dim devicecount devicecount = externalDevices.count externalDevices.Add "NewPMAR" dim newExternalDevice Set newExternalDevice = externalDevices.Item("NewPMAR") newExternalDevice.DeviceType = "Power Meter" newExternalDevice.IOConfiguration= "GPIB0::14::INSTR" newExternalDevice.IOEnable = true 
  | 
Learn how to Configure an External Device
Methods | 
Interface | 
Description | 
|---|---|---|
| 
 IExternalDevice2  | 
 Recalls an external device configuration file from the VNA hard drive. Currently, only DC Meter and DC Supply devices are supported.  | 
|
| 
 IExternalDevice2  | 
 Saves an external device configuration file to the VNA hard drive. Currently, only DC Meter and DC Supply devices are supported.  | 
|
Properties | 
 | 
Description | 
| 
 IExternalDevice  | 
 Sets and returns the state of activation for an external device.  | 
|
| 
 IExternalDevice  | 
 Sets and returns the DeviceType (source, power meter) for the external device.  | 
|
| 
 IExternalDevice  | 
 Sets and returns the external device driver (model).  | 
|
| 
 IExternalDevice  | 
 Provides access to properties that are unique to the external device type.  | 
|
| 
 IExternalDevice  | 
 Sets and returns the method of communication and address for the external device.  | 
|
| 
 IExternalDevice  | 
 Sets and returns whether an external device is available for IO communication with the VNA.  | 
|
| 
 IExternalDevice  | 
 Sets and returns the name of the External Device.  | 
|
| 
 IExternalDevice  | 
 Sets and returns the time out value for communication with the external device.  | 
| 
 Interface  | 
 Introduced with VNA Rev:  | 
| 
 IExternalDevice  | 
 9.0  | 
| 
 IExternalDevice2  | 
 9.50  |