TestDataGeneratorBlock Editor-TestData Editor/en

The generic data editor is used to set the values generated by a test data generator block. It can be found on the "Data" tab after selecting a test data generator in the navigation tree.
To the right, you see an example for some data in the editor.
Buttons
- Datei:Icon Open External CSV Editor.png Open an external CSV Editor application (specified in the ""External Tools"" settings.
Add a new entry to the data list- Datei:Icon Add Multiple Data.png Add multiple new entries to the data list
Remove the selected entry in the data list
Change the order of the datasequence (move the selected row)
Usage
The editor is separated into at least two columns. The first one contains the number of the entry and the second one contains the delay for the entry. The other columns contain data for each output pin. The data columns are filled with datatype specific values and should be filled in as required. Additional columns will be shown, if more output pins are defined in the schema page. Please note that the list will be sorted according to the time delay.
When the block is invoked during an execution, it will send the data from the list to its output pins after the specified delay. The block in the example above would start immediately by sending the string 'One' to its output pin. Then, after a delay of one second it would send the string 'Two', after two seconds 'Three' and so on.
Importing Existing Data Sets from a CSV File
Click on the ""Open External CSV Editor"" icon. This opens an editor application as defined in the "External Tools"" settings dialog. We recommend, to set this to a CSV-capable editor, such as excel or ocalc (from the OpenOffice suite). There, load or fill in the rows, save and close the application. If you do not have a CSV-editor installed, specify an ordinary text editor in the settings (vi, emacs, notpad or notepad+), edit the file as above, and paste the CSV rows as text. Then save and finish the editor.
See Also
As an alternative to a test data generator block, you can also use an attachment containing CSV data records and feed that data into a CSV-reader block (found in the standard library). The contents of a CSV attachment can be edited with a spreadsheet application (Excel or Staroffice) or a text editor (notepad), which is often more convenient to use (but may take longer to start up).
For other editors see: Editors
The full online documentation can be found under: Online Documentation