Tíquete #41036

How to use/read buffer characters in macro

: 2020-12-07 17:57 Última Atualização: 2020-12-07 18:05

Relator:
Dono:
(Nenhum)
Estado:
Fechado
Componente:
Marcos:
(Nenhum)
Prioridade:
8
Gravidade:
5 - Medium
Resolução:
Nenhum
Arquivo:
Nenhum
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

Where are the characters received from a host COM port (MCU) stored and how can i use them?

I found here: https://ttssh2.osdn.jp/manual/4/en/macro/command/flushrecv.html it says:

"Characters received from the host are transferred to MACRO. MACRO stores the characters in the buffer. Character-reading commands, such as the "wait" command, read out them from the buffer."

i tried using 'dispstr buffer' , but it shows me an error, that this variable does not exist. How can i read/use the buffer?

Ticket History (2/2 Histories)

2020-12-07 17:57 Updated by: basilisvirus
  • New Ticket "How to use/read buffer characters in macro" created
2020-12-07 18:05 Updated by: basilisvirus
  • Estado Update from Aberto to Fechado
Comentário

Found it.

Here: https://ttssh2.osdn.jp/manual/4/en/macro/command/waitln.html

It says: These commands return the received line in the system variable "inputstr"

Attachment File List

No attachments

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login