visual3d:documentation:pipeline:other_commands:create_text_data
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:other_commands:create_text_data [2024/07/03 17:29] – removed sgranger | visual3d:documentation:pipeline:other_commands:create_text_data [2024/07/17 15:46] (current) – created sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Create Text Data ====== | ||
+ | |||
+ | ===== Command ===== | ||
+ | |||
+ | Create a signal that contains text instead of a number. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Create_Text_Data | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | **;** | ||
+ | It is possible to specify **EITHER** TEXT_DATA or TEXT_FILE_NAME but not both. | ||
+ | / | ||
+ | \\ | ||
+ | |||
+ | |||
+ | if / | ||
+ | and the text box and filename edit box are empty | ||
+ | the user is prompted for input. | ||
+ | {{: | ||
+ | |||
+ | Example: Given the dialog | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The resulting signal in the workspace is: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===== Syntax Issue ===== | ||
+ | |||
+ | Consider the following: | ||
+ | |||
+ | / | ||
+ | A forward slash (/) is a special character for pipeline commands that indicates that a parameter_name follows immediately afterwards. | ||
+ | If an equals sign (=) follows Visual3D confirms that a parameter was specified. | ||
+ | Two equals signs (==), however, does confirm that a parameter was specified. | ||
+ | Visual3D searches for an equals sign after each slash because this logically indicates that the user has specified a parameter. | ||
+ | Text_Data is assigned the string 08/09 | ||
+ | Visual3D finds an equals sign after the next slash, so interprets the rest of the string as a new parameter | ||
+ | /2017 by MJT using Modify_Speed_Metric_Ver01 Speed = 0.4 | ||
+ | It doesn' | ||
+ | Solution | ||
+ | remove the = sign | ||
+ | / | ||
+ | or specify two equals signs | ||
+ | / | ||
+ | |||
visual3d/documentation/pipeline/other_commands/create_text_data.1720027772.txt.gz · Last modified: 2024/07/03 17:29 by sgranger