Issue
When using a DT_TO_STRING block, it returns a 'Character string fault' in the Diagnostic Viewer.
Product line
Unity Pro, Control Expert
Resolution
This is normally caused by assigning a variable of type 'string' to the OUT pin of the DT_TO_STRING. The OUT pin is actually 20 characters long and the type 'string' is 16. Changing the variable type from 'string' to 'string[20]' will eliminate the error. To change the type, simply call up the variable in the Data Editor and add [20] after the word 'string' in the Type column.
When using a DT_TO_STRING block, it returns a 'Character string fault' in the Diagnostic Viewer.
Product line
Unity Pro, Control Expert
Resolution
This is normally caused by assigning a variable of type 'string' to the OUT pin of the DT_TO_STRING. The OUT pin is actually 20 characters long and the type 'string' is 16. Changing the variable type from 'string' to 'string[20]' will eliminate the error. To change the type, simply call up the variable in the Data Editor and add [20] after the word 'string' in the Type column.