Class AcquisitionPaneFX

java.lang.Object
PamController.SettingsPane<AcquisitionParameters>
Acquisition.layoutFX.AcquisitionPaneFX

public class AcquisitionPaneFX extends SettingsPane<AcquisitionParameters>
Settings pane for the sound acquisition parameters.
Author:
Jamie Macaulay and Doug Gillespie.
  • Constructor Details Link icon

  • Method Details Link icon

    • setSampleRate Link icon

      public void setSampleRate(float sampleRate)
      Called by the specific DaqSystem to set sample rate when it is set by the DaqSystem (for instance FileInputSystem will set sample rate to the sample rate of data in the current file.
      Parameters:
      sampleRate - Current sample rate
    • setChannels Link icon

      public void setChannels(int nChannels)
      Called by the specific DaqSystem to set the number of channels when it is set by the DaqSystem (for instance FileInputSystem will set it to the number of channels in the current file.
      Parameters:
      nChannels - Number of channels
    • setVPeak2Peak Link icon

      public void setVPeak2Peak(double vPeak2Peak)
      Called by the specific DaqSystem to set the peak to peak voltage range. This is used for calculating absolute SPL's in various detectors the DaqSystem
      Parameters:
      vPeak2Peak - Peak to Peak input voltage
    • createSamplingPane Link icon

      public javafx.scene.layout.Pane createSamplingPane()
      Create pane which shows current sample rate, the total number of channels and a software to hardware channel mapping pane.
      Returns:
      sample rate and current channels
    • getParams Link icon

      public AcquisitionParameters getParams()
    • setParams Link icon

      public void setParams(AcquisitionParameters input)
      Description copied from class: SettingsPane
      Called whenever the pane is first shown/open to set pane to show current settings.
      Specified by:
      setParams in class SettingsPane<AcquisitionParameters>
      Parameters:
      input - - current settings class.
    • getName Link icon

      public String getName()
      Description copied from class: SettingsPane
      Get the name of the pane.
      Specified by:
      getName in class SettingsPane<AcquisitionParameters>
      Returns:
      name of the pane
    • getContentNode Link icon

      public javafx.scene.Node getContentNode()
      Description copied from class: SettingsPane
      Get node for GUI change of settings.
      Specified by:
      getContentNode in class SettingsPane<AcquisitionParameters>
    • paneInitialized Link icon

      public void paneInitialized()
      Description copied from class: SettingsPane
      Called when settings pane is first initialised. This can be used if for example, a the size of a pane is needed for a param. (Sizes are only initialised when Nodes are shown);
      Specified by:
      paneInitialized in class SettingsPane<AcquisitionParameters>
    • getCurrentDaqSystem Link icon

      public DaqSystem getCurrentDaqSystem()
      Get the current DAQ system
      Returns:
      the current DAQ system.
    • getParams Link icon

      public AcquisitionParameters getParams(AcquisitionParameters currParams)
      Description copied from class: SettingsPane
      Get settings from the pane.
      Specified by:
      getParams in class SettingsPane<AcquisitionParameters>
      Returns:
      settings class
    • getFlipPane Link icon

      public FlipPane getFlipPane()
      Get the flip pane.
      Returns:
      the flip pane.
    • getAdvancedPane Link icon

      public PamBorderPane getAdvancedPane()
    • getAdvancedLabel Link icon

      public javafx.scene.control.TextField getAdvancedLabel()