CanEasy COM-Help
|
Inherits IDispatch.
Application interface which allows to access CanEasy functions like Database.
Created in another process allows to integrate CanEasy into another process.
Definition at line 7635 of file cand_tlb.idl.
HRESULT CanEasy::ICanEasyApplication::CalculateKey | ( | [in] BSTR | dll, |
[in] long | secLevel, | ||
[in] BSTR | variant, | ||
[in] VARIANT | seed, | ||
[out, retval] VARIANT * | |||
) |
Calls a security library to calculate a key for a passed seed (GenerateKeyEx)
dll | Path to library |
secLevel | Security level |
variant | Variant |
seed | Seed |
HRESULT CanEasy::ICanEasyApplication::CalculateKeyOpt | ( | [in] BSTR | dll, |
[in] long | secLevel, | ||
[in] BSTR | variant, | ||
[in] BSTR | option, | ||
[in] VARIANT | seed, | ||
[out, retval] VARIANT * | |||
) |
Calls a security library to calculate a key for a passed seed (GenerateKeyExOpt)
dll | Path to dll library |
secLevel | Security level |
variant | Variant |
option | Option |
seed | Seed |
HRESULT CanEasy::ICanEasyApplication::CreateCaptureTimer | ( | [out, retval] ICaptureTimer ** | pItem | ) |
Creates a new capture timer
HRESULT CanEasy::ICanEasyApplication::CreateCompareTimer | ( | [out, retval] ICompareTimer ** | pItem | ) |
Creates a new compare timer
HRESULT CanEasy::ICanEasyApplication::CreateDatabaseItem | ( | [out, retval] IDatabaseItemBase ** | ppItem | ) |
Creates a DatabaseItem object that can be attached to any database item.
HRESULT CanEasy::ICanEasyApplication::CreateObjectFilter | ( | [out, retval] IObjectFilter ** | ppFilter | ) |
Creates an object to filter/search database items
HRESULT CanEasy::ICanEasyApplication::CreatePreCopy | ( | [out, retval] IPreCopy ** | ppItem | ) |
Creates an object to handle PreCopy events
HRESULT CanEasy::ICanEasyApplication::CreatePreTransmit | ( | [out, retval] IPreTransmit ** | ppItem | ) |
Creates an object to handle PreTransmit events
HRESULT CanEasy::ICanEasyApplication::CreateRxConfirm | ( | [out, retval] IRxConfirm ** | ppItem | ) |
Deprecated: Creates a new RxConfirm event.
Use TransmissionEvent instead
HRESULT CanEasy::ICanEasyApplication::CreateSelection | ( | [out, retval] ISelection ** | ppItem | ) |
Creates a new selection which can contain database items
HRESULT CanEasy::ICanEasyApplication::CreateSerialPort | ( | [out, retval] ISerialPort ** | pVal | ) |
Creates a serial port to read write data to a serial port
HRESULT CanEasy::ICanEasyApplication::CreateTimerControl | ( | [out, retval] ITimerControl ** | ppItem | ) |
Creates a timer control
HRESULT CanEasy::ICanEasyApplication::CreateTxConfirm | ( | [out, retval] ITxConfirm ** | ppItem | ) |
Deprecated: Creates a new TxConfirm event.
Use TransmissionEvent instead
HRESULT CanEasy::ICanEasyApplication::CreateWorkspaceModule | ( | [in] BSTR | sModuleName, |
[out, retval] IWorkspaceModule ** | |||
) |
Creates a workspace module.
Allows to read/write data into the CanEasy workspace
sModuleName | Unique name of the module section |
HRESULT CanEasy::ICanEasyApplication::DeInit | ( | ) |
HRESULT CanEasy::ICanEasyApplication::Flash | ( | [in] BSTR | sProps, |
[out, retval] long * | |||
) |
Starts the flashing process for ISO-80126
sProps | Parameters passed to the flasher |
HRESULT CanEasy::ICanEasyApplication::GetAbsFilePath | ( | [in] BSTR | sAbsPath, |
[in] BSTR | sRelPath, | ||
[out, retval] BSTR * | |||
) |
Returns a path relative to an absolute path
sAbsPath | Absolute path |
sRelPath | Relative path |
HRESULT CanEasy::ICanEasyApplication::Init | ( | ) |
HRESULT CanEasy::ICanEasyApplication::IsExtendedId | ( | [in] long | lMsgId, |
[out, retval] VARIANT_BOOL * | |||
) |
Check whether the CAN identifier is extended
lMsgId | CAN identifier |
HRESULT CanEasy::ICanEasyApplication::LoadWorkspace | ( | [in] BSTR | sFile | ) |
Loads a workspace.
Should only be called if CanEasy is remote controlled Do not call this function from VBA, VSTA or MultiStudio context!
HRESULT CanEasy::ICanEasyApplication::MakeExtendedId | ( | [in] long | lMsgId, |
[out, retval] long * | |||
) |
Sets the extended bit to a CAN identifier
lMsgId | CAN identifier |
HRESULT CanEasy::ICanEasyApplication::MakeReport | ( | [in] BSTR | sReportText, |
[in] enum ReportType | enType | ||
) |
Makes a report into the report window
sReportText | Text to report |
enType | Type of report (info, warning, error) |
HRESULT CanEasy::ICanEasyApplication::MakeStandardId | ( | [in] long | lMsgId, |
[out, retval] long * | |||
) |
Removes the extended bit from a CAN identifier
lMsgId | CAN identifier |
HRESULT CanEasy::ICanEasyApplication::NewWorkspace | ( | ) |
HRESULT CanEasy::ICanEasyApplication::Quit | ( | ) |
HRESULT CanEasy::ICanEasyApplication::ReadPort | ( | [in] long | lAddr, |
[out, retval] long * | pVal | ||
) |
Deprecated: Reads data from a port address.
This is not allowed any more on Windows 10
HRESULT CanEasy::ICanEasyApplication::ReadSetting | ( | [in] BSTR | sName, |
[in] VARIANT_BOOL | iniFile, | ||
[out, retval] BSTR * | |||
) |
Reads a CanEasy setting by name
sName | Name of the setting |
iniFile | True to read setting from INI file |
HRESULT CanEasy::ICanEasyApplication::RegisterExtension | ( | [in] BSTR | sID, |
[in] IExtension * | iExtension | ||
) |
Registers an extension.
Extension can add functions a global, bus, node, message and signal layer
sID | Identifier of the extension |
iExtension | Pointer the extension |
HRESULT CanEasy::ICanEasyApplication::SaveWorkspace | ( | [in] BSTR | sFile | ) |
Saves the workspace
sFile | Complete path of CSM file to save workspace |
HRESULT CanEasy::ICanEasyApplication::ShowDisclaimer | ( | [out, retval] VARIANT_BOOL * | pVal | ) |
HRESULT CanEasy::ICanEasyApplication::Sleep | ( | [in] long | nPeriod | ) |
Sleeps some time in milliseconds.
During the sleep events are still processed
HRESULT CanEasy::ICanEasyApplication::Start | ( | ) |
HRESULT CanEasy::ICanEasyApplication::StartSimulation | ( | ) |
Starts the simulation.
Starting the simulation initializes the connected hardware adapter and starts sending receiving messages
HRESULT CanEasy::ICanEasyApplication::StopSimulation | ( | ) |
Stops the simulation
HRESULT CanEasy::ICanEasyApplication::Transmit | ( | [in] IDatabaseItem * | pItem | ) |
Transmits a database item
pItem | Database item to transmit (e.g. message, service) |
HRESULT CanEasy::ICanEasyApplication::TransmitStringData | ( | [in] BSTR | sRef, |
[in] BSTR | data, | ||
[out, retval] BSTR * | |||
) |
Transmits a data by string ref
sRef | Database string reference (path) to be used for transmission (e.g. diag-config for services) |
data | String of byte array to be transmitted |
HRESULT CanEasy::ICanEasyApplication::UnregisterExtension | ( | [in] BSTR | sID | ) |
Unregisters an extension
sID | Identifier of the extension |
HRESULT CanEasy::ICanEasyApplication::WritePort | ( | [in] long | lAddr, |
[in] long | lVal | ||
) |
Deprecated: Writes data to a port address.
This is not allowed any more on Windows 10
HRESULT CanEasy::ICanEasyApplication::WriteSetting | ( | [in] BSTR | sName, |
[in] VARIANT_BOOL | iniFile, | ||
[in] BSTR | sVal | ||
) |
Changes a CanEasy setting by name
sName | Name of the setting |
iniFile | True to write setting into INI file |
sVal | Value to set |
|
get |
Return this application object
|
get |
Returns a pointer to the application window.
Can be used to show hide the CanEasy main window
|
get |
Return interface to the CANoe panels.
|
get |
Returns a pointer the ICAPL interface.
Allows to compile CAN files
|
get |
Returns global an extension
sID | Identifier of the extension |
|
get |
Returns a string array available hardware names
|
get |
Returns pointer to license interface
|
get |
Returns to global record which allows to analyze the recording
|
getset |
Activates/Deactivates recursive events (active by default)
|
get |
Returns pointer to replay collection
|
get |
Returns collection of all report windows
|
getset |
Activates/Deactivates all CanEasy windows
|
get |
Returns the Simulation object.
It can be used to get events for simulation start/stop
|
get |
Returns True if simulation is running
|
get |
Returns pointer to CanEasy tree interface
|
get |
Deprecated: Returns the database to get access environment variables.
Use Database.GetObjectByStringRef to get variable references
|
get |
Return interface to VBA
|
getset |
Converts data types to be compatible with VBA
|
get |
Returns current CanEasy version
|
get |
Returns a collection to all virtual channels.
VirtualChannel can be used to connect database channels with a hardware channel
|
get |
Returns the current file name of the workspace (csm file)
|
get |
Returns the current path of the workspace (csm file)