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

# datahub

datahub -- connects to the Cascade DataHub.

## Synopsis

    (datahub mode)

## Parameters

`mode`

  The desired datahub mode: active if `t`, `y`, or `1` (case insensitive), otherwise inactive.

## Returns

`OK` if successful, otherwise, if the Cascade NameServer is not available, then

        (error "datahub DR_ERR_ATTACH_NAMESERVER (time)
        Could not attach nameserver: Required for datahub mode")

## Description

This command activates the connection to the Cascade DataHub, if available. When the datahub mode is active, the input points are automatically published to the datahub when they change, and output points with the exception-flag set will be automatically updated when the corresponding values in the datahub change. The command must be preceded by the attachName and attachNS commands.

This command can be used in the configuration file, or modified as required via the command interface.

## Example

        (datahub t)

Prev | Home | Next
cycleModify | Up | debug

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