Subsections of Functions

Functions (Alphabetical)

Functions (Alphabetical)

Total functions: 106

Function Owner Description
AddMarker() GWv4::IGWv4PCLogging Add a marker to the log at the current point in time.
AppendChannel([in] BSTR name, [out, retval] BOOL *retval) GWv4::IGWv4PCLogging Set name of the channel at the specified index in the PC logging list.
AppendEcuStatus([in] BSTR path, [in, optional] VARIANT options) GWv4::IGWv4Application Append to ECU status messages.
AppendParameter([in] BSTR name, [out, retval] BOOL *retval) GWv4::IGWv4PCLogging Set name of the channel at the specified index in the PC logging list.
Bind([out, retval] int *ok) GWv4::IGWv4ScriptFunction Bind the function to the script if it was recompiled.
Call([in] SAFEARRAY(VARIANT) args, [out, retval] VARIANT *ret) GWv4::IGWv4ScriptFunction Calls the function (will automatically attempt to bind if not already done so or if the script was recompiled). If the function cannot be bound, this will result in an error E_INVALIDARG.
Cancel(void) GWv4::IGWv4Job Cancels the Job.
CheckNotRunningFlag([out, retval] IGWv4Job **job) GWv4::IGWv4Ecu Check the ECU is not running.
ClearCalibrationToDefaults([out, retval] IGWv4Job **job) GWv4::IGWv4Ecu Erase calibration file data from ECU and set values to defaults where defined.
ClearCalibrationToZero([out, retval] IGWv4Job **job) GWv4::IGWv4Ecu Erase calibration file data from ECU and set values to zero.
ClearChannelList() GWv4::IGWv4PCLogging Remove all channels from the PC logging list.
ClearEcuStatus([in, optional] VARIANT options) GWv4::IGWv4Application Clear ECU status messages.
ClearParameterList() GWv4::IGWv4PCLogging Remove all channel from the PC logging list.
Click([in] VARIANT options) GWv4::IGWv4Application Simulate a mouse click.
CloseCalibration([in] IGWv4FileOptions *options) GWv4::IGWv4Application Closes the currently open calibration.
CloseTab([in] VARIANT tab) GWv4::IGWv4Application Close the given tab.
CloseTab() GWv4::IGWv4PCLogging Close the PC logging tab.
CloseWindow([in] VARIANT options, [out, retval] VARIANT *result) GWv4::IGWv4Application Close a window (if possible).
Compile([in] BSTR script, [out, retval] BOOL *ok) GWv4::IGWv4Script Compiles the given script.
CompileFile([in] BSTR script_file, [out, retval] BOOL *ok) GWv4::IGWv4Script Compiles the given script file.
Connect([in] IGWv4FileOptions *options) GWv4::IGWv4Ecu Connect to an ECU.
ConnectEcu() GWv4::IGWv4Application Connect to an ECU.
CreateExporter([in] BSTR filename, [out, retval] IGWv4PCLoggingExport **exporter) GWv4::IGWv4PCLogging Create a PC logging exporter.
CreateFileOptions([out, retval] IGWv4FileOptions **options) GWv4::IGWv4Application Create an instance of IGWv4FileOptions that can be used to modify the behaviour of various functions that deal with files in one way or another.
CreateOptionsMap([out, retval] IGWv4OptionsMap **options) GWv4::IGWv4Application Create an instance of IDashOptionsMap that can be used to modify the behaviour of various functions that accept options.
CreatePortList([out, retval] IGWv4Ports **retval) GWv4::IGWv4Application Creates an interface for accessing/configuring the various ECU comms ports.
CreateScript([out, retval] IGWv4Script **script) GWv4::IGWv4Application Create an instance of IGWv4Script that can be used to compile and execute scripts within GWv4.
CreateTab([in] BOOL focus_tab) GWv4::IGWv4PCLogging Adds the PC logging tab to the GWv4 UI.
Disconnect([in] IGWv4FileOptions *options) GWv4::IGWv4Ecu Disconnect from the currently connected ECU (if any).
DisconnectEcu() GWv4::IGWv4Application Disconnect from the currently connected ECU (if any).
EnumerateWindows([in, optional] VARIANT options, [out, retval] BSTR *result) GWv4::IGWv4Application Enumerate Windows in the application.
EraseEcuFile([in] int type, [out, retval] IGWv4Job **job) GWv4::IGWv4Ecu Erase file from ECU.
EraseLog([out, retval] IGWv4Job **job) GWv4::IGWv4Ecu Erase log from ECU.
Execute([out, retval] VARIANT *ret) GWv4::IGWv4Script Executes the given script.
Export([in] BSTR filename, [in] IGWv4FileOptions *options, [out, retval] IGWv4Job **job) GWv4::IGWv4PCLoggingExport Export the GLO file to STF format.
FocusWindow([in] VARIANT options) GWv4::IGWv4Application Focus & raise a window (if possible).
GenerateHelpInfo([in, optional] VARIANT options, [out, retval] BSTR *result) GWv4::IGWv4Application Generate Help Information as JSON.
GetAttribute([in] VARIANT name, [out, retval] BSTR *result) GWv4::IGWv4EcuObject Get attribute with given name.
GetAxis([in] unsigned int axis, [out, retval] IGWv4EcuObject **value) GWv4::IGWv4EcuObject Get object representing the specified axis.
GetChannel([in] unsigned int index, [out, retval] BSTR *retval) GWv4::IGWv4PCLogging Get name of the channel at the specified index in the PC logging list.
GetChannel([in] unsigned int index, [out, retval] BSTR *retval) GWv4::IGWv4PCLoggingExport Get name of the channel at the specified index in the PC logging list.
GetChannelExportRate([in] unsigned int index, [out, retval] GWv4StfChannelRate *rate) GWv4::IGWv4PCLoggingExport Get the update rate of the channel at the specified index in the PC logging list.
GetChannelUpdateRateCode([in] unsigned int index, [out, retval] int *rate) GWv4::IGWv4PCLogging Get the update rate of the channel at the specified index in the PC logging list.
GetFunction([in] BSTR name, [out, retval] IGWv4ScriptFunction **func) GWv4::IGWv4Script Gets a handle to a function in the script, which can subsequently be called multiple times.
GetObject([in] BSTR type, [in] BSTR name, [in, optional] VARIANT options, [out, retval] IGWv4EcuObject **ret) GWv4::IGWv4Application Get an object of the specified type (e.g. Channel, Option, Map, Table).
GetParameter([in] unsigned int index, [out, retval] BSTR *retval) GWv4::IGWv4PCLogging Get name of the channel at the specified index in the PC logging list.
GetParameter([in] unsigned int index, [out, retval] BSTR *retval) GWv4::IGWv4PCLoggingExport Get name of the channel at the specified index in the PC logging list.
GetParameterExportRate([in] unsigned int index, [out, retval] GWv4StfChannelRate *rate) GWv4::IGWv4PCLoggingExport Get the update rate of the channel at the specified index in the PC logging list.
GetParameterUpdateRateCode([in] unsigned int index, [out, retval] int *rate) GWv4::IGWv4PCLogging Get the update rate of the channel at the specified index in the PC logging list.
GetPortDevice([in] unsigned int index, [out, retval] BSTR *retval) GWv4::IGWv4Ports Get device ID for the port at the specified index in the port list.
GetPortMemento([in] unsigned int index, [out, retval] BSTR *retval) GWv4::IGWv4Ports Get internal ‘memento’ for the port at the specified index in the port list.
GetPortName([in] unsigned int index, [out, retval] BSTR *retval) GWv4::IGWv4Ports Get friendly name of the port at the specified index in the port list.
GetPortType([in] unsigned int index, [out, retval] int *retval) GWv4::IGWv4Ports Get friendly name of the port at the specified index in the port list.
GetProperties([in] VARIANT options, [out, retval] VARIANT *result) GWv4::IGWv4Application Get all properties from a window / view.
GetProperty([in] VARIANT options, [in] BSTR name, [out, retval] VARIANT *result) GWv4::IGWv4Application Get a single property from a window / view.
GetProperty([in] BSTR name, [out, retval] VARIANT *retval) GWv4::IGWv4OptionsMap
GetRaw([in, optional] VARIANT *axes, [out, retval] VARIANT *value) GWv4::IGWv4EcuObject Get the raw value of the object.
GetReal([in, optional] VARIANT *axes, [out, retval] VARIANT *value) GWv4::IGWv4EcuObject Get the real value of the object.
GetString([in, optional] VARIANT *axes, [out, retval] BSTR *value) GWv4::IGWv4EcuObject Get the string value of the object.
HasAttribute([in] VARIANT name, [out, retval] BOOL *result) GWv4::IGWv4EcuObject Determine if attribute exists.
InstallEcu([in] BSTR path) GWv4::IGWv4Application Installs the ECU definition file from the given path.
InvokeAction([in] BSTR action_id, [in, optional] VARIANT options) GWv4::IGWv4Application Invokes an action with the specified ID.
Keyboard([in] VARIANT options) GWv4::IGWv4Application Simulate a keyboard.
LoadLayout([in] BSTR path, [in, optional] VARIANT options) GWv4::IGWv4Application Load a layout (gxt) file.
NewCalibration([in] BSTR identity, [in, optional] VARIANT options) GWv4::IGWv4Application Create a new calibration file using the given identity json string.
OpenCalibration([in] BSTR path, [in] IGWv4FileOptions *options) GWv4::IGWv4Application Opens the calibration file specified by ‘path’.
ProgramFirmware([in] BSTR path, [out, retval] IGWv4Job **job) GWv4::IGWv4Ecu Program Firmware.
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) GWv4::IGWv4Ecu Program GPS beacon start line.
RawFromReal([in] VARIANT real, [in, optional] VARIANT *axes, [out, retval] VARIANT *raw) GWv4::IGWv4EcuObject Convert real value to raw value.
ReadCalibration([in] BSTR path, [in] IGWv4FileOptions *options, [out, retval] IGWv4Job **job) GWv4::IGWv4Ecu Read the calibration file from ECU and save to file specified by ‘path’.
ReadEcuFile([in] int type, [in] BSTR path, [out, retval] IGWv4Job **job) GWv4::IGWv4Ecu Read file from ECU and write to disk.
ReadEHL([in] BSTR path, [out, retval] IGWv4Job **job) GWv4::IGWv4Ecu Read the Engine History Log and write to file.
ReadLog([in] BSTR path, [out, retval] IGWv4Job **job) GWv4::IGWv4Ecu Read log from ECU.
RealFromRaw([in] VARIANT raw, [in, optional] VARIANT *axes, [out, retval] VARIANT *real) GWv4::IGWv4EcuObject Convert raw value to real value.
Refresh([out, retval] IGWv4Job **job) GWv4::IGWv4EcuObject2 Start a one-shot read of the whole object from the ECU.
Refresh([in] BSTR typelist) GWv4::IGWv4Ports Refresh the ports list. Blocks execution until complete.
RemoveChannel([in] unsigned int index, [out, retval] BOOL *retval) GWv4::IGWv4PCLogging Set name of the channel at the specified index in the PC logging list.
RemoveParameter([in] unsigned int index, [out, retval] BOOL *retval) GWv4::IGWv4PCLogging Set name of the channel at the specified index in the PC logging list.
SaveCalibration([in] IGWv4FileOptions *options) GWv4::IGWv4Application Saves the current calibration by its current file name.
SaveCalibrationAs([in] BSTR path, [in] IGWv4FileOptions *options) GWv4::IGWv4Application Saves the current calibration with a new file name.
SaveLayout([in] BSTR path, [in, optional] VARIANT options) GWv4::IGWv4Application Save a layout (gxt) file.
SelectPort([in] int type, [in] BSTR device, [out, retval] BOOL *retval) GWv4::IGWv4Ports Set the port for connecting with. The port must exist in the list.
SetChannel([in] unsigned int index, [in] BSTR name, [out, retval] BOOL *retval) GWv4::IGWv4PCLogging Set name of the channel at the specified index in the PC logging list.
SetChannelExportRate([in] unsigned int index, [in] GWv4StfChannelRate rate) GWv4::IGWv4PCLoggingExport Set the STF export rate of the channel at the specified index in the PC logging list.
SetChannelUpdateRateCode([in] unsigned int index, [in] int rate) GWv4::IGWv4PCLogging Set the update rate of the channel at the specified index in the PC logging list.
SetParameter([in] unsigned int index, [in] BSTR name, [out, retval] BOOL *retval) GWv4::IGWv4PCLogging Set name of the channel at the specified index in the PC logging list.
SetParameterExportRate([in] unsigned int index, [in] GWv4StfChannelRate rate) GWv4::IGWv4PCLoggingExport Set the STF export rate of the parameter at the specified index in the PC logging list.
SetParameterUpdateRateCode([in] unsigned int index, [in] int rate) GWv4::IGWv4PCLogging Set the update rate of the channel at the specified index in the PC logging list.
SetProperties([in] VARIANT options, [in] VARIANT props) GWv4::IGWv4Application Set mutiple properties on a window / view.
SetProperty([in] VARIANT options, [in] BSTR name, [in] VARIANT value) GWv4::IGWv4Application Set a single property on a window / view.
SetProperty([in] BSTR name, [in] VARIANT value) GWv4::IGWv4OptionsMap properties are made available by the IDispatch interface (late-binding).
SetRaw([in] VARIANT value, [in, optional] VARIANT *axes) GWv4::IGWv4EcuObject Set the raw value of the object.
SetReal([in] VARIANT value, [in, optional] VARIANT *axes) GWv4::IGWv4EcuObject Set the real value of the object.
SetSimulationProperty([in] VARIANT options) GWv4::IGWv4Application Set a simulator property or Channel value.
SetString([in] VARIANT value, [in, optional] VARIANT *axes) GWv4::IGWv4EcuObject Set the string value of the object.
ShowTab([in] VARIANT tab) GWv4::IGWv4Application Show the given tab.
SimulateEcu([in] VARIANT options) GWv4::IGWv4Application Simulate an ECU.
Start([in] BSTR filename, [out, retval] BSTR *output_file) GWv4::IGWv4PCLogging Starts PC logging to the given output GLO file.
Stop([out, retval] BSTR *output_file) GWv4::IGWv4PCLogging Stops PC logging.
StoreChanges([out, retval] IGWv4Job **job) GWv4::IGWv4Ecu Programs the checksum in the ECU and causes calibration data to be stored in non-volatile memory (saved on ECU).
StringFromRaw([in] VARIANT raw, [in, optional] VARIANT *axes, [out, retval] BSTR *result) GWv4::IGWv4EcuObject Convert raw value to string value.
TakeScreenShot([in, optional] VARIANT options, [out, retval] VARIANT *result) GWv4::IGWv4Application Take a screenshot of a window or the whole application.
VerifyCalibration([out, retval] IGWv4Job **job) GWv4::IGWv4Ecu Read the calibration file from ECU and check it matches the currently loaded calibration file.
Wait(void) GWv4::IGWv4Job Wait for the Job to complete.
WriteCalibration([in] BSTR path, [in] IGWv4FileOptions *options, [out, retval] IGWv4Job **job) GWv4::IGWv4Ecu Write a calibration file to ECU.
WriteEcuFile([in] int type, [in] BSTR path, [out, retval] IGWv4Job **job) GWv4::IGWv4Ecu Load ECU file from disk and write to ECU.

