serial terminal simulation screen

Randy5140

Member
Hello,,

just downloaded Editor Version 6.0.7.5

during simulation the terminal window keep throwing an error, "Cannot Close During Simulation"

see shot below,,

OH,, running MS Surface Pro 3 windows 8.1

didn't happen with previous editor install.


serial terminal simulation.JPG
 

Technical

Technical Support
Staff member
Nothing has changed in recent updates with regards the Serial Terminal.

Please can you explain the issue a bit more - are you attempting to close the serial terminal via a mouse click? If so this is not allowed during simulation, as it is required for the serout/sertxd command processing.
If you have 'Always On Top' off the Terminal will silently move behind the PE6 window, but will not close. If you have 'Always on top' on this is not possible, so you will see the meesage shown.
 

Randy5140

Member
I click on simulate
the simulation starts the terminal loads
the simulation runs for a few seconds
then the error message pops up.
I click OK on the error
the simulation continues to run,
in a few seconds the error message reappears.
this is not a big deal,, but i thought i should report it.
the simulation runs fine.
i have not recently installed any other software,
again, am running surface pro3 with windows 8.1
I will be working with it again this evening if anything changes I will let you know.

randy
 

hippy

Ex-Staff (retired)
I would guess it's your "SerTxd( "Hour HEX = ", hour, ... )" command with hour holding 0x03, whilst having 'Always On Top' and 'Close Terminal on ETX [03]' selected.
 

Randy5140

Member
yep,, just tracked it down here,,,

it would trip the error on this line of code: SERTXD ("DOW HEX= ",DOW," DOW NUM= ",#DOW,CR,LF) ,,,,, day of week was 3,

checked the settings on the terminal and found:

SETTINGS,
SPECIAL CONTROL CODE FUNCTIONS,
CLOSE SERIAL TERMINALON ETX [03]
close serial terminal on EXT[03] checked

unchecked and seems to work fine now.

sorry for all this,, just thought it was a bug and I should let someone know.

again, apologies!
 
Top