daqIDEA

Previous Next

Table of Contents

1        Introduction        1

2        Installation        2

3        Using daqIDEA        2

3.1        Launching        2

3.2        Introduction        2

3.3        Application execution control        3

3.4        Variable configuration        4

3.5        Controlling data acquisition        4

3.6        Inspecting the acquired data        5

3.6.1        Charts        5

3.6.2        Data table        6

3.7        Exporting acquired data        6

3.8        Sampling rates        7

3.9        Reaching maximum sampling rate        7

3.10        Help        8


41Introduction

This document describes daqIDEA, the iSystem tool for graphic presentation of large data sets acquired through winIDEA. daqIDEA stands for Data AcQuisition IDEA.

42Installation

daqIDEA is a part of standard winIDEA installation.


NOTE: In case you are using iC3000 you should make sure that the firmware version is 6/7/2012 or newer. If the firmware is too old you won’t get any data samples.


43Using daqIDEA

43.1Launching

daqIDEA is launched form winIDEA environment. Select Test/Launch daqIDEA.

Note: when launched for the first time, a warning about a missing configuration file occurs. This configuration file is created by daqIDEA and contains names of variables and other settings from the previous session.

43.2Introduction

daqIDEA is a simple but effective tool for graphical presentation of large data sets. It displays values for different variables as a 2D chart and as a table of numeric values.

The data acquired can be exported to a file and the variable configuration can be saved into a configuration file. Charts can be closely inspected by zooming and stretching and if left alone the maximum amount of latest data will be displayed.


43.3Application execution control

In order to prevent constant switching between daqIDEA and winIDEA simple application control is possible using three buttons present in the top right corner.



Download (F5) – Downloads the executable file specified in the winIDEA workspace to the target.

Run (F6) – Starts/Resumes the application execution on the target.

Stop (F7) – Stops the application execution on the target.

To the right of the stop button we have the current application running status.

43.4Variable configuration

In order to acquire and display data we have to specify some variables and variable parameters inside of the Variable Settings table. By clicking on the Add Variable button we can add a new variable and by clicking on the delete button to its right we can remove it. If we wish to temporarily disable it we can uncheck the combo box on the left side of the variable configuration. By selecting the 0x variable we can set a desired memory address to be read as an integer variable.

We can set data sampling interval for each variable to one of four values: 1 second, 100, 10 or 1 millisecond or maximum possible acquisition speed (this is dependent on the speed of the target processor and other system parameters of course).

How the data is displayed inside of the chart is specified by the scale factor and the color. The scale factor enables us to display multiple variables that have exponentially different values. The possible scales are the powers of ten between 1e-9 to 1e+9 and their negative values. Colors are selected using the color picker dialog that pops up by clicking on the variables color button. Every new variable is assigned a default color from a set of 7 predefined colors.

The chart parameter is used to group together variables into multiple graphs for easier comparison and minimizing clutter if we have too many of them.

The Format parameter is used to specify how the data is displayed inside of the Data Table. Possible formats are decimal, hexadecimal and binary for integer variables while for floating point variables we have the option of regular and scientific format.

Variable configuration can be saved into a configuration file and later loaded if required. This is done through the menu Configuration/Save Configuration and Configuration/Open Configuration.



43.5Controlling data acquisition

While the upper three buttons control the execution of the actual application running on the target system the three buttons below the variable configuration table are used to control the data acquisition.

Start/Resume (F9) - Starts the data acquisition of the variables specified in the variable configuration table. If we have an invalid variable name a warning will be displayed below the table and the acquisition process will not proceed.

Pause (F10) - This does no actually stop the data acquisition as the process is continued in the background. The purpose of pausing is to be able to observe the already acquired data displayed on the chart. The chart animation can be resumed by clicking the Start/Resume button again

Stop (F11) – Stops the data acquisition. By clicking the Start/Resume button the already acquired data is lost and the whole process is restarted.



43.6Inspecting the acquired data

Data acquired through the DAQ process can be inspected through the chart(s) or the data table.

43.6.1Charts

Charts are used in daqIDEA to graphically present data acquired from the target hardware. Each dot on the chart represents one acquired data sample.

We have already mentioned the possibility to put different variables into separate charts and also scaling the data of specific variables so as to make the data more readable.

We can also very simply scale and move the charts to see desired details using the mouse:

By left-clicking on one of the charts and dragging it we can move it.

By right-clicking on one of the charts and dragging we draw an area we wish to see more closely. This also changes the aspect ratio which can help us see data more clearly if we have very high density in just one dimension as seen below.

We can also zoom in and out by using the mouse wheel. While scrolling we zoom in/out into the current location of the mouse cursor. If the data acquisition is not paused or stopped then scrolling the mouse only zooms the time (x) axis.

43.6.2Data table

The data table in the lower right corner is used do get precise data values when required. Every column represents one variable and the first column is the time of the acquired data sample. Every row represents the last acquired sample value.



43.7Exporting acquired data

Data acquired can be exported into a file of three different formats: Excel, CSV or plain text file. This option can be found under menu File/Export Data


43.8Sampling rates

This document describes data acquisition (daq) properties/limitations as maximum sampling rate and real time access impact on various target/emulator combinations.

Compared to DAQ, regular evaluation loop, written using isystem.connect API, for one variable on MPC5566 + iC5000, takes 1.9 mili seconds (average value for five iterations).

Index

CPU frequency

[MHz]

JTAG scan speed

Target/Emulator

Max. sampling rate [micro seconds]

1 variable

10 variables

1

128

Fast

MPC5566/iC5000

142

1234

2

64

Fast

MPC5607B/iC5000

150

1241

3

64

Fast

STM32F103/iC5000

208

1561

4

64

Fast

MPC5646C_B3M/ActiveGT POD

178

1533

5


/

78K0R_uPD78F1807/iC5000

19188

191631

6


/

V850Fx4 (uPD70F4010)/iC5000

300

2745

7

80

/

MC9S12XDP512/iC5000

577

5542

8

60

/

MC9S12ZVM64/iC5000 (BDM)

1177

12474

9

90

Slow (2MHz)

TriCore TC1797/iC5000

135

1059

10


Slow (2MHz)

XC2000ED/iC3000HS

126

967


Test environment:

iC5000 SN=61445, iC3000 SN=34058, winIDEA: 9.12.122, communication type: USB

43.9Reaching maximum sampling rate

Note that daqIDEA sampling is only performed when no other communication is happening between the emulator and the PC on which winIDEA is running in order not to interfere with normal debug operation. For maximum daqIDEA sampling rate, all real-time debug windows (memory, watches, variables, trace, OS plug-ins…) within winIDEA should be closed.

When disabled winIDEA will only poll for CPU status (run, stop, halted) a few times per second, which results in minimal traffic between winIDEA and the emulator, resulting in a maximum possible daqIDEA sampling frequency.


43.10Help

For detailed help and user tips, open Help / User Guide from daqIDEA.

































iSYSTEM may change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information herein.

© iSYSTEM. All rights reserved.