nidaqdev
Class NIChannelListPanel
java.lang.Object
nidaqdev.NIChannelListPanel
- All Implemented Interfaces:
- ChannelListPanel
public class NIChannelListPanel
- extends java.lang.Object
- implements ChannelListPanel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
niDaqProcess
private NIDAQProcess niDaqProcess
niPanel
private javax.swing.JPanel niPanel
hiddenLabels
private javax.swing.JLabel[] hiddenLabels
channelLabels
private javax.swing.JLabel[] channelLabels
channelLists
private javax.swing.JComboBox[] channelLists
deviceLists
private javax.swing.JComboBox[] deviceLists
rangeLists
private javax.swing.JComboBox[] rangeLists
nChannels
private int nChannels
NIChannelListPanel
public NIChannelListPanel(NIDAQProcess niDProcess)
getChannelList
public int[] getChannelList()
- Specified by:
getChannelList in interface ChannelListPanel
- Returns:
- the channel list
getComponent
public java.awt.Component getComponent()
- Specified by:
getComponent in interface ChannelListPanel
- Returns:
- the component for the dialog panel.
setNumChannels
public void setNumChannels(int nChannels)
- Description copied from interface:
ChannelListPanel
- Set the total number of channels to display.
- Specified by:
setNumChannels in interface ChannelListPanel
- Parameters:
nChannels - the total number of channels to display.
setParams
public void setParams(int[] channelList)
- Description copied from interface:
ChannelListPanel
- Set the channel list.
- Specified by:
setParams in interface ChannelListPanel
- Parameters:
channelList - channel list
setAllBoards
protected void setAllBoards(int boardNum)
setRange
private boolean setRange(int iSWChannel,
double[] range)
getRange
private double[] getRange(int iSWChannel)
setDeviceHoverInfo
private void setDeviceHoverInfo(int iDevice)
setDeviceRangeList
private void setDeviceRangeList(int iSWChannel)
isDataOk
public boolean isDataOk()
- Specified by:
isDataOk in interface ChannelListPanel
- Returns:
- true if the configuration seems to be valid (i.e. no repeated channels, etc)
enableMultiBoardOps
protected void enableMultiBoardOps()