Write/Read
About External DC Devices

CurrentLimit Property


Description

Sets and returns the maximum output current value of the external DC Source. This command supports Keysight B2900A and N6700 series devices only.

 VB Syntax

extDC.CurrentLimit (devicename) = value

Variable

(Type) - Description

extDC

A ExternalDCDevice (object)

devicename

(String) Name of the device.

value

(Double) Current limit value.

Return Type

Double

Default

0

Examples

extDC.CurrentLimit("myDCDevice") = 4 'Write

Limit = extDC.CurrentLimit("myDCDevice") 'Read

C++ Syntax

HRESULT get_CurrentLimit(BSTR devicename, double *cLimit)
HRESULT put_CurrentLimit(BSTR devicename, double newLimit)

Interface

IExternalDCDevice2