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

# cardComState

cardComState -- sets or queries the card bus communication state.

## Synopsis

    (cardComState)
    (cardComState card_id)
    (cardComState card_id com_state)

## Parameters

`card_id`

  The target card ID (`0..3`). If no card ID is specified, the query form of the command is repeated for all initialized cards.

`com_state`

  `0` to stop bus communication, `1` to (re)start bus communication

## Returns

In response to a query or successful setting of a card:

        (cardComState card_id com_state)

Otherwise, the following error message:

        (error "cardComState DR_ERR_DEV_INVALID (time) invalid device: card_id")

## Description

This command sets or queries the card bus communication state. It can be used to start and stop fieldbus communication during runtime.

## Example

        (cardComState 0)

Prev | Home | Next
attachNS | Up | cardDescribe

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