AIC Class Reference
[AIC Host Interface]

#include <aic.h>

Inheritance diagram for AIC:

Inheritance graph
[legend]
Collaboration diagram for AIC:

Collaboration graph
[legend]
List of all members.

Detailed Description

Provides access to all devices in an Actuator Interface Card.

Author:
Walter Fetter Lages (w.fetter@ieee.org)
Version:
AIC-1.6.1


Public Member Functions

 AIC (AIC_COMM *comm)
 Initializes an AIC.

virtual ~AIC (void)
 Finalizes an AIC.

void reset (void)
 Resets an AIC
Since:
AIC-1.6.1.


void reference (double ref)
 Sets the reference for motor controller.

int busy (void)
 Gets AIC busy status.

void send_command (int command, int n, const void *buffer)
 Sends a command and its arguments to AIC.


Public Attributes

AIC_MOTOR motor
 Motor actuated by AIC.

AIC_ENCODER encoder
 Encoder read by AIC.

AIC_BRAKE brake
 Brake actuaded by AIC.

AIC_INDEX index
 Sync-switch read by AIC.


Constructor & Destructor Documentation

AIC::AIC AIC_COMM comm  ) 
 

Initializes an AIC.

Parameters:
comm pointer to AIC_COMM object implementing the communication channel


Member Function Documentation

int AIC::busy void   ) 
 

Gets AIC busy status.

Returns:
1 if AIC is busy, 0 otherwise
Since:
AIC-1.6.1
See also:
AIC_STATUS

void AIC::reference double  ref  ) 
 

Sets the reference for motor controller.

Parameters:
ref reference
Since:
AIC-1.6.1

Reimplemented in SPUTTERING.

void AIC::send_command int  command,
int  n,
const void *  buffer
 

Sends a command and its arguments to AIC.

Parameters:
command Code of the command to send to AIC
n size of argument buffer
buffer pointer to arguments
See also:
AIC_COMMAND


The documentation for this class was generated from the following file:
Generated on Thu Mar 27 15:33:33 2008 for Actuator Interface Card by doxygen 1.3.6