ATI VISION software is used for testing real-time controllers. As a stimulation/measurement tool, it provides access to much of the software's internal state variables. This information is directly accessible to MxVDev, such that MxVDev can directly read and write to the internal software values. ATI Vision is often used in conjunction with HIL Testers, such as dSPACE or VeriStand, with the resulting issues caused by trying to coordinate the test data of the two test tools. The MxSuite's powerful test user interface offers coordinated access to the external I/O of the HIL tester and the internal software variables provided by ATI VISION.
Setting the Transform's Properties
1.In the Transform's Properties box , specify the A2L file by clicking on A2L File path property and browse to select the correct file. The A2L file should be placed in the project directory, so that the relative path is stored correctly.
2.Click the Pick signals property to bring up the form that you can use to select the subset of A2L file signals for the test.
3.Find all the signals to be used during testing and press the >> button to add them to the transform.
4.By default, Measurement signals are outputs (use DAQ or Poll (upload) to read from the slave device) and Characteristics are inputs (use download to write to the slave device). To change the data flow direction either double-click on the signal and change the data flow property in the signal information window, or press the Change Data Flow button on the bottom of the Signal Filter form.
5.Once done, click OK. The stimulus signals show up on the left (input) side of the Transform and the response signals show up on the right (output) side of the Transform.
6.Specify the following properties:
a.Vision Device Name: This property is required. It can be found in the ATI Vision configuration. In this example, the device name is PCM:
b.Vision Project File Path
c.Vision Screen Path
7.Export the signals from the Transform to be visible to the MxVDev Signal Dictionary.
The A2L file is used to select signals desired for the test. Signal information such as type, min, and max are used in MxVDev. The Signal Name is used to send and receive data to ATI Vision. Discrete and Continuous numeric Signals and Messages (text strings) are supported. Array signals are not supported.
State variables require precise Enumeration definition, otherwise issues can arise since the ATI Vision API deals with strings (labels) for enumerations instead of numerical values.
Actual values for response ports can be acquired one at a time using the API, or using the ATI recorder interface. The recorder offers a faster acquisition rate. To use, set Enable Recorder to True. Specify the recorder name, which should exist in selected Screen.
Specify the default acquisition rate in the Default Rate property. Transitions are timestamped with an internal time stamp provided by ATI vision.