loading

Write Variables

This module provides an interface to write RoboRealm variables to disk. The interface allows the selection of the variables that will be saved. Note that the order specified in the interface will be the order saved on disk.

This is the simplest way to export variables from RoboRealm. For more advanced, efficient and interactive methods see the Plugins documentation.

Interface

Instructions

1. Available Variables - Select the variables that you want to save. The left list shows all the current RoboRealm variables available to save given the current processing pipeline. Use the arrows (or doubleclick on a variable) to move it to the 'save variables' list. Use the up/down arrows to reorder that list.

2. Clipboard - If you want to write the values to the Windows Clipboard select this radio button. Note that you can test this by pasting into a text editor to see the values RoboRealm is placing into the Clipboard. Be aware, this overwrites any existing text in the clipboard. Variables are written as name value pairs with each on its own line. Thus you can use a newline (vbLF or \n) to break the text string into individual parts.

3. Filename - Specify which filename you would like the variable values to be saved to. Be sure to have created any needed directories/folders along the filename specification otherwise the module will NOT be able to update the file.

4. File Type - If you chose a text file select if you'd like the variable values to be appended to the end of the file. If chose append you should be ready for the file to become really large really quickly!

5. Text File Options - Specify the appropriate row, colom and text delimiters. The text delimiter are used when a variable containing a text value (non-numerical) is saved. You can also type in characters to use as delimiters. Using the default delimiters will allow you to load the file directly into Excel or other spreadsheet programs.

You can chose to append data to a single file (but erase the file between runs) or just overwrite the entire file out each time the frame is processed.

Note that when reading the saved file you will need to check for the end of row delimiter (text file) or the </ROBOREALM> tag (xml file) to ensure that you have read a complete file. Due to the speed of the writing (once per frame) you are not assured that reads are atomic. RoboRealm is configured to write data in one write to help reduce this issue.

See Also


Write Images
Plugins

 New Post 

Write_Variables Related Forum PostsLast postPostsViews
write variables csv format
I generated some blobs in geometric statistics module, then I used the write variables module with settings in attached jpg (CRL...
1 year 2 355
Help required in getting variables data
Dear Stevens, Good morning, I want to track x,y coordinates of a movin...
1 year 2 454
WaitVariable - how to use it
I wrote an application in Delphi. Application utilize Robo-Realm (see attached RRTest.Pas procedure) to analyze image (Temporary...
2 years 15 1113
save data to file
hi, I am new to here. I need to know how to save data in file. file will be .txt or .xls. as exampl...
2 years 2 752
Write_Variables, changing Filename
Hi STeven, when I change the name of the destination filename then I will get a new file for every ...
4 years 2 956
Writing to Clipboard
Is it possible to write a variable value to the clipboard? It would seem that this might be a simple way to pass data to a Visua...
4 years 4 1065
writing order of X,Y coordnates in excel
Hello, I am conducting research with RR, and it works great. However when RR writes variables from my tracked blob...
4 years 2 1060
tracking ball- outputing positional data
Hi Id like to be able to output the x,y positional coordinates for tracking an object, eg green bal...
4 years 2 1250
Let RR close itself
Hi all, I have a .robo file which reads input.bmp, detects shapes and then generates the SHAPES var...
6 years 3 1672
Rounding Problem
Hello, There seems to be rounding issues when trying to write or read variables.  The inc...
8 years 3 1827