Method for testing control software of a control device
The invention relates to a method for testing control software of a control device, the control device providing data streams ( 12 ) for evaluation, said method having the steps of: —generating a first and a second tree structure for displaying the data streams ( 12 ) in a display region in a table-like arrangement ( 10 ) having a plurality of rows ( 14 ) and a plurality of columns ( 16 ), wherein—the first tree structure comprises a first multidimensional list, —the first multidimensional list comprises a plurality of row element lists, —the row element lists comprise a plurality of elements ( 20 ), —each element ( 20 ) can be linked in the row element list to a data stream ( 12 ), —the element ( 20 ) specifies the column ( 16 ) in which the data stream ( 12 ) to which the element ( 20 ) can be linked is displayed; wherein—the second tree structure comprises a second multidimensional list, —the second multidimensional list comprises a plurality of column element lists, —the column element lists comprise the plurality of elements ( 20 ), —the element ( 20 ) specifies the row ( 14 ) in which the data stream ( 12 ) to which the element ( 20 ) can be linked is displayed; and—displaying the data streams ( 12 ) on the basis of the first and second tree structures.
1. A method for generating multidimensional lists for facilitating tabular display of data streams relating to testing control software of a control device, the method comprising:
displaying a table having a plurality of rows and a plurality of columns, wherein the table has a plurality of cells, wherein each cell is located at an intersection between a respective row and a respective column, and wherein the displayed table includes multiple cells displaying information relating to respective data streams and at least one empty cell;
wherein to generate the displayed table, the method further comprises:
generating a first multidimensional list comprising a plurality of row element lists, including a first row element list corresponding to a first row of the table and a second row element list corresponding to a second row of the table; and
generating a second multidimensional list comprising a plurality of column element lists, including a first column element list corresponding to a first column of the table and a second column element list corresponding to a second column of the table;
wherein data stream information displayed in the first row of the table has one or more corresponding entries in the first row element list;
wherein data stream information displayed in the second row of the table has one or more corresponding entries in the second row element list;
wherein data stream information displayed in the first column of the table has one or more corresponding entries in the first column element list;
wherein data stream information displayed in the second column of the table has one or more corresponding entries in the second column element list; and
wherein empty cells in the first row, the second row, the first column, and/or the second column do not have corresponding entries in the first and second row element lists and the first and second column element lists.
2. The method according to claim 1 , wherein respective elements of the row element lists and the column element lists define via a link status with a respective data stream whether data of the respective data stream are transmitted by the control device.
3. The method according to claim 1 , wherein hiding a respective displayed data stream leads to deletion of a respective entry in a respective row element list and a respective entry in a respective column element list.
4. The method according to claim 1 , wherein:
a change in an arrangement of the data streams in the displayed table by a user leads to a change in the first first multidimensional list and/or the second multidimensional list; and/or
a change in the first first multidimensional list and/or the second multidimensional list leads to a change in the arrangement of data streams in the displayed table.
5. The method according to claim 1 , wherein respective elements of the row element lists and the column element lists define height and/or width of respective corresponding cells of the displayed table.
6. The method according to claim 1 , further comprising:
changing a height and/or a width of a cell of the displayed table.
7. The method according to claim 1 , further comprising:
changing a height of a cell in the first row of the displayed table to a future height, wherein changing the height comprises:
determining, via the first row element list, further entries in the first row element list;
requesting height requirements for the determined further entries;
comparing the requested height requirements of the determined further entries to the future height;
returning an adjusted future height based on the height requirements;
defining the height of the cell based on the returned adjusted future height; and
changing the height of all cells in the first row to the defined height.
8. The method according to claim 1 , further comprising:
changing a width of a cell in the first row of the displayed table to a future width, wherein changing the width comprises:
determining, via the first column element list, further entries in the first row element list;
requesting width requirements for the determined further entries;
comparing the width requirements of the determined further entries to the future width;
returning an adjusted future width based on the width requirements;
defining the width of the cell based on the returned adjusted future width; and
changing the width of all cells in the first column to the defined width.
9. The method according to claim 1 , wherein a further table is displayed within a respective cell of the displayed table, wherein the further table is generated based on a further first multidimensional list and a further second multidimensional list.
10. The method according to claim 1 , further comprising:
continuously transmitting data from the control device information relating to a plurality of data streams; and
updating, on the basis of the transmitted data, cells of the table corresponding to the plurality of data streams.
11. The method according to claim 1 , wherein the information displayed in the table is from measurement data instruments for real-time measurement data in hardware-in-the-loop applications.
12. The method according to claim 1 , further comprising:
transmitting data from the control device for a respective data stream for which information is displayed in the table.
13. The method according to claim 1 , further comprising:
interrupting data transmission from the control device for a respective data stream based on an entry corresponding to the respective data stream being deleted.
14. The method according to claim 1 , further comprising:
defining a height and/or a width for a respective cell of the table; and
displaying the respective cell with the defined height and/or the defined width.
15. The method according to claim 1 , further comprising:
displaying a further table having information of multiple data streams within a single respective cell of the displayed table.
16. A non-transitory computer-readable medium having processor-executable instructions stored thereon, wherein the processor-executable instructions, when executed, facilitate performance of a method for generating multidimensional lists for facilitating tabular display of data streams relating to testing control software of a control device, the method comprising:
displaying a table having a plurality of rows and a plurality of columns, wherein the table has a plurality of cells, wherein each cell is located at an intersection between a respective row and a respective column, wherein each cell either displays information relating to one or more respective data streams or is an empty cell, and wherein the displayed table includes multiple cells displaying information relating to respective data streams and at least one empty cell;
wherein to generate the displayed table, the method further comprises:
generating a first multidimensional list comprising a plurality of row element lists, including a first row element list corresponding to a first row of the table and a second row element list corresponding to a second row of the table; and
generating a second multidimensional list comprising a plurality of column element lists, including a first column element list corresponding to a first column of the table and a second column element list corresponding to a second column of the table;
wherein data stream information displayed in the first row of the table has one or more corresponding entries in the first row element list;
wherein data stream information displayed in the second row of the table has one or more corresponding entries in the second row element list;
wherein data stream information displayed in the first column of the table has one or more corresponding entries in the first column element list;
wherein data stream information displayed in the second column of the table has one or more corresponding entries in the second column element list; and
wherein empty cells in the first row, the second row, the first column, and/or the second column do not have corresponding entries in the first and second row element lists and the first and second column element lists.