Functions by API

Total functions: 106

IGWv4Application

Function Description
AppendEcuStatus([in] BSTR path, [in, optional] VARIANT options) Append to ECU status messages.
ClearEcuStatus([in, optional] VARIANT options) Clear ECU status messages.
Click([in] VARIANT options) Simulate a mouse click.
CloseCalibration([in] IGWv4FileOptions *options) Closes the currently open calibration.
CloseTab([in] VARIANT tab) Close the given tab.
CloseWindow([in] VARIANT options, [out, retval] VARIANT *result) Close a window (if possible).
ConnectEcu() Connect to an ECU.
CreateFileOptions([out, retval] IGWv4FileOptions **options) Create an instance of IGWv4FileOptions that can be used to modify the behaviour of various functions that deal with files in one way or another.
CreateOptionsMap([out, retval] IGWv4OptionsMap **options) Create an instance of IDashOptionsMap that can be used to modify the behaviour of various functions that accept options.
CreatePortList([out, retval] IGWv4Ports **retval) Creates an interface for accessing/configuring the various ECU comms ports.
CreateScript([out, retval] IGWv4Script **script) Create an instance of IGWv4Script that can be used to compile and execute scripts within GWv4.
DisconnectEcu() Disconnect from the currently connected ECU (if any).
EnumerateWindows([in, optional] VARIANT options, [out, retval] BSTR *result) Enumerate Windows in the application.
FocusWindow([in] VARIANT options) Focus & raise a window (if possible).
GenerateHelpInfo([in, optional] VARIANT options, [out, retval] BSTR *result) Generate Help Information as JSON.
GetObject([in] BSTR type, [in] BSTR name, [in, optional] VARIANT options, [out, retval] IGWv4EcuObject **ret) Get an object of the specified type (e.g. Channel, Option, Map, Table).
GetProperties([in] VARIANT options, [out, retval] VARIANT *result) Get all properties from a window / view.
GetProperty([in] VARIANT options, [in] BSTR name, [out, retval] VARIANT *result) Get a single property from a window / view.
InstallEcu([in] BSTR path) Installs the ECU definition file from the given path.
InvokeAction([in] BSTR action_id, [in, optional] VARIANT options) Invokes an action with the specified ID.
Keyboard([in] VARIANT options) Simulate a keyboard.
LoadLayout([in] BSTR path, [in, optional] VARIANT options) Load a layout (gxt) file.
NewCalibration([in] BSTR identity, [in, optional] VARIANT options) Create a new calibration file using the given identity json string.
OpenCalibration([in] BSTR path, [in] IGWv4FileOptions *options) Opens the calibration file specified by ‘path’.
SaveCalibration([in] IGWv4FileOptions *options) Saves the current calibration by its current file name.
SaveCalibrationAs([in] BSTR path, [in] IGWv4FileOptions *options) Saves the current calibration with a new file name.
SaveLayout([in] BSTR path, [in, optional] VARIANT options) Save a layout (gxt) file.
SetProperties([in] VARIANT options, [in] VARIANT props) Set mutiple properties on a window / view.
SetProperty([in] VARIANT options, [in] BSTR name, [in] VARIANT value) Set a single property on a window / view.
SetSimulationProperty([in] VARIANT options) Set a simulator property or Channel value.
ShowTab([in] VARIANT tab) Show the given tab.
SimulateEcu([in] VARIANT options) Simulate an ECU.
TakeScreenShot([in, optional] VARIANT options, [out, retval] VARIANT *result) Take a screenshot of a window or the whole application.

