From 8c86a3b6b5f7644b01171a1a5bd407f2da430783 Mon Sep 17 00:00:00 2001 From: Nikhar Abbas Date: Fri, 28 Aug 2020 14:04:18 -0600 Subject: [PATCH] Hardcode debug outname --- ROSCO_toolbox/control_interface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ROSCO_toolbox/control_interface.py b/ROSCO_toolbox/control_interface.py index 9aead937d..4dc6ea491 100644 --- a/ROSCO_toolbox/control_interface.py +++ b/ROSCO_toolbox/control_interface.py @@ -75,7 +75,8 @@ def __init__(self, lib_name, param_filename='DISCON.IN'): # Initialize DISCON and related self.aviFAIL = c_int32() # 1 self.accINFILE = self.param_name.encode('utf-8') - self.avcOUTNAME = create_string_buffer(1000) # 'DEMO'.encode('utf-8') + # self.avcOUTNAME = create_string_buffer(1000) # 'DEMO'.encode('utf-8') + self.avcOUTNAME = 'simDEBUG.dbg'.encode('utf-8') self.avcMSG = create_string_buffer(1000) self.discon.DISCON.argtypes = [POINTER(c_float), POINTER(c_int32), c_char_p, c_char_p, c_char_p] # (all defined by ctypes)