IGWv4EcuObject2
ECU object access with a one-shot refresh from the connected ECU.
Extends IGWv4EcuObject without changing its published interface. GetObject and GetAxis return objects supporting both interfaces. GetReal, GetRaw and GetString read cached values and do not request ECU data.
JavaScript (Windows Script Host):
// The application must already have the required setup open and ECU connected.
var object = app.GetObject("String", "Your string name");
var job = object.Refresh();
job.Wait(); // Throws if the read failed. Alternatively, poll Completed and check Failed.
WScript.Echo(object.GetString());Contents
Public Methods
| Function | Description |
|---|---|
| Refresh | Start a one-shot read of the whole object from the ECU. |
Public Methods
Method: Refresh
Start a one-shot read of the whole object from the ECU.
HRESULT Refresh([out, retval] IGWv4Job **job)Check the job’s completion status before reading the cached value. This does not enable continuous polling or write values to the ECU.