IGWv4Ecu

Function Description
CheckNotRunningFlag([out, retval] IGWv4Job **job) Check the ECU is not running.
ClearCalibrationToDefaults([out, retval] IGWv4Job **job) Erase calibration file data from ECU and set values to defaults where defined.
ClearCalibrationToZero([out, retval] IGWv4Job **job) Erase calibration file data from ECU and set values to zero.
Connect([in] IGWv4FileOptions *options) Connect to an ECU.
Disconnect([in] IGWv4FileOptions *options) Disconnect from the currently connected ECU (if any).
EraseEcuFile([in] int type, [out, retval] IGWv4Job **job) Erase file from ECU.
EraseLog([out, retval] IGWv4Job **job) Erase log from ECU.
ProgramFirmware([in] BSTR path, [out, retval] IGWv4Job **job) Program Firmware.
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) Program GPS beacon start line.
ReadCalibration([in] BSTR path, [in] IGWv4FileOptions *options, [out, retval] IGWv4Job **job) Read the calibration file from ECU and save to file specified by ‘path’.
ReadEcuFile([in] int type, [in] BSTR path, [out, retval] IGWv4Job **job) Read file from ECU and write to disk.
ReadEHL([in] BSTR path, [out, retval] IGWv4Job **job) Read the Engine History Log and write to file.
ReadLog([in] BSTR path, [out, retval] IGWv4Job **job) Read log from ECU.
StoreChanges([out, retval] IGWv4Job **job) Programs the checksum in the ECU and causes calibration data to be stored in non-volatile memory (saved on ECU).
VerifyCalibration([out, retval] IGWv4Job **job) Read the calibration file from ECU and check it matches the currently loaded calibration file.
WriteCalibration([in] BSTR path, [in] IGWv4FileOptions *options, [out, retval] IGWv4Job **job) Write a calibration file to ECU.
WriteEcuFile([in] int type, [in] BSTR path, [out, retval] IGWv4Job **job) Load ECU file from disk and write to ECU.

IGWv4EcuObject

Function Description
GetAttribute([in] VARIANT name, [out, retval] BSTR *result) Get attribute with given name.
GetAxis([in] unsigned int axis, [out, retval] IGWv4EcuObject **value) Get object representing the specified axis.
GetRaw([in, optional] VARIANT *axes, [out, retval] VARIANT *value) Get the raw value of the object.
GetReal([in, optional] VARIANT *axes, [out, retval] VARIANT *value) Get the real value of the object.
GetString([in, optional] VARIANT *axes, [out, retval] BSTR *value) Get the string value of the object.
HasAttribute([in] VARIANT name, [out, retval] BOOL *result) Determine if attribute exists.
RawFromReal([in] VARIANT real, [in, optional] VARIANT *axes, [out, retval] VARIANT *raw) Convert real value to raw value.
RealFromRaw([in] VARIANT raw, [in, optional] VARIANT *axes, [out, retval] VARIANT *real) Convert raw value to real value.
SetRaw([in] VARIANT value, [in, optional] VARIANT *axes) Set the raw value of the object.
SetReal([in] VARIANT value, [in, optional] VARIANT *axes) Set the real value of the object.
SetString([in] VARIANT value, [in, optional] VARIANT *axes) Set the string value of the object.
StringFromRaw([in] VARIANT raw, [in, optional] VARIANT *axes, [out, retval] BSTR *result) Convert raw value to string value.

IGWv4EcuObject2

Function Description
Refresh([out, retval] IGWv4Job **job) Start a one-shot read of the whole object from the ECU.

IGWv4Job

Function Description
Cancel(void) Cancels the Job.
Wait(void) Wait for the Job to complete.

IGWv4OptionsMap

Function Description
GetProperty([in] BSTR name, [out, retval] VARIANT *retval)
SetProperty([in] BSTR name, [in] VARIANT value) properties are made available by the IDispatch interface (late-binding).

IGWv4PCLogging

Function Description
AddMarker() Add a marker to the log at the current point in time.
AppendChannel([in] BSTR name, [out, retval] BOOL *retval) Set name of the channel at the specified index in the PC logging list.
AppendParameter([in] BSTR name, [out, retval] BOOL *retval) Set name of the channel at the specified index in the PC logging list.
ClearChannelList() Remove all channels from the PC logging list.
ClearParameterList() Remove all channel from the PC logging list.
CloseTab() Close the PC logging tab.
CreateExporter([in] BSTR filename, [out, retval] IGWv4PCLoggingExport **exporter) Create a PC logging exporter.
CreateTab([in] BOOL focus_tab) Adds the PC logging tab to the GWv4 UI.
GetChannel([in] unsigned int index, [out, retval] BSTR *retval) Get name of the channel at the specified index in the PC logging list.
GetChannelUpdateRateCode([in] unsigned int index, [out, retval] int *rate) Get the update rate of the channel at the specified index in the PC logging list.
GetParameter([in] unsigned int index, [out, retval] BSTR *retval) Get name of the channel at the specified index in the PC logging list.
GetParameterUpdateRateCode([in] unsigned int index, [out, retval] int *rate) Get the update rate of the channel at the specified index in the PC logging list.
RemoveChannel([in] unsigned int index, [out, retval] BOOL *retval) Set name of the channel at the specified index in the PC logging list.
RemoveParameter([in] unsigned int index, [out, retval] BOOL *retval) Set name of the channel at the specified index in the PC logging list.
SetChannel([in] unsigned int index, [in] BSTR name, [out, retval] BOOL *retval) Set name of the channel at the specified index in the PC logging list.
SetChannelUpdateRateCode([in] unsigned int index, [in] int rate) Set the update rate of the channel at the specified index in the PC logging list.
SetParameter([in] unsigned int index, [in] BSTR name, [out, retval] BOOL *retval) Set name of the channel at the specified index in the PC logging list.
SetParameterUpdateRateCode([in] unsigned int index, [in] int rate) Set the update rate of the channel at the specified index in the PC logging list.
Start([in] BSTR filename, [out, retval] BSTR *output_file) Starts PC logging to the given output GLO file.
Stop([out, retval] BSTR *output_file) Stops PC logging.

IGWv4PCLoggingExport

Function Description
Export([in] BSTR filename, [in] IGWv4FileOptions *options, [out, retval] IGWv4Job **job) Export the GLO file to STF format.
GetChannel([in] unsigned int index, [out, retval] BSTR *retval) Get name of the channel at the specified index in the PC logging list.
GetChannelExportRate([in] unsigned int index, [out, retval] GWv4StfChannelRate *rate) Get the update rate of the channel at the specified index in the PC logging list.
GetParameter([in] unsigned int index, [out, retval] BSTR *retval) Get name of the channel at the specified index in the PC logging list.
GetParameterExportRate([in] unsigned int index, [out, retval] GWv4StfChannelRate *rate) Get the update rate of the channel at the specified index in the PC logging list.
SetChannelExportRate([in] unsigned int index, [in] GWv4StfChannelRate rate) Set the STF export rate of the channel at the specified index in the PC logging list.
SetParameterExportRate([in] unsigned int index, [in] GWv4StfChannelRate rate) Set the STF export rate of the parameter at the specified index in the PC logging list.

IGWv4Ports

Function Description
GetPortDevice([in] unsigned int index, [out, retval] BSTR *retval) Get device ID for the port at the specified index in the port list.
GetPortMemento([in] unsigned int index, [out, retval] BSTR *retval) Get internal ‘memento’ for the port at the specified index in the port list.
GetPortName([in] unsigned int index, [out, retval] BSTR *retval) Get friendly name of the port at the specified index in the port list.
GetPortType([in] unsigned int index, [out, retval] int *retval) Get friendly name of the port at the specified index in the port list.
Refresh([in] BSTR typelist) Refresh the ports list. Blocks execution until complete.
SelectPort([in] int type, [in] BSTR device, [out, retval] BOOL *retval) Set the port for connecting with. The port must exist in the list.

IGWv4Script

Function Description
Compile([in] BSTR script, [out, retval] BOOL *ok) Compiles the given script.
CompileFile([in] BSTR script_file, [out, retval] BOOL *ok) Compiles the given script file.
Execute([out, retval] VARIANT *ret) Executes the given script.
GetFunction([in] BSTR name, [out, retval] IGWv4ScriptFunction **func) Gets a handle to a function in the script, which can subsequently be called multiple times.

IGWv4ScriptFunction

Function Description
Bind([out, retval] int *ok) Bind the function to the script if it was recompiled.
Call([in] SAFEARRAY(VARIANT) args, [out, retval] VARIANT *ret) Calls the function (will automatically attempt to bind if not already done so or if the script was recompiled). If the function cannot be bound, this will result in an error E_INVALIDARG.