Difference between revisions of "TUFLOW Message 5058"

From Tuflow
Jump to navigation Jump to search
 
Line 3: Line 3:
 
|alt_msg=NA
 
|alt_msg=NA
 
|type=[[ERROR]]
 
|type=[[ERROR]]
|message_desc=Devices are defined in blocks that start with "<tt><font color="blue">Device </font><font color="red">==</font> [name]</tt>" and close with "<tt><font color="blue">End Device</font></tt>". Cannot define a new device within another device block. For example, the following is <u>'''not'''</u> allowed:<br>
+
|message_desc=Devices are defined in blocks that start with "<tt><font color="blue">Device </font><font color="red">==</font> <name></tt>" and close with "<tt><font color="blue">End Device</font></tt>". Cannot define a new device within another device block. For example, the following is <u>'''not'''</u> allowed:<br>
 
:<tt><font color="blue">Device </font><font color="red">==</font> Device1</tt>
 
:<tt><font color="blue">Device </font><font color="red">==</font> Device1</tt>
 
::: <tt>... Treatment Parameterisation Properties ...</tt>
 
::: <tt>... Treatment Parameterisation Properties ...</tt>

Latest revision as of 11:29, 14 April 2025

TUFLOW Message
ERROR 5058 - Cannot define a new "Device" within another "Device" block. Line "<>"

Alternate Message
NA

Message Type
ERROR

Description
Devices are defined in blocks that start with "Device == <name>" and close with "End Device". Cannot define a new device within another device block. For example, the following is not allowed:

Device == Device1
... Treatment Parameterisation Properties ...
Device == Device2
... Treatment Parameterisation Properties ...
End Device
End Device

Suggestions
In the TUFLOW CATCH control file (.tcc), ensure all devices are defined in their own blocks. For example:

Device == Device1
... Treatment Parameterisation Properties ...
End Device
Device == Device2
... Treatment Parameterisation Properties ...
End Device


Up
Go-up.png 5xxx Messages