CanEasy COM-Help
|
Inherits IDispatch.
The CAPL interface gives access to the CAPL converter.
You can configure the CAPL converter and start the compilation.
Definition at line 7515 of file cand_tlb.idl.
HRESULT CanEasy::ICAPL::ActivateCANFile | ( | [in] BSTR | file | ) |
Activates a CAN file.
Just activated CAN files are compiled
HRESULT CanEasy::ICAPL::AddCANFile | ( | [in] BSTR | file | ) |
Adds a new CAN file for compilation
HRESULT CanEasy::ICAPL::AddChannel | ( | [in] BSTR | file, |
[in] BSTR | channel | ||
) |
Adds a channel to a CAN file
file | CAN file |
channel | Name of database channel to assign |
HRESULT CanEasy::ICAPL::AddDll | ( | [in] BSTR | file | ) |
Adds a CAPL dll
HRESULT CanEasy::ICAPL::Compile | ( | [in] VARIANT_BOOL | boOverwrite, |
[out, retval] VARIANT_BOOL * | |||
) |
Starts compilation of all CAPL files
boOverwrite | True to overwrite already compiled nodes. False will just load already converted nodes. |
HRESULT CanEasy::ICAPL::DeactivateCANFile | ( | [in] BSTR | file | ) |
Deactivates a CAN file.
Just activated CAN files are compiled
HRESULT CanEasy::ICAPL::RemoveCANFile | ( | [in] BSTR | file | ) |
Removes a CAN file
HRESULT CanEasy::ICAPL::RemoveChannel | ( | [in] BSTR | file, |
[in] BSTR | channel | ||
) |
Removes a channel from a CAN file
file | CAN file |
channel | Name of database channel to remove |
HRESULT CanEasy::ICAPL::RemoveDll | ( | [in] BSTR | file | ) |
Removes a CAPL dll
HRESULT CanEasy::ICAPL::RunTest | ( | [in] BSTR | project, |
[out, retval] VARIANT_BOOL * | |||
) |
Runs the tests of a project.
The CAN file must export MainTest function.
project | Name of the project to start tests |
HRESULT CanEasy::ICAPL::SetConfigFile | ( | [in] BSTR | file | ) |
Sets the CFG file
file | CFG |
HRESULT CanEasy::ICAPL::SetExtendedErrOutput | ( | [in] VARIANT_BOOL | boActive | ) |
Activates/Deactivates extended error info.
Extended errors allow to detect file and line of error
HRESULT CanEasy::ICAPL::SetNodeName | ( | [in] BSTR | file, |
[in] BSTR | name | ||
) |
Set the node/ECU name of a CAN file
file | CAN file |
name | Node name |
HRESULT CanEasy::ICAPL::SetOutPath | ( | [in] BSTR | sPath | ) |
Sets the output path.
If path is empty (default) the compiled CAP files are placed in the same folder like the CAN files If path is set all CAPL files are placed in that folder
sPath | Path to folder to output compiled CAP files |