Skip to content

SONSetEventChan

  SONSETEVENTCHAN sets up a new event or marker channel

  ERR=SONSETEVENTCHAN(FH, CHAN, PHYCH, BUFSZ, COMMENT, TITLE, RATE, KIND)
  INPUTS: FH the SON file handle
          CHAN the channel number
          PHYCH the physical channel number
          BUFSZ size of the write buffer
          COMMENT the channel comment
          TITLE the channel title
          RATE the ideal or expected rate
          KIND is a string that sets the channel type:
                   'EventRise', 'EventFall', 'EventBoth' or 'Marker'

  Returns zero or a negative error code in ERR
  See CED documentation for details

  Author:Malcolm Lidierth
  Matlab SON library:
  Copyright © The Author & King's College London 2005-2006