▪ Initialization error
Definition |
Return code |
Details of Error |
---|---|---|
GEN_ERR_SUCCESS |
0 |
Normal completed |
GEN_ERR_INI_RESOURCE |
1 |
Failed in the acquisition of the resource |
GEN_ERR_INI_MEMORY |
3 |
Failed in the allocation of the memory |
GEN_ERR_NOOPEN |
50 |
The corresponding application is not opened |
GEN_ERR_MAKE_OBJECT |
100 |
Failed in the creation of the object |
GEN_ERR_OPEN_APPLICATION |
102 |
Cannot use C-WaveformGenerator because other application is using |
GEN_ERR_CTRL_APPLICATION |
103 |
Failed to application control |
▪ Common error
Definition |
Return code |
Details of Error |
---|---|---|
GEN_ERR_APPLICATION_SIZE |
10000 |
Unable to specify screen size. |
GEN_ERR_STATUS |
10001 |
Unable to get status. |
GEN_ERR_FILEPATH |
10002 |
The setting file path is invalid. |
GEN_ERR_FILETYPE |
10003 |
The setting file type is invalid. |
GEN_ERR_FILESAVE |
10005 |
Failed to save file. (Used as ch0) |
GEN_ERR_STARTED |
10006 |
Cannot execute because the device is in operation. |
GEN_ERR_DEVICENAME |
10007 |
A device name isn't stored in DeviceName. |
GEN_ERR_START |
10008 |
Operation start error occurred. |
GEN_ERR_STOP |
10009 |
Operation stop error occurred. |
GEN_ERR_INVAILED_ID |
10010 |
Invalid AppId was specified. |
GEN_ERR_BUFF_ADDRESS |
10011 |
Invalid data buffer address. |
▪ C-WaveformGenerator specific error
Definition |
Return code |
Details of Error |
---|---|---|
GEN_ERR_DEVICENAME_ANALOGUOUT |
20001 |
The specified device does not have analog output function. |
GEN_ERR_CHANNEL_NUM |
20002 |
Number of channels is outside the settable range. |
GEN_ERR_FREQUENCY |
20003 |
Frequency is outside the settable range. |
GEN_ERR_FREQUENCY_TYPE |
20004 |
Frequency type is outside the settable range. |
GEN_ERR_FREQUENCY_UNIT |
20005 |
Frequency unit is outside the settable range. |
GEN_ERR_OSCILLATION_TYPE |
20006 |
Oscillation type is outside the settable range. |
GEN_ERR_OSCILLATION_WAVENUM |
20007 |
Number of oscillations is outside the settable range. |
GEN_ERR_OSCILLATION_STOP_WAVENUM |
20008 |
Number of stops or time is outside the settable range. |
GEN_ERR_OSCILLATION_DATANUM |
20009 |
Created data is outside the settable range. Please reduce the number of oscillation waveforms or reduce the stops. |
GEN_ERR_DEVICESET |
20010 |
There are no devices that can be configured, the SDK will close. |
GEN_ERR_BASICMODE |
20011 |
Switched to Basic mode. Settings may change automatically. |
GEN_ERR_CHANNEL_NO |
22000 |
Channel number is outside the settable range. |
GEN_ERR_AMPLITUDE |
22001 |
Amplitude is outside the settable range. |
GEN_ERR_OFFSET |
22002 |
Offset is outside the settable range. |
GEN_ERR_AMPLITUDE_TYPE |
22003 |
Amplitude type (Amplitude, Vp-p) is outside the settable range. |
GEN_ERR_AMPLITUDE_UNIT |
22004 |
Amplitude unit (V, LSB) is outside the settable range. |
GEN_ERR_DUTY |
22005 |
Duty ratio is outside the settable range. |
GEN_ERR_PHASE |
22006 |
Phase is outside the settable range. |
GEN_ERR_WAVE_TYPE |
22007 |
Waveform type is outside the settable range. |
GEN_ERR_SWEEP_TYPE |
22008 |
Sweep type is outside the settable range. |
GEN_ERR_SWEEP_RATIO |
22009 |
Sweep time is outside the settable range. |
GEN_ERR_SWEEP1 |
22010 |
The value before the sweep change is outside the settable range. |
GEN_ERR_SWEEP2 |
22011 |
The value after the sweep change is outside the settable range. |
GEN_ERR_WAVEDATA |
22012 |
Data file is not set when waveform type is arbitrary. |
GEN_ERR_DEVICE |
24001 |
Device condition error occurred. |
GEN_ERR_RELAY |
24002 |
Relay error occurred. |