ai_attr

Purpose:

Obtain attributes for an AI driver.

Enter:

ai_attr [filename] [index]

Where:

filename

Optional. Specify the name of the file to access and obtain the AI attributes for an AI driver. The default filename is ‘/specs/ai_attr.nnn’. is assumed, where nnn is the test cell number.

index

Optional. Specify the index into the AI Device Attributes shared memory to use and place the attribute information read from ‘filename’.¬† The default is to use the next unused block in the shared memory.

Example:

ai_attr
The above accesses the AI attributes specified in the file /specs/ai_attr.nnn and places them in the 1st unused block in the shared memory for AI attributes. nnn is the test cell number associated with the node executing the command.

ai_attr /specs/das16_attr.111 2
The above accesses the AI attributes specified in the file /specs/das16_attr.111 and places them in the 2nd block in the shared memory for AI attributes.

Notes:

Execute this command via the CyFlex startup script (go.scp).

See Also: