Skip to content

openNSxHL

  openNSxHL

  Opens and reads an NSx file without the header information and returns
  the binary data. This can be used for specific applications that require
  this type of data, e.g. Klusters. Works with File Spec 2.1, 2.2 and 2.3.
  It does not support pauses at this time.


  Use OUTPUT = openNSx(fname)

  All input arguments are optional.

    fname:        Name of the file to be opened. If the fname is omitted
                  the user will be prompted to select a file. 
                  DEFAULT: Will open Open File UI.

    OUTPUT:       Contains the binary data.

    Example 1: 
    openNSxHL('c:\data\sample.ns5');

    In the example above, the file c:\data\sample.ns5 will be opened and
    the data will be read and output through variable OUTPUT.

    Example 2:
    openNSxHL;

    In the example above, the file user will be prompted for the file. The
    selected file will be opened and the data will be read and output
    through variable OUTPUT.

    Kian Torab
    kian@blackrockmicro.com
    Blackrock Microsystems
    Version 1.0.0.0

 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  Version History

  1.0.0.0:
    - Initial release.

  1.1.0.0: June 16, 2017
    - Pads the data with zeros when the beginning timestamp is not 0.

 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%