A B C E G I L M N O R S T U V W

A

adc_type - Variable in class com.gatespace.service.adc.impl.ADC16LowLevel
 
adc_version - Variable in class com.gatespace.service.adc.impl.ADC16LowLevel
 
ADC16LowLevel - class com.gatespace.service.adc.impl.ADC16LowLevel.
Handles low-level protocol to ADC 16
ADC16LowLevel() - Constructor for class com.gatespace.service.adc.impl.ADC16LowLevel
 
ADCLowLevel - interface com.gatespace.service.adc.ADCLowLevel.
Describes low-level communication with an ADC box.
ADCService - interface com.gatespace.service.adc.ADCService.
Service representing an A/D converter box with multiple channels.
ADCServiceImpl - class com.gatespace.service.adc.impl.ADCServiceImpl.
Implementation of ADCService.
ADCServiceImpl(SerialPort, ADCLowLevel) - Constructor for class com.gatespace.service.adc.impl.ADCServiceImpl
Construct the service.
ADCTester - class com.gatespace.service.adc.impl.ADCTester.
Test class for an ADCService.
ADCTester() - Constructor for class com.gatespace.service.adc.impl.ADCTester
 
addChannelListener(ChannelListener) - Method in interface com.gatespace.service.adc.Channel
Add a listener to this channel.
addChannelListener(ChannelListener) - Method in class com.gatespace.service.adc.impl.ChannelImpl
 

B

bInitialized - Variable in class com.gatespace.service.adc.impl.ADCServiceImpl
 
buf - Variable in class com.gatespace.service.adc.impl.ADC16LowLevel
 

C

Channel - interface com.gatespace.service.adc.Channel.
Hold current status of one A/D channel.
ChannelImpl - class com.gatespace.service.adc.impl.ChannelImpl.
Implementation of Channel, using ADCServiceImpl to poll data.
ChannelListener - interface com.gatespace.service.adc.ChannelListener.
Interface to be implemeneted by clients interested in getting events on new values from a Channel.
CLASS_NAME - Static variable in interface com.gatespace.service.adc.ADCService
 
com.gatespace.service.adc - package com.gatespace.service.adc
 
com.gatespace.service.adc.impl - package com.gatespace.service.adc.impl
Copyright (c) 2000 Gatespace AB.

E

error(String) - Method in class com.gatespace.service.adc.impl.Util
 

G

getChannelCount() - Method in interface com.gatespace.service.adc.ADCLowLevel
Number of channels
getChannelCount() - Method in class com.gatespace.service.adc.impl.ADC16LowLevel
 
getChannelNo() - Method in interface com.gatespace.service.adc.Channel
Get channel number.
getChannelNo() - Method in class com.gatespace.service.adc.impl.ChannelImpl
 
getChannels() - Method in interface com.gatespace.service.adc.ADCService
Get all available A/D channels.
getChannels() - Method in class com.gatespace.service.adc.impl.ADCServiceImpl
 
getDifferentialMode() - Method in interface com.gatespace.service.adc.ADCLowLevel
Measure in differetial mode
getDifferentialMode() - Method in class com.gatespace.service.adc.impl.ADC16LowLevel
 
getJitter() - Method in class com.gatespace.service.adc.impl.ChannelImpl
 
getMode() - Method in interface com.gatespace.service.adc.Channel
Get measurement mode of channel.
getMode() - Method in class com.gatespace.service.adc.impl.ChannelImpl
 
getNormalizedValue() - Method in interface com.gatespace.service.adc.Channel
Get last normalized value read from channel.
getNormalizedValue() - Method in class com.gatespace.service.adc.impl.ChannelImpl
 
getRawValue() - Method in interface com.gatespace.service.adc.Channel
Get last raw value read from channel.
getRawValue() - Method in class com.gatespace.service.adc.impl.ChannelImpl
 
getResolution() - Method in interface com.gatespace.service.adc.Channel
Get resolution of channel.
getResolution() - Method in class com.gatespace.service.adc.impl.ChannelImpl
 
getResolutionMax() - Method in interface com.gatespace.service.adc.ADCLowLevel
Maximum number of bits in resolution
getResolutionMax() - Method in class com.gatespace.service.adc.impl.ADC16LowLevel
 
getResolutionMin() - Method in interface com.gatespace.service.adc.ADCLowLevel
Minimum number of bits in resolution
getResolutionMin() - Method in class com.gatespace.service.adc.impl.ADC16LowLevel
 
getSampleCount() - Method in interface com.gatespace.service.adc.Channel
Get oversample count of channel.
getSampleCount() - Method in class com.gatespace.service.adc.impl.ChannelImpl
 
getSingleEndedMode() - Method in interface com.gatespace.service.adc.ADCLowLevel
Measure in single-ended mode
getSingleEndedMode() - Method in class com.gatespace.service.adc.impl.ADC16LowLevel
 
getType() - Method in interface com.gatespace.service.adc.ADCService
Get ADC unit type.
getType() - Method in interface com.gatespace.service.adc.ADCLowLevel
Get type of attached ADC
getType() - Method in class com.gatespace.service.adc.impl.ADCServiceImpl
 
getType() - Method in class com.gatespace.service.adc.impl.ADC16LowLevel
 
