IGWv4Ecu
Contents
Properties
| Property | Description |
|---|---|
| Definition | Get interface to GIN file. |
| IsConnected | Determine if the ECU is connected (online). |
Public Methods
| Function | Description |
|---|---|
| Connect | Connect to an ECU. |
| Disconnect | Disconnect from the currently connected ECU (if any). |
| ReadCalibration | Read the calibration file from ECU and save to file specified by ‘path’. |
| WriteCalibration | Write a calibration file to ECU. |
| VerifyCalibration | Read the calibration file from ECU and check it matches the currently loaded calibration file. |
| ClearCalibrationToDefaults | Erase calibration file data from ECU and set values to defaults where defined. |
| ClearCalibrationToZero | Erase calibration file data from ECU and set values to zero. |
| ProgramFirmware | Program Firmware. |
| CheckNotRunningFlag | Check the ECU is not running. |
| StoreChanges | Programs the checksum in the ECU and causes calibration data to be stored in non-volatile memory (saved on ECU). |
| ReadEHL | Read the Engine History Log and write to file. |
| ReadEcuFile | Read file from ECU and write to disk. |
| WriteEcuFile | Load ECU file from disk and write to ECU. |
| EraseEcuFile | Erase file from ECU. |
| ReadLog | Read log from ECU. |
| EraseLog | Erase log from ECU. |
| ProgramGpsBeaconStartLine | Program GPS beacon start line. |
Properties
Definition
Get interface to GIN file.
IDispatch DefinitionIsConnected
Determine if the ECU is connected (online).
BOOL IsConnectedThe GIN file should be loaded if this is ’true’. However, it is possible that the calibartion and/or tabs are not downloaded / loaded yet.
Public Methods
Method: Connect
Connect to an ECU.
HRESULT Connect([in] IGWv4FileOptions *options)Method: Disconnect
Disconnect from the currently connected ECU (if any).
HRESULT Disconnect([in] IGWv4FileOptions *options)Method: ReadCalibration
Read the calibration file from ECU and save to file specified by ‘path’.
HRESULT ReadCalibration([in] BSTR path, [in] IGWv4FileOptions *options, [out, retval] IGWv4Job **job)see IGWv4FileOptions::overwriteallow and IGWv4FileOptions::overwritesilent
Method: WriteCalibration
Write a calibration file to ECU.
HRESULT WriteCalibration([in] BSTR path, [in] IGWv4FileOptions *options, [out, retval] IGWv4Job **job)Method: VerifyCalibration
Read the calibration file from ECU and check it matches the currently loaded calibration file.
HRESULT VerifyCalibration([out, retval] IGWv4Job **job)Method: ClearCalibrationToDefaults
Erase calibration file data from ECU and set values to defaults where defined.
HRESULT ClearCalibrationToDefaults([out, retval] IGWv4Job **job)Method: ClearCalibrationToZero
Erase calibration file data from ECU and set values to zero.
HRESULT ClearCalibrationToZero([out, retval] IGWv4Job **job)Method: ProgramFirmware
Program Firmware.
HRESULT ProgramFirmware([in] BSTR path, [out, retval] IGWv4Job **job)Method: CheckNotRunningFlag
Check the ECU is not running.
HRESULT CheckNotRunningFlag([out, retval] IGWv4Job **job)Method: StoreChanges
Programs the checksum in the ECU and causes calibration data to be stored in non-volatile memory (saved on ECU).
HRESULT StoreChanges([out, retval] IGWv4Job **job)Method: ReadEHL
Read the Engine History Log and write to file.
HRESULT ReadEHL([in] BSTR path, [out, retval] IGWv4Job **job)Method: ReadEcuFile
Read file from ECU and write to disk.
HRESULT ReadEcuFile([in] int type, [in] BSTR path, [out, retval] IGWv4Job **job)Method: WriteEcuFile
Load ECU file from disk and write to ECU.
HRESULT WriteEcuFile([in] int type, [in] BSTR path, [out, retval] IGWv4Job **job)Method: EraseEcuFile
Erase file from ECU.
HRESULT EraseEcuFile([in] int type, [out, retval] IGWv4Job **job)Method: ReadLog
Read log from ECU.
HRESULT ReadLog([in] BSTR path, [out, retval] IGWv4Job **job)Method: EraseLog
Erase log from ECU.
HRESULT EraseLog([out, retval] IGWv4Job **job)Method: ProgramGpsBeaconStartLine
Program GPS beacon start line.
HRESULT ProgramGpsBeaconStartLine([in] double start_longitude, [in] double start_latitude, [in] double end_longitude, [in] double end_latitude, [in] double heading_radians, [out, retval] IGWv4Job **job)