do_specs

Purpose:

Process digital output specifications.

Enter:

do_specs [digital_output_spec_file] [add]

Where:

digital_output_spec_file

Optional. Specify the name of digital output specification file. The default is do_specs.nnn.

add

Optional unless a digital_output_spec_file is specified. Specify a string to enter if specifications in the spec_file are to be added to the specifications that already exist in memory.

Example:

do_specs
The above command processes the digital output channels within the file do_specs.nnn at test cell nnn.

do_specs /specs/cell_do add
The above command adds the do specifications in the file /specs/cell_do being to the existing specifications in memory.

Notes:

The do_specs command configures the digital output channels with the specified digital outputs specification file.

Logical variables specified in do_specs.nnn are created by do_specs. Integer variables specified in do_specs.nnn must be channels created elsewhere in CyFlex. Use the errs command to check for errors after using this command.

Channels can also be added via the PNP approach by adding a line to the file /specs/pnp/output_specs_pnp that contains the label of a LOGICAL_VARIABLE, the name of the spec file that has the DO specifications that should be added when the LOGICAL_VARIABLE is TRUE. DO specifications must follow the keyword @DO_SPECS_PNP to indicate that the specs in the file are analog output specs.

An example entry could be:

. @DO_SPECS_PNP cell_pnp /specs/cell_do .

See Also:

ao_specs, errs