getVersion() - Method in interface com.gatespace.service.adc.ADCService
Get ADC unit version.
getVersion() - Method in interface com.gatespace.service.adc.ADCLowLevel
Get version of attached ADC
getVersion() - Method in class com.gatespace.service.adc.impl.ADCServiceImpl
 
getVersion() - Method in class com.gatespace.service.adc.impl.ADC16LowLevel
 

I

in - Variable in class com.gatespace.service.adc.impl.ADC16LowLevel
 
isActive() - Method in interface com.gatespace.service.adc.Channel
Get activation status.
isActive() - Method in class com.gatespace.service.adc.impl.ChannelImpl
 
isStarted() - Method in interface com.gatespace.service.adc.ADCService
Get current status of service.
isStarted() - Method in class com.gatespace.service.adc.impl.ADCServiceImpl
 
isValid() - Method in interface com.gatespace.service.adc.ADCLowLevel
Return true if attached ADC is valid
isValid() - Method in class com.gatespace.service.adc.impl.ADC16LowLevel
 

L

low - Variable in class com.gatespace.service.adc.impl.ADCServiceImpl
 

M

Main - class com.gatespace.service.adc.impl.Main.
Test class for ADCServiceImpl and ADC16LowLevel classes.
Main() - Constructor for class com.gatespace.service.adc.impl.Main
 
main(String[]) - Static method in class com.gatespace.service.adc.impl.Util
 
main(String[]) - Static method in class com.gatespace.service.adc.impl.Main
Opens a serial port and tries to read data from attached ADC16.

N

notifyListeners() - Method in class com.gatespace.service.adc.impl.ChannelImpl
Notify all listeners of new values.

O

out - Variable in class com.gatespace.service.adc.impl.ADC16LowLevel
 

R

read() - Method in interface com.gatespace.service.adc.Channel
Read a new value from channel.
read() - Method in class com.gatespace.service.adc.impl.ChannelImpl
 
readByte(InputStream) - Static method in class com.gatespace.service.adc.impl.Util
Polled read of a single byte from an input stream.
readBytes(InputStream, byte[]) - Static method in class com.gatespace.service.adc.impl.Util
Polled read of bytes from an input stream.
readDelay - Variable in class com.gatespace.service.adc.impl.ADCServiceImpl
 
readValue(Channel) - Method in interface com.gatespace.service.adc.ADCLowLevel
Read an integer value from ADC unit.
readValue(Channel) - Method in class com.gatespace.service.adc.impl.ADCServiceImpl
 
readValue(Channel) - Method in class com.gatespace.service.adc.impl.ADC16LowLevel
Read an int value from ADC unit.
removeChannelListener(ChannelListener) - Method in interface com.gatespace.service.adc.Channel
Remove a listener to this channel.
removeChannelListener(ChannelListener) - Method in class com.gatespace.service.adc.impl.ChannelImpl
 
REQUEST_VERSION - Static variable in class com.gatespace.service.adc.impl.ADC16LowLevel
 
run() - Method in class com.gatespace.service.adc.impl.ADCServiceImpl
Run thread.
runner - Variable in class com.gatespace.service.adc.impl.ADCServiceImpl
 

S

serialPort - Variable in class com.gatespace.service.adc.impl.ADCServiceImpl
 
setActive(boolean) - Method in interface com.gatespace.service.adc.Channel
Set activation status.
setActive(boolean) - Method in class com.gatespace.service.adc.impl.ChannelImpl
 
setJitter(int) - Method in class com.gatespace.service.adc.impl.ChannelImpl
 
setMode(int) - Method in interface com.gatespace.service.adc.Channel
Set measurement mode of channel.
setMode(int) - Method in class com.gatespace.service.adc.impl.ChannelImpl
 
setResolution(int) - Method in interface com.gatespace.service.adc.Channel
Set resolution of channel.
setResolution(int) - Method in class com.gatespace.service.adc.impl.ChannelImpl
 
setSampleCount(int) - Method in interface com.gatespace.service.adc.Channel
Set oversample count of channel.
setSampleCount(int) - Method in class com.gatespace.service.adc.impl.ChannelImpl
 
start() - Method in class com.gatespace.service.adc.impl.ADCServiceImpl
Set up ADC unit
stop() - Method in class com.gatespace.service.adc.impl.ADCServiceImpl
From ADCService interface.

T

toString() - Method in class com.gatespace.service.adc.impl.ChannelImpl
 

U

Util - class com.gatespace.service.adc.impl.Util.
Utility class with some low-level routines.
Util() - Constructor for class com.gatespace.service.adc.impl.Util
 
Util(int) - Constructor for class com.gatespace.service.adc.impl.Util
 

V

valueChanged(Channel) - Method in interface com.gatespace.service.adc.ChannelListener
Called when a new value has arrived.
valueChanged(Channel) - Method in class com.gatespace.service.adc.impl.ADCTester
 

W

wakeup(SerialPort) - Method in interface com.gatespace.service.adc.ADCLowLevel
Wake up the serial port
wakeup(SerialPort) - Method in class com.gatespace.service.adc.impl.ADC16LowLevel
 

A B C E G I L M N O R S T U V W