Save the data file.
Ret = GenSaveDataFile( AppId , FilePath , Param1 , Param2 )
AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ]
Specify Application ID retrieved by GenOpenApplication.
FilePath [ VB.NET: String] [ C++: char * ] [ C#: string]
Specify the file path.
Param1 [ VB.NET: Short ] [ C++: short ] [ C#: short ]
Specify the mode.
0  | 
		Save data for one channel.  | 
	
1  | 
		Save data for all channels.  | 
	
Param2 [ VB.NET: Short ] [ C++: short ] [ C#: short ]
Specify the channel number to save.
For one channel: Specify the channel number.
For all channels: Specify 0.
Ret [ VB.NET: Integer ] [ C++: long ] [ C#: int ]
Definition  | 
		Return Value  | 
		Description  | 
	
GEN_ERR_SUCCESS  | 
		0  | 
		Normal completed  | 
	
GEN_ERR_FILEPATH  | 
		10002  | 
		The setting file path is invalid.  | 
	
GEN_ERR_FILETYPE  | 
		10003  | 
		The setting file type is invalid.  | 
	
GEN_ERR_OSCILLATION_DATANUM  | 
		20009  | 
		Created 
		 data is outside the settable range.   | 
	
GEN_ERR_CHANNEL_NO  | 
		22000  | 
		Channel number is outside the settable range.  | 
	
The others (See also: Error Code List)
Save the data file.
This function can be executed even if the device is in operation.
Only CH0 data will be saved.
VB.NET  | 
		Dim Ret As Integer Ret = GenSaveDataFile(AppId, "DataFile.csv", 0, 0) 
  | 
	
C++  | 
		long Ret; Ret = GenSaveDataFile(AppId, "DataFile.csv", 0, 0); 
  | 
	
C#  | 
		int Ret; Ret = gen.SaveDataFile(AppId, "DataFile.csv", 0, 0); 
  | 
	
None