Acquisition
Interface ChannelListPanel

All Known Implementing Classes:
NIChannelListPanel, StandardChannelListPanel

public interface ChannelListPanel

Interface allowing individual devices to provide their own channel list panel. Some devices (such as sound cards) don't use this at all. ASIO cards use a standard concrete implementation. NI cards use a more sophisticated one whereby multiple devices may be used.

Author:
Doug Gillespie

Method Summary
 int[] getChannelList()
           
 java.awt.Component getComponent()
           
 boolean isDataOk()
           
 void setNumChannels(int nChannels)
          Set the total number of channels to display.
 void setParams(int[] channelList)
          Set the channel list.
 

Method Detail

getComponent

java.awt.Component getComponent()
Returns:
the component for the dialog panel.

setParams

void setParams(int[] channelList)
Set the channel list.

Parameters:
channelList - channel list

getChannelList

int[] getChannelList()
Returns:
the channel list

isDataOk

boolean isDataOk()
Returns:
true if the configuration seems to be valid (i.e. no repeated channels, etc)

setNumChannels

void setNumChannels(int nChannels)
Set the total number of channels to display.

Parameters:
nChannels - the total number of channels to display.