Applies To:
  • CitectSCADA

 The help states:
When using DevOpen(Name [, nMode] ), the help states in indexed mode (nMode=2), an index file will automatically be created by CitectSCADA.
But, no index file is created.

Some details are required in the Format and Header fields in the device form. After these are added, then the index file will be created.
The format has the following syntax:
{<field name>, <width>}

You must use braces ({ }) to enclose each field, for example:
 Format  {Tag,8}{Name,32}  

In the header field, put in the field on which the table is indexed, for example:
 Header  {Tag}

The index file will be created in the same folder as the device file, and the extension is .ndx.

Note: The DevFind function does not work in Indexed Mode.

 DevOpen, Index, ndx, device, DevFind