Skip to contents

Choice of channel to be used if spectrometer has more than one channel.

Usage

choose_ch_interactive(
  instruments,
  sr.index = 0L,
  prompt.text = "Channels available: "
)

Arguments

instruments

the returm value of list_instruments(w)

sr.index

integer The index to the spectrometer, starting from zero, following Omni Driver indexing conventions.

prompt.text

character string to use as prompt.

Value

A numeric index suitable for use in calls to functions defined in package 'rOmniDriver' based on which package 'ooacquire' is coded.