Ticket #41036

How to use/read buffer characters in macro

Date d'ouverture: 2020-12-07 17:57 Dernière mise à jour: 2020-12-07 18:05

Rapporteur:
Propriétaire:
(Aucun)
État:
Atteints
Composant:
Jalon:
(Aucun)
Priorité:
8
Sévérité:
5 - moyen
Résolution:
Aucun
Fichier:
Aucun
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Détails

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
  • État Update from Ouvert to Atteints
Commentaire

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

Modifier

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