:SPRocess:BUSer:CONTrol:ENUM

Instrument:
N1010A
DCA-X
DCA-M
Meas. mode:
Scope
Eye
Jitter
Flex Apps:
FlexDCA
FlexRT
FlexRT
FlexRT
FlexRT

Command Syntax

:SPRocessN:BUSer:CONTrol{1:4}:ENUM SELection{1:10}

Where N identifies one of up to 64 possible operators {1:64} that can be defined as part of a math function. The operators are numbered in the order that they were originally added to the function.

Query Syntax

:SPRocessN:BUSer:CONTrol{1:4}:ENUM?

Description

Sets the value of a function's user-defined control which has been configured as a drop-down list (enumeration). User-defined controls are shown in the function's User Operator Setup dialog. The controls are numbered 1 through 4 starting with the top control shown in the dialog. For example, the following figure shows how four controls are numbered:

  • "N", an integer, is control 1.
  • "Fc", a double, is control 2.
  • "Test String", a string, is control 3.
  • "Selections", a drop-down list (enumeration), is control 4.

Since control 4 is defined as an enumeration, you could set its value to SELection2 using the following command. Because the second selection listed in the XML configuration file is listed as "Medium", you would see "Medium" in the dialog. A maximum of 10 selections can be defined in the file use the <Selection> XML element.

SPRocess1:BUSer:CONTrol4:STRing SELection2

In this case, the sibling commands DOUBle, FILE, INTeger, and STRing do not affect this user-defined control as the control has been defined as an string in the XML configuration file. This user-defined control is defined by the XML file's <Enumeration> element. The query form of the command returns current value of the user-defined control.

Use the :SPRocess{1:16}:BUSer:CFILe command to load the XML configuration file for the function.

Requires FlexDCA revision A.05.00 and above.