isys1

The iSystem Onchip Analyzer Transform provides an interface to the iC5000 On-chip Analyzer. This Transform is useful for PIL /HIL.

Prerequisites

To use this transform, winIDEA must be installed on the PC.

 

Set the Transform's Properties

In MxTransIt, click on the Transform to display its Properties box:

isys2

Set the following properties:

MxD File Path:

Browse to the MxVDev signal dictionary file (with extension .mxd). For the iSystem Onchip Analyzer Transform, the signal dictionary file should be procured from the SIL testing project. Before the signal dictionary file can be used with this Transform, it must be modified as described in Mapping the C Variables with Signals.

Pick Signals:

Click the property to open the Signal Filter window for selecting Signals. You can also select Signals which are not available in signal dictionary file. The Signal list is populated by scanning the target for available global variables in target code. You can configure the picked signal as either an Inport or an Outport by clicking on Change Data Flow button:

 

isys3

 

Tick Period (Seconds):

Specify the rate at which the variables from the Transform are written to the target and also how often the outputs are updated in TestCases.

Executable File Path:

Select the binary file or the executable generated from the code under test using WinIDEA. The executable file must be loaded into the target associated with the iSystem Onchip Analyzer prior to the start of TestCase execution.

Workspace Path:

Select the required winIDEA workspace. If the property is left blank it uses the default work space for winIDEA.

Re–Read Mxd:

Click on Re-Read Mxd verb to read the .mxd file and re-populate the ports on the Transform. This is helpful if the mxd is modified after it was selected in Signal Dictionary Path property.

 

iSystem Onchip Analyzer Transform after Properties set

iSystem Onchip Analyzer Transform after Properties set

 

Set Port Properties

Set the port properties on the output ports.

To open the Edit Multiple Ports dialog, right-click on the Transform, then select Edit Multiple Ports.

 

isys5

 

Sampling Rate:

Use this property to specify the sampling rate of each outport available for monitoring. The Transform sets the DAQ sampling rate for the C variables corresponding to the ports to the specified sampling rate.

Mapping the C Variables to Signals

Use this procedure to modify the signal dictionary to be used with the Transform:

1.Open the SIL project.

2.Select Project->Signal Dictionary to open the Signal Dictionary.

3.Select a Signal.

4.Click the Edit button.

5.Select the Data Routing (Standard) tab.

6.Enter the C variable name corresponding to the Port. The variable name is in the AppIF.c  file, where ports are defined in 'C' Variable Name field .

For example, for the Port/ Signal Battery_Voltage the code in AppIF.c would be something like this:

 

{"Battery_Voltage",  &AnalogIN1,    IP_SIG,  MMBYTE,   0,     0,  255,  0,    MMNULL,     MMNULL,     0,     UNSIGNED},

For the signal Battery_Voltage, the corresponding C variable is AnalogIN1.

 

isys6