:SPRocess:USER:CFILe

Instrument:
N1000A
N109x
Flex Apps:
FlexDCA
FlexRT
Meas. mode:
Scope
Eye
TDR
Package License:
L-RND

Command Syntax

:SPRocessN:USER:CFILe <filename>

<filename> is the configuration file (*.xml, *.m, *.py, *.exe).

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.

Description

Defines a one-input user operator. This command's filename argument specifies either a configuration file (*.xml) or a script file (*.m, *.py, or *.exe) for an existing one-input user-defined operator. Which file type should you use?

  • Configuration File: A configuration file is an XML file (*.xml) that points to the actual script (*.m, *.py, or *.exe). The configuration file allows you to specify your script, label your operator, initialize unique script variables, or specify dependent FlexDCA measurements. This is the preferred method of defining your user operator. Refer to Creating the XML File in FlexDCA's User's Help for information on creating a user operator XML file.
  • Script File: You can directly specify a Matlab (*.m) or Python (*.py) or *.exe to define the operator. This method is simpler to implement but does not provide the advantages available when specifying an XML configuration file.

Use the :FUNCtion:FOPerator USER command to select the operator and input waveform.

Security Restrictions

Starting with FlexDCA revision A.07.90, file I/O security for user operators was increased to no longer allow you to specify XML configuration files (*.xml) or script files (*.m, *.py, or *.exe) that are located on a network share drive. These files must reside on a local drive. If you use N1010A FlexDCA on a PC and you use Window's OneDrive, you cannot access XML or script files on OneDrive.

Sending a file name argument that specifies a network share drive results in –258, Media protected. error code.

Requires FlexDCA revision A.05.00 and above. FlexDCA revision A.07.90 increases file I/O security.