Trees | Indices | Help |
|
---|
|
Interfaces.Platform.IPlatform.IPlatform --+ | Interfaces.Platform.IPlatform.IPlant --+ | Concurrent
This is the over-arching class for all CCUR SimWB ASAM AE HIL target platforms. The ASAM MAPort, with respect to SimWB, has an inherent problem in that the target must already be running a test when the MAPort is created. But SimWB requires that logging be configured prior to test start. It is the SimWB logger that is leveredged for MAPort data captures. This and other reasons necessitated the creation of this encompassing class. NOTE: * most methods require a 'sharedDictionary' argument. This is unused by SimWB, and defaults to None. * the optional 'local_dictionary' argument to the Platform object is required by SimWB. * Importing this module automatically enables ASAM function logging. The log file Concurrent.log will be created in the current working directory.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Static Methods | |||
|
Class Variables | |
platform_id =
|
|
platform_name =
|
|
platform_type =
|
|
Inherited from |
Method Details |
|
Returns the ASAM library path where the owning implementation is located.
|
Given a variable name in 'path', return the path or variable name appropriate for a SimWB target. This path can be a parameter, signal or RTDB name. If a TRC or ABS file is detected upon platform initialization, then the path may also be a name defined by one of these files (this method is specific to Ford implementations and requires additional module support). SimWB does not differentiate between calibratables and measurements. If a path can't be resolved, or is ambiguous, an exception is raised. The path may be a string, or a list of strings. If a list then a list will be returned.
|
See 'get_path_calibratable()'. The return is somewhat different in that a ConcurrentSignalInformation object is returned. A bad lookup will not result in an object (i.e a None is returned).
|
See 'get_path_calibratable()'.
|
See 'get_path_calibratable_abstrct()'.
|
Returns the SimWB simulation time.
|
Return an instance of a SimWB Electric Error Simulation Port (EESPort).
|
Return an instance of a SimWB Model Access Port (MAPort).
|
Unimplimented
|
Run the configured test on the target. This method waits until the target indicates the test is running. A start_platform() must have previously been executed. |
Pauses the running test. Pausing a paused test is okay.
|
Close all MAPorts, stop the test and disconnect from the host. A start_platform() must have previously been executed.
|
Stop the test. This method waits until the target indicates the test is stopped. Stopping a stopped test is okay.
|
Configure the ASAM target for a SimWB test. Extracts the target information via the simwbClient.getTarget() routine. Connects to the target. Validates the SimWB test configuration is appropriate for ASAM. Gathers local configuration information and reconfigures SimWB for subsequent operations. Part of the configuration information SimWB needs to know is exactly which parameters will be captured during ASAM operations. This information can be defined two ways: configFile: This is an XML file to be scanned for variable names (and other XML file references) interestList: This is a simple list of variable names. Variable names are assumed to be Simulink parameter or signal names. Regular SimWB RTDB variable names may also be used. This function now executes a load_model() before returning. For backwards compatibility, subsequent load_model() invocations will not do anything. NOTE: * Both configFile and interestList may be used.
|
Resumes a paused test. Resuming a running test is okay.
|
Trees | Indices | Help |
|
---|
(c) Concurrent Real-Time | http://www.concurrent-rt.com |