Hi Harry and Harvey,
I have been trying JAAMSIM (version 2016-15 and then 2016-16, windows and java jar) for a few weeks, and I think it is a GREAT tool, thank you for it.
I noticed that an INPUT ERROR appeared with the TEXT objects of my model when I tried version 2016-17 (and 2016-18).
I tried my model on version 2016-15 and 2016-16 and things went well. The model has several TEXT objects to show some values that are originated in ASSIGN objects.
The values are referenced using DATA SOURCE field in a TEXT object (some with a reference to a field, some with formulas with reference to a field)
It worked fine on version 2016-15 and 2016-16 but when I switched to 2016-17 (and 2016-18) the error was shown.
To isolate the cause of the error, I used a copy of 'InputValue Example.cfg' with minor changes (an ASSIGN object was added) and the error appeared.
Below I try to explain (a copy of the file is attached):
If there is a reference in DATA SOURCE field, the error is not shown:
Assign1 object:
ATRIBUTEDEFINITIONLIST: { LabelA 0 }
ATRIBUTEASSIGNMENTLIST: { 'this.LabelA = 1 ' }
Text1 object:
FORMAT field: 'Time between Arrivals = %.0f s'
UNITTYPE field: DimensionlessUnit
DATA SOURCE field: [Assign1].LabelA
Nonetheless, if there is a formula in DATA SOURCE, the error is not shown:
Text1_Copy1 object:
FORMAT field: 'Time between Arrivals = %.0f s'
DATA SOURCE field: '[Assign1].LabelA * 1'
Attached the cfg file.
When the same cfg file is run with JAAMSIM 2016-16, no error is shown. Maybe a bug?
Regards,
Gonzalo Castillo