Skip to content

vlt.file.custom_file_formats.writevhlvheaderfile

  WRITEVHLVHEADERFILE - Write a VHLV header file

    vlt.file.custom_file_formats.writevhlvheaderfile(HEADERSTRUCT, FILENAME)

   Writes a header file for the VH LabView Multichannel
   binary file format. Should have an extension of '.vlh'.

   It expects HEADERSTRUCT to be the name of a Matlab structure.
   The expected fields are 'ChannelString', which indicates the
   channel names that were acquired in the LabView system, 'NumChans', the number
   of channels that were acquired, 'SamplingRate', the sampling rate of each
   channel in Hz, and 'SamplesPerChunk', which indicates how many samples were
   written to disk in each burst of recording, 'precision', which indicates the
   binary data type ('double','single','int16', for example), and 'Scale', which
   indicates any scale factor that should be applied to the data upon reading.