itasca.util.threeDEC_Connection Class Methods
-
class
itasca.util.
threeDEC_Connection
Launch and connect to 3DEC.
connect
() → None.Connect to Itasca software, read fishcode to confirm connection. Call this function to establish the socket connection after calling the start method to launch the code.
end
() → None.Close the socket connection.
receive
() → any.Read an item from the Itasca code.
send
(data: any) → None.Send an item to the Itasca code.
start
(datafile_name: str) → None.Launch Itasca software in a separate process, open the specified data file. The green execute button must be pressed in the Itasca software to start the calculation.
Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |