Save the data file.
Ret = SaveDataFile(FilePath , Param1, Param2)
FilePath [ VB.NET : String] [ C++ : BSTR ] [ 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 ]
Return Value |
Description |
0 |
Normal completed |
10002 |
The setting file path is invalid. |
10003 |
The setting file type is invalid. |
20009 |
Created data is outside the settable range. Please reduce the number of oscillation waveforms or reduce the stops. |
22000 |
Number of channels 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 Long Ret = c_fgen.SaveDataFile("DataFile.csv", 0, 0)
|
C++ |
long Ret; ICWaveformGeneratorPtr c_fgen; Ret = c_fgen->SaveDataFile(L"DataFile.csv" , 0, 0);
|
C# |
int Ret; Ret = c_fgen.SaveDataFile("DataFile.csv" , 0, 0);
|
None