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. 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.
3. 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!
4. 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.
5. Press OK to start saving. Note that whenever the interface is visible values are NOT
written to the specified file so you need to press OK before the variables
will be written.
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
| Write_Variables Related Forum Posts | Last post | Posts | Views |
Let RR close itself
Hi all,
I have a .robo file which reads input.bmp, detects shapes and then generates the SHAPES var... |
1 month |
3 |
437 |
Rounding Problem
Hello,
There seems to be rounding issues when trying to write or read variables. The inc... |
3 years |
3 |
781 |
|