Important New Report Tokens Added for Calculated Lengths- Previous versions of VTube report tokens for inserting cut lengths into reports were ambiguous when elongation compensation was included in the values.
- This is a problem when comparing a pre-bending cut length with the measured tube's length.
- The bent-measured length could be reported as the bent-measured length with elongation compensation - which is not logical.
- To clear this ambiguity, VTube now has six new tokens - each with the word "with_elong" or "without_elong" at the end.
| calclengthmaster_with_elong calclengthmaster_without_elong calclengthmeasured_with_elong calclengthmeasured_without_elong calclengthmastermeasureddelta_with_elong calclengthmastermeasureddelta_without_elong
Use the new tokens inside report templates like this: <tr> <td class="td_spec_name">Calculated Master Length:</td> <td class="td_spec_value"><vtube_val>calclengthmaster_without_elong</vtube_val></td> </tr>
<tr> <td class="td_spec_name">Calculated Measured Length:</td> <td class="td_spec_value"><vtube_val>calclengthmeasured_without_elong</vtube_val></td> </tr>
<tr> <td class="td_spec_name">Calculated Master-Measured Delta:</td> <td class="td_spec_value"><vtube_val>calclengthmastermeasureddelta_without_elong</vtube_val></td> </tr> |
A new "calctubeelongationpercentage_cutlength_measuredlength" report token is added to the report engine- This token will report a calculated elongation percentage based on the CUT LENGTH minus the MEASURED TUBE LENGTH.
| calctubeelongationpercentage_cutlength_measuredlength Use it like this in report templates:<tr> <td class="td_spec_name">Elongation Percentage:</td> <td class="td_spec_value"><vtube_val>calctubeelongationpercentage_cutlength_measuredlength</vtube_val></td> </tr> |
A new report template has been added to the VTube installation: Tube Lengths. | |
Installation Update Note- Please note that the "calclengthmaster" token (without the "elong" word) is removed from the logic of VTube's report engine to avoid this ambiguity moving forward.
- If you use this token in one of your report templates, it is important to replace it with either the "calclengthmaster_without_elongation" or "calclengthmaster_with_elongation" token in the source code of the report template.
- If you need help with this modification, please send a request to support@advancedtubular.com. We will be happy to help.
| <tr> <td class="td_spec_name">Calculated Master Length:</td> <td class="td_spec_value"><vtube_val>calclengthmaster</vtube_val></td> </tr>
changes to
<tr> <td class="td_spec_name">Calculated Master Length:</td> <td class="td_spec_value"><vtube_val>calclengthmaster_without_elong</vtube_val></td> </tr>
|