IGWv4PCLogging

Interface for access to PC logging features.

Contents

Properties

Property Description
Running Get/Set running state.
LogFolder Get/Set log folder.
FileNameFormat Get/Set filename format.
ParameterCount Get number of channels in the PC logging list.
ChannelCount Get the number of items/channels in the logging list.

Public Methods

Function Description
CreateTab Adds the PC logging tab to the GWv4 UI.
CloseTab Close the PC logging tab.
Start Starts PC logging to the given output GLO file.
Stop Stops PC logging.
AddMarker Add a marker to the log at the current point in time.
GetParameter Get name of the channel at the specified index in the PC logging list.
SetParameter Set name of the channel at the specified index in the PC logging list.
AppendParameter Set name of the channel at the specified index in the PC logging list.
RemoveParameter Set name of the channel at the specified index in the PC logging list.
GetParameterUpdateRateCode Get the update rate of the channel at the specified index in the PC logging list.
SetParameterUpdateRateCode Set the update rate of the channel at the specified index in the PC logging list.
ClearParameterList Remove all channel from the PC logging list.
CreateExporter Create a PC logging exporter.
GetChannel Get name of the channel at the specified index in the PC logging list.
SetChannel Set name of the channel at the specified index in the PC logging list.
AppendChannel Set name of the channel at the specified index in the PC logging list.
RemoveChannel Set name of the channel at the specified index in the PC logging list.
GetChannelUpdateRateCode Get the update rate of the channel at the specified index in the PC logging list.
SetChannelUpdateRateCode Set the update rate of the channel at the specified index in the PC logging list.
ClearChannelList Remove all channels from the PC logging list.

Properties

Running

Get/Set running state.

BOOL Running

LogFolder

Get/Set log folder.

BSTR LogFolder

FileNameFormat

Get/Set filename format.

BSTR FileNameFormat

ParameterCount

Get number of channels in the PC logging list.

int ParameterCount

Deprecateduse ChannelCount. Channels were called ‘parameters’ in versions prior to 4.03.20.

ChannelCount

Get the number of items/channels in the logging list.

int ChannelCount

Public Methods

Method: CreateTab

Adds the PC logging tab to the GWv4 UI.

HRESULT CreateTab([in] BOOL focus_tab)

Method: CloseTab

Close the PC logging tab.

HRESULT CloseTab()

Method: Start

Starts PC logging to the given output GLO file.

HRESULT Start([in] BSTR filename, [out, retval] BSTR *output_file)

Method: Stop

Stops PC logging.

HRESULT Stop([out, retval] BSTR *output_file)

Method: AddMarker

Add a marker to the log at the current point in time.

HRESULT AddMarker()

Method: GetParameter

Get name of the channel at the specified index in the PC logging list.

HRESULT GetParameter([in] unsigned int index, [out, retval] BSTR *retval)

Deprecateduse GetChannel. Channels were called ‘parameters’ in versions prior to 4.03.20.

Method: SetParameter

Set name of the channel at the specified index in the PC logging list.

HRESULT SetParameter([in] unsigned int index, [in] BSTR name, [out, retval] BOOL *retval)

Deprecateduse SetChannel. Channels were called ‘parameters’ in versions prior to 4.03.20.

List is automatically extended and setting an empty name removes the item.

Method: AppendParameter

Set name of the channel at the specified index in the PC logging list.

HRESULT AppendParameter([in] BSTR name, [out, retval] BOOL *retval)

Deprecateduse AppendChannel. Channels were called ‘parameters’ in versions prior to 4.03.20.

List is automatically extended and setting an empty name removes the item.

Method: RemoveParameter

Set name of the channel at the specified index in the PC logging list.

HRESULT RemoveParameter([in] unsigned int index, [out, retval] BOOL *retval)

Deprecateduse RemoveChannel. Channels were called ‘parameters’ in versions prior to 4.03.20.

List is automatically extended and setting an empty name removes the item.

Method: GetParameterUpdateRateCode

Get the update rate of the channel at the specified index in the PC logging list.

HRESULT GetParameterUpdateRateCode([in] unsigned int index, [out, retval] int *rate)

Deprecateduse GetChannelUpdateRateCode. Channels were called ‘parameters’ in versions prior to 4.03.20.

Method: SetParameterUpdateRateCode

Set the update rate of the channel at the specified index in the PC logging list.

HRESULT SetParameterUpdateRateCode([in] unsigned int index, [in] int rate)

Deprecateduse SetChannelUpdateRateCode. Channels were called ‘parameters’ in versions prior to 4.03.20.

Note that the update rate is dependent upon the overall channel update rate and is relative to the fastest channel being updated.

Method: ClearParameterList

Remove all channel from the PC logging list.

HRESULT ClearParameterList()

Deprecateduse ClearChannelList. Channels were called ‘parameters’ in versions prior to 4.03.20.

Method: CreateExporter

Create a PC logging exporter.

HRESULT CreateExporter([in] BSTR filename, [out, retval] IGWv4PCLoggingExport **exporter)

Method: GetChannel

Get name of the channel at the specified index in the PC logging list.

HRESULT GetChannel([in] unsigned int index, [out, retval] BSTR *retval)

Method: SetChannel

Set name of the channel at the specified index in the PC logging list.

HRESULT SetChannel([in] unsigned int index, [in] BSTR name, [out, retval] BOOL *retval)

List is automatically extended and setting an empty name removes the item.

Method: AppendChannel

Set name of the channel at the specified index in the PC logging list.

HRESULT AppendChannel([in] BSTR name, [out, retval] BOOL *retval)

List is automatically extended and setting an empty name removes the item.

Method: RemoveChannel

Set name of the channel at the specified index in the PC logging list.

HRESULT RemoveChannel([in] unsigned int index, [out, retval] BOOL *retval)

List is automatically extended and setting an empty name removes the item.

Method: GetChannelUpdateRateCode

Get the update rate of the channel at the specified index in the PC logging list.

HRESULT GetChannelUpdateRateCode([in] unsigned int index, [out, retval] int *rate)

Method: SetChannelUpdateRateCode

Set the update rate of the channel at the specified index in the PC logging list.

HRESULT SetChannelUpdateRateCode([in] unsigned int index, [in] int rate)

Note that the update rate is dependent upon the overall channel update rate and is relative to the fastest channel being updated.

Method: ClearChannelList

Remove all channels from the PC logging list.

HRESULT ClearChannelList()