All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.arcsinc.hardwarehost.datamgmt.DataAcqMgr

public interface DataAcqMgr
extends AbsDataMgr
The DataAcqMgr interface provides the system data acquisition functionality.

See Also:
AbsDataMgr, ExtVariableSpec

Variable Index

 o ACQ_COLLECTING
Data state: data is b
Data state: data is being acquired (ACQ_COLLECTING)
 o ACQ_COMPLETED
Data state: acquisition is completed (ACQ_COMPLETED)
 o ACQ_IDLE
Data state: default state (ACQ_IDLE)
 o ACQ_STOPPED
Data state: acquisition completed preleted prematurely (ACQ_STOPPED)
 o ACQ_WAITING
Data state: have valid spec, waiting for start (ACQ_WAITING)

Method Index

 o autoStartDataAcq()
Starts the data acquisition process on the hardware implicitly.
 o getDataAcqState()
Returns the current data acquisition state.
 o resetDataAcq()
Resets the data acquisition process.
 o retrieveData()
Retrieves the acquired data from the hardware and returns it to the calling agent.
 o setAcquisitionSpec(int, int, int, Vector)
Set the data acquisition specification.
 o startDataAcq()
Starts the data acquisition process on the hardware explicitly.
 o stopDataAcq()
Stops the data acquisition process currently running on the hardware.

Variables

 o ACQ_IDLE
 public static final int ACQ_IDLE
Data state: default state (ACQ_IDLE)

 o ACQ_WAITING
 public static final int ACQ_WAITING
Data state: have valid spec, waiting for start (ACQ_WAITING)

 o ACQ_COLLECTING
 public static final int ACQ_COLLECTING
Data state: data is being acquired (ACQ_COLLECTING)

 o ACQ_COMPLETED
 public static final int ACQ_COMPLETED
Data state: acquisition is completed (ACQ_COMPLETED)

 o ACQ_STOPPED
 public static final int ACQ_STOPPED
Data state: acquisition completed prematurely (ACQ_STOPPED)

Methods

 o setAcquisitionSpec
 public abstract boolean setAcquisitionSpec(int period,
                                            int noPoints,
                                            int channel,
                                            Vector params)
Set the data acquisition specification.

Parameters:
period - sample period in milliseconds
noPoints - number of points to acquire
channel - the interrupt channel in which the data is acquired
params - Vector of ExtVariableSpec(s) to be acquired.
Returns:
returns true if the specification was accepted.
 o retrieveData
 public abstract Number[] retrieveData()lic abstract Number[] retrieveData()
Retrieves the acquired data from the hardware and returns it to the calling agent. The data is in the form of a single dimensional array. The array is filled data point by data point; the point consists of the hardware-based time index and then each requested channel.

Returns:
an array of Number with the data
 o startDataAcq
 public abstract boolean startDataAcq()
Starts the data acquisition process on the hardware explicitly.

Returns:
true if successfully started, otherwise false.
 o autoStartDataAcq
 public abstract boolean autoStartDataAcq()
Starts the data acquisition process on the hardware implicitly. In this mode, the trigger event (start) is generated within the hardware application program.

Returns:
true if successfully started, otherwise false.
 o stopDataAcq
ataAcq">stopDataAcq
 public abstract boolean stopDataAcq()
Stops the data acquisition process currently running on the hardware.

Returns:
true if successfully stopped.
 o resetDataAcq
 public abstract boolean resetDataAcq()
Resets the data acquisition process. This includes deleting any existing specification.

Returns:
true if successfully reset.
 o getDataAcqState
 public abstract int getDataAcqState()
Returns the current data acquisition state.

Returns:
the current data acquisition state.

All Packages  Class Hierarchy  This Package  Previous  Next  Index
x