# 1.4.3 OA NewWaveFile

## Contents

### Description

Connect to Origin and start a new project with a single worksheet and optionally plot all the columns in a graph.

### Controls and Indicators

 Visible is to decide which status of Origin will be, like hidden, show, etc. number of columns is the number of columns of the new creating worksheet. graph script is the labtalk script which will plot all the columns in a graph. Origin file name is a string of your filename or file path. DataFormat is the data type of the column. It must be one of the following values: DF_NO_CHANGE =-1 DF_DOUBLE =0 DF_TEXT =1 DF_TIME = 2 DF_DATE = 3 DF_TEXT_NUMERIC = 9 DF_FLOAT = 32 DF_SHORT = 33 DF_LONG =34 DF_CHAR =35 DF_BYTE = 38 DF_USHORT = 39 DF_ULONG =40 DF_COMPLEX = 41  The default value is DF_DOUBLE. error in(no error) contains error information that occur before this VI or function runs. Origin.IOApplication is a reference to Origin.ApplicationSI. Origin.Worksheet is the new created worksheet. path out is a full path of the file. error out contains error information.
 Note: This VI is available since Origin 8 SR4.