Write/Read
About Ext DC Devices

LimitCmd Property


Description

Sets and returns a user-defined command string that is used to set the DC limit of the external DC source. The actual limit value is set using either the VoltageLimit (voltage) or CurrentLimit (current). The limit command is sent to the external DC source at the beginning of a sweep for each channel. The firmware automatically selects the current or voltage limit value depending on the external DC source type.

 VB Syntax

extDC.LimitCmd = value

Variable

(Type) - Description

extDC

An ExternalDCDevice (object)

value

(String) User-defined command name: Include {%f} in the command string which will be substituted by the actual limit value.

Return Type

String

Default

Not Applicable

Examples

extDC.LimitCmd = "myDCDevice","Limit Command {%f}" 'Write

value = extDC.LimitCmd 'Read

C++ Syntax

HRESULT get_LimitCmd (BSTR* cmd)

HRESULT put_LimitCmd (BSTR cmd)

Interface

IExternalDCDevice4