<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi<br>
<br>
Le 15/08/2017 à 14:38, Jonas a écrit :<br>
</div>
<blockquote
cite="mid:CALbJxT7v41pXa5659Ze5ebHWW0VxiG9Bf6qtYFsgDokXW7eKMQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div><span style="color:rgb(33,33,33);font-size:16px;white-space:pre-wrap">Hi, I'm having a problem with GUI / SERIAL / REALTIME.
.
After the serial is open, I can not close the serial by pressing the graphic button I created for this.</span></div>
</div>
</blockquote>
<br>
What does occur when you press this button?<br>
Did you try to add disp(serial) in close_serial() to see whether
close_serial() is actually called, and if the serial id is OK?<br>
<br>
Samuel<br>
<br>
</body>
</html>