Cascade Driver for Hilscher Fieldbus CIF Cards: Version 4.1
Prev |  | Next

# aproposPnts

aproposPnts -- gets a list of current point names.

## Synopsis

    (aproposPnts pattern options)

## Parameters

`pattern`

  A string containing a pattern to be matched against point names. Supports `*` and `?` wildcard characters.

`options`

  Optional set of point attribute specifiers:

  w | List if the point is writeable.
  r | List if the point is readable.
  e | List if the point is enabled.
  d | List if the point is disabled.
  t `type` | List if the point is of the specified `type`, one of the following: digital, integer, group, string, or heartbeat.

## Returns

The list of points meeting the criteria specified by the parameters, in the form:

        (aproposPnts name1.....nameN)

or if parameters are missing or undefined, then `(error `error_string`).`

## Description

This command requests a list of the point names currently defined to the driver. Typically it is sent as a command and not used in the configuration file.

## Example

The following example lists all digital points that are enabled and writeable, and with a name starting with "Light":

        (aproposPnts "Light*" ewt digital)

Prev | Home | Next
aproposCmd | Up | attachName

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.