en
  • English
  • German
  • Chinese

Knowledge-Base

I want to auto store data into ASCII Matlab or other formats

The auto storage function of SBench 6 only supports binary file formats as it is optimized for high speed streaming and high data throughput. File formats that need a lot of data conversion processing like ASCII and MATLAB are therefore not supported by streaming or auto storage functions.

Conversion tool sb6convert.exe

To implement this functionality SBench 6 comes with a command line file conversion tool that is installed in the SBench 6 program folder. The conversion tool supports all SBench 6 file formats and is completely programmable with command line options. An internal help screen which is invoked by sbconvert -h will explain the options.

To run a complete conversion of a folder full of SBench 6 data files into ASCII one can use standard batch commands:

For /f %%1 in ('dir /b/l *.sb6dat') do sb6convert -f ascii,values=xy,col=comma,format=signed,wordwrap=windows -w -i %%1 -o %%1.txt

This command will scan the entire directory for files with the extension sb6dat which is the extension of the SBench 6 data file and convert it to an ASCII file with the extension txt using x and y figures with comma separation and a signed number format. Please refer to the help screen to see a list of all possible format options.

Contact

On location for you. Choose your region.

Europe USA Asia
Contact Europe
Phone +49 (0)4102 6956-0
Fax +49 (0)4102 6956-66
E-Mail info@spec.de
Contact USA
Phone +1 (201) 562-1999
Fax +1 (201) 820-2691
E-Mail sales@spectrum-instrumentation.com
Contact Asia
Phone +61 402 130 414
E-Mail greg.tate@spectrum-instrumentation.com
Support

Request support. We are happy to help.

Support
powered by webEdition CMS