:FUNCtion:SECondary

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

Command Syntax

:FUNCtionN:SECondary{2:5} {EMPTy | FUNCtionM}

Where N identifies one of sixty four {1:64} math functions that you can create. For example, :FUNCtion2.

Where M identifies one of sixty four {1:64} math functions that you can assign to a secondary output of a multiple-output function. For example, :FUNCtion3.

Query Syntax

:FUNCtionN:SECondary?

Description

Assigns a function identification number (ID) to a function's secondary output. Most functions that you create have only one output with an ID being assigned by you at the time that the function is created. However, the CNRZ5 and ENRZ chord functions have additional secondary outputs. When the operator is first created, IDs are automatically assigned to each secondary output. Using this command, you can change a secondary ID to any available number.

Requires FlexDCA revision A.06.40 and above.

Example Command Sequence

The following lines of code create the CNRZ5 operator shown in this picture. The first line creates the CNRZ5 operator and assigns 5 as it's primary function number. You can assign any available ID numbers to the primary and secondary outputs and the ID numbers do not need to be consecutive.

:FUNCtion5:FOPerator CNRZ5 // Create the operator
:FUNCtion5:SECondary2 FUNCtion6 // Assign secondary output function IDs
:FUNCtion5:SECondary3 FUNCtion7
:FUNCtion5:SECondary4 FUNCtion8
:FUNCtion5:SECondary5 FUNCtion9
:FUNCtion5:OPERand1 WMEMory1 // Assign input sources
:FUNCtion5:OPERand2 WMEMory2
:FUNCtion5:OPERand3 WMEMory3
:FUNCtion5:OPERand4 WMEMory4
:FUNCtion5:OPERand5 WMEMory5
:FUNCtion5:OPERand6 WMEMory6
:FUNCtion5:COLor TCOLor4;:FUNCtion5:DISPlay ON;  // Display output function waveforms
:FUNCtion6:COLor TCOLor2;:FUNCtion6:DISPlay ON;
:FUNCtion7:COLor TCOLor9;:FUNCtion7:DISPlay ON;
:FUNCtion8:COLor TCOLor12;:FUNCtion8:DISPlay ON;
:FUNCtion9:COLor TCOLor6;:FUNCtion9:DISPlay